{"_id":"@aliadamovich/capacitor-navigation-bar","name":"@aliadamovich/capacitor-navigation-bar","dist-tags":{"latest":"0.0.1"},"versions":{"0.0.1":{"name":"@aliadamovich/capacitor-navigation-bar","version":"0.0.1","description":"Capacitor Plugin for Navigation Bar","main":"dist/plugin.cjs.js","module":"dist/esm/index.js","types":"dist/esm/index.d.ts","unpkg":"dist/plugin.js","private":false,"author":{"name":"aliadamovich"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/hugotomazi/navigation-bar.git"},"bugs":{"url":"https://github.com/hugotomazi/navigation-bar/issues"},"keywords":["capacitor","plugin","native","navigation","bar"],"scripts":{"verify":"npm run verify:ios && npm run verify:android && npm run verify:web","verify:ios":"cd ios && pod install && xcodebuild -workspace Plugin.xcworkspace -scheme Plugin && cd ..","verify:android":"cd android && ./gradlew clean build test && cd ..","verify:web":"npm run build","lint":"npm run eslint && npm run prettier -- --check && npm run swiftlint -- lint","fmt":"npm run eslint -- --fix && npm run prettier -- --write && npm run swiftlint -- autocorrect --format","eslint":"eslint . --ext ts","prettier":"prettier \"**/*.{css,html,ts,js,java}\" --plugin=prettier-plugin-java","swiftlint":"node-swiftlint","docgen":"docgen --api NavigationBarPlugin --output-readme README.md --output-json dist/docs.json","build":"npm run clean && npm run docgen && tsc && rollup -c rollup.config.mjs","clean":"rimraf ./dist","watch":"tsc --watch","prepublishOnly":"npm run build"},"devDependencies":{"@capacitor/android":"^7.0.0","@capacitor/core":"^7.0.0","@capacitor/docgen":"^0.3.0","@capacitor/ios":"^7.0.0","@ionic/eslint-config":"^0.4.0","@ionic/prettier-config":"^4.0.0","@ionic/swiftlint-config":"^2.0.0","eslint":"^8.57.0","prettier":"^3.4.2","prettier-plugin-java":"^2.6.6","rimraf":"^6.0.1","rollup":"^4.30.1","swiftlint":"^2.0.0","typescript":"~4.7.4"},"peerDependencies":{"@capacitor/core":">=7.0.0"},"prettier":"@ionic/prettier-config","swiftlint":"@ionic/swiftlint-config","eslintConfig":{"extends":"@ionic/eslint-config/recommended"},"capacitor":{"ios":{"src":"ios"},"android":{"src":"android"}},"_id":"@aliadamovich/capacitor-navigation-bar@0.0.1","gitHead":"bba0ac83afc16c17647c1c98158ead67edd66e3a","homepage":"https://github.com/hugotomazi/navigation-bar#readme","_nodeVersion":"20.10.0","_npmVersion":"10.2.3","dist":{"integrity":"sha512-7YBNV9bSZn4GszswIEnG2pzGz3S2atoCLMxnDplHGwog+UUYXivOv9swFHb22OcrxoW0/0PhwI83LCeF2lorlA==","shasum":"2238f99e75f812d3182ef3d1c3169dc69029055c","tarball":"https://registry.npmjs.org/@aliadamovich/capacitor-navigation-bar/-/capacitor-navigation-bar-0.0.1.tgz","fileCount":31,"unpackedSize":47255,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIB0F5CQnXC7qwUbRGb+MLUUUEhHmKH3vjIFLA2KzfkPBAiEAh3cyigaQl7M+2od920Rsv+fKxFh6zq51hDbQbTCm8iQ="}]},"_npmUser":{"name":"aliadamovich","email":"adamovich.dev@gmail.com"},"directories":{},"maintainers":[{"name":"aliadamovich","email":"adamovich.dev@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/capacitor-navigation-bar_0.0.1_1752679120979_0.8147809253479701"},"_hasShrinkwrap":false}},"time":{"created":"2025-07-16T15:18:40.915Z","0.0.1":"2025-07-16T15:18:41.145Z","modified":"2025-07-16T15:18:41.420Z"},"maintainers":[{"name":"aliadamovich","email":"adamovich.dev@gmail.com"}],"description":"Capacitor Plugin for Navigation Bar","homepage":"https://github.com/hugotomazi/navigation-bar#readme","keywords":["capacitor","plugin","native","navigation","bar"],"repository":{"type":"git","url":"git+https://github.com/hugotomazi/navigation-bar.git"},"author":{"name":"aliadamovich"},"bugs":{"url":"https://github.com/hugotomazi/navigation-bar/issues"},"license":"MIT","readme":"<p align=\"center\"><br><img src=\"https://user-images.githubusercontent.com/236501/85893648-1c92e880-b7a8-11ea-926d-95355b8175c7.png\" width=\"128\" height=\"128\" /></p>\n<h3 align=\"center\">Navigation Bar</h3>\n<p align=\"center\"><strong><code>@hugotomazi/capacitor-navigation-bar</code></strong></p>\n<p align=\"center\">\n This is a Capacitor 7-compatible fork of hugotomazi/navigation-bar, originally developed by hugotomazi. Original: https://www.npmjs.com/package/@hugotomazi/capacitor-navigation-bar\n</p>\n<p align=\"center\">\n  <img src=\"https://img.shields.io/maintenance/yes/2024?style=flat-square\" />\n  <a href=\"https://github.com/hugotomazi/navigation-bar/actions?query=workflow%3A%22CI%22\"><img src=\"https://img.shields.io/github/workflow/status/hugotomazi/navigation-bar/CI/master?style=flat-square\" /></a>\n  <a href=\"https://www.npmjs.com/package/@hugotomazi/capacitor-navigation-bar\"><img src=\"https://img.shields.io/npm/l/@hugotomazi/capacitor-navigation-bar?style=flat-square\" /></a>\n<br>\n  <a href=\"https://www.npmjs.com/package/@hugotomazi/capacitor-navigation-bar\"><img src=\"https://img.shields.io/npm/dw/@hugotomazi/capacitor-navigation-bar?style=flat-square\" /></a>\n  <a href=\"https://www.npmjs.com/package/@hugotomazi/capacitor-navigation-bar\"><img src=\"https://img.shields.io/npm/v/@hugotomazi/capacitor-navigation-bar?style=flat-square\" /></a>\n<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->\n<a href=\"#contributors-\"><img src=\"https://img.shields.io/badge/all%20contributors-5-orange?style=flat-square\" /></a>\n<!-- ALL-CONTRIBUTORS-BADGE:END -->\n<br/>\n<a href=\"https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=F9VPVZKHK4SZW\">\n  <img src=\"https://www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif\" alt=\"Donate with PayPal button\">\n</a>\n</p>\n<br/>\n<p align=\"center\">\n  <img height=\"450\" src=\"https://github.com/hugotomazi/navigation-bar/blob/master/demoProject/src/assets/example.gif?raw=true\">\n</p>\n\n## Maintainers\n\n| Maintainer  | GitHub                                      | Social                                                          |\n| ----------- | ------------------------------------------- | --------------------------------------------------------------- |\n| Hugo Tomazi | [hugotomazi](https://github.com/hugotomazi) | [@hugotomazi](https://br.linkedin.com/in/hugo-tomazi-299034101) |\n\n## Install\n\n```bash\nnpm install @hugotomazi/capacitor-navigation-bar\nnpx cap sync\n```\n\n## Configuration\n\nNo configuration required for this plugin.\n\n## API\n\n<docgen-index>\n\n* [`show()`](#show)\n* [`hide()`](#hide)\n* [`setColor(...)`](#setcolor)\n* [`setTransparency(...)`](#settransparency)\n* [`getColor()`](#getcolor)\n* [`addListener(NavigationBarPluginEvents.SHOW, ...)`](#addlistenernavigationbarplugineventsshow-)\n* [`addListener(NavigationBarPluginEvents.HIDE, ...)`](#addlistenernavigationbarplugineventshide-)\n* [`addListener(NavigationBarPluginEvents.COLOR_CHANGE, ...)`](#addlistenernavigationbarplugineventscolor_change-)\n* [Interfaces](#interfaces)\n* [Enums](#enums)\n\n</docgen-index>\n\n<docgen-api>\n<!--Update the source file JSDoc comments and rerun docgen to update the docs below-->\n\n### show()\n\n```typescript\nshow() => Promise<void>\n```\n\nDisplay the navigation bar.\n\n--------------------\n\n\n### hide()\n\n```typescript\nhide() => Promise<void>\n```\n\nHide the navigation bar.\n\n--------------------\n\n\n### setColor(...)\n\n```typescript\nsetColor(options: ColorParameters) => Promise<void>\n```\n\nChange the color of the navigation bar.\n*Support alpha hexadecimal numbers.\n\n| Param         | Type                                                        |\n| ------------- | ----------------------------------------------------------- |\n| **`options`** | <code><a href=\"#colorparameters\">ColorParameters</a></code> |\n\n--------------------\n\n\n### setTransparency(...)\n\n```typescript\nsetTransparency(options: { isTransparent: boolean; }) => Promise<void>\n```\n\nSet the Transparency\n\n| Param         | Type                                     |\n| ------------- | ---------------------------------------- |\n| **`options`** | <code>{ isTransparent: boolean; }</code> |\n\n--------------------\n\n\n### getColor()\n\n```typescript\ngetColor() => Promise<{ color: string; }>\n```\n\nGets the current color of the navigation bar in Hexadecimal.\n\n**Returns:** <code>Promise&lt;{ color: string; }&gt;</code>\n\n--------------------\n\n\n### addListener(NavigationBarPluginEvents.SHOW, ...)\n\n```typescript\naddListener(event: NavigationBarPluginEvents.SHOW, listenerFunc: () => void) => Promise<PluginListenerHandle>\n```\n\nEvent fired after navigation bar is displayed\n\n| Param              | Type                                                                                 | Description |\n| ------------------ | ------------------------------------------------------------------------------------ | ----------- |\n| **`event`**        | <code><a href=\"#navigationbarpluginevents\">NavigationBarPluginEvents.SHOW</a></code> | The event   |\n| **`listenerFunc`** | <code>() =&gt; void</code>                                                           | Callback    |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt;</code>\n\n--------------------\n\n\n### addListener(NavigationBarPluginEvents.HIDE, ...)\n\n```typescript\naddListener(event: NavigationBarPluginEvents.HIDE, listenerFunc: () => void) => Promise<PluginListenerHandle>\n```\n\nEvent fired after navigation bar is hidden\n\n| Param              | Type                                                                                 | Description |\n| ------------------ | ------------------------------------------------------------------------------------ | ----------- |\n| **`event`**        | <code><a href=\"#navigationbarpluginevents\">NavigationBarPluginEvents.HIDE</a></code> | The event   |\n| **`listenerFunc`** | <code>() =&gt; void</code>                                                           | Callback    |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt;</code>\n\n--------------------\n\n\n### addListener(NavigationBarPluginEvents.COLOR_CHANGE, ...)\n\n```typescript\naddListener(event: NavigationBarPluginEvents.COLOR_CHANGE, listenerFunc: (returnObject: { color: string; }) => void) => Promise<PluginListenerHandle>\n```\n\nEvent fired after navigation bar color is changed\n\n| Param              | Type                                                                                         | Description |\n| ------------------ | -------------------------------------------------------------------------------------------- | ----------- |\n| **`event`**        | <code><a href=\"#navigationbarpluginevents\">NavigationBarPluginEvents.COLOR_CHANGE</a></code> | The event   |\n| **`listenerFunc`** | <code>(returnObject: { color: string; }) =&gt; void</code>                                   | Callback    |\n\n**Returns:** <code>Promise&lt;<a href=\"#pluginlistenerhandle\">PluginListenerHandle</a>&gt;</code>\n\n--------------------\n\n\n### Interfaces\n\n\n#### ColorParameters\n\n| Prop              | Type                 | Description                                                               |\n| ----------------- | -------------------- | ------------------------------------------------------------------------- |\n| **`color`**       | <code>string</code>  | Sets the new color of the navigation bar.                                 |\n| **`darkButtons`** | <code>boolean</code> | Sets whether the default navigation bar buttons should be black or white. |\n\n\n#### PluginListenerHandle\n\n| Prop         | Type                                      |\n| ------------ | ----------------------------------------- |\n| **`remove`** | <code>() =&gt; Promise&lt;void&gt;</code> |\n\n\n### Enums\n\n\n#### NavigationBarPluginEvents\n\n| Members            | Value                        | Description                                  |\n| ------------------ | ---------------------------- | -------------------------------------------- |\n| **`SHOW`**         | <code>'onShow'</code>        | Called after the navigation bar is displayed |\n| **`HIDE`**         | <code>'onHide'</code>        | Called after navigation bar is hidden        |\n| **`COLOR_CHANGE`** | <code>'onColorChange'</code> | Called after navigation bar color is changed |\n\n</docgen-api>\n","readmeFilename":"README.md","_rev":"1-b0494ce33c8df07227ad4c68e2a1b290"}