New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@nativescript-community/ui-material-bottomnavigationbar

Package Overview
Dependencies
Maintainers
6
Versions
254
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nativescript-community/ui-material-bottomnavigationbar - npm Package Compare versions

Comparing version 4.0.6 to 4.0.8

angular/bundles/nativescript-community-ui-material-bottomnavigationbar-angular.umd.js

2

bottomnavigationbar.android.js

@@ -26,2 +26,3 @@ import { BottomNavigationBarBase, BottomNavigationTabBase, activeColorCssProperty, inactiveColorCssProperty, tabsProperty, titleVisibilityProperty } from './bottomnavigationbar-common';

OnTabSelectedlistenerImpl = __decorate([
NativeClass,
Interfaces([com.google.android.material.bottomnavigation.BottomNavigationView.OnNavigationItemSelectedListener]),

@@ -49,2 +50,3 @@ __metadata("design:paramtypes", [BottomNavigationBar])

OnTabReselectedListenerImpl = __decorate([
NativeClass,
Interfaces([com.google.android.material.bottomnavigation.BottomNavigationView.OnNavigationItemReselectedListener]),

@@ -51,0 +53,0 @@ __metadata("design:paramtypes", [BottomNavigationBar])

35

bottomnavigationbar.ios.js

@@ -0,16 +1,13 @@

var BottomNavigationBarDelegate_1;
import { themer } from '@nativescript-community/ui-material-core';
import { Application, Screen, Utils, backgroundColorProperty } from '@nativescript/core';
import { BottomNavigationBarBase, BottomNavigationTabBase, activeColorCssProperty, inactiveColorCssProperty, tabsProperty, titleVisibilityProperty } from './bottomnavigationbar-common';
var BottomNavigationBarDelegate = /** @class */ (function (_super) {
__extends(BottomNavigationBarDelegate, _super);
function BottomNavigationBarDelegate() {
return _super !== null && _super.apply(this, arguments) || this;
}
BottomNavigationBarDelegate.initWithOwner = function (owner) {
var delegate = BottomNavigationBarDelegate.new();
let BottomNavigationBarDelegate = BottomNavigationBarDelegate_1 = class BottomNavigationBarDelegate extends NSObject {
static initWithOwner(owner) {
const delegate = BottomNavigationBarDelegate_1.new();
delegate._owner = new WeakRef(owner);
return delegate;
};
BottomNavigationBarDelegate.prototype.bottomNavigationBarDidSelectItem = function (navigationBar, item) {
var owner = this._owner.get();
}
bottomNavigationBarDidSelectItem(navigationBar, item) {
const owner = this._owner.get();
if (!owner) {

@@ -24,9 +21,9 @@ return;

owner._emitTabSelected(item.tag);
};
BottomNavigationBarDelegate.prototype.bottomNavigationBarShouldSelectItem = function (bottomNavigationBar, item) {
var owner = this._owner.get();
}
bottomNavigationBarShouldSelectItem(bottomNavigationBar, item) {
const owner = this._owner.get();
if (!owner) {
return true;
}
var bottomNavigationTab = owner.items[item.tag];
const bottomNavigationTab = owner.items[item.tag];
if (!bottomNavigationTab.isSelectable) {

@@ -36,6 +33,8 @@ owner._emitTabPressed(item.tag);

return bottomNavigationTab.isSelectable;
};
BottomNavigationBarDelegate.ObjCProtocols = [MDCBottomNavigationBarDelegate];
return BottomNavigationBarDelegate;
}(NSObject));
}
};
BottomNavigationBarDelegate.ObjCProtocols = [MDCBottomNavigationBarDelegate];
BottomNavigationBarDelegate = BottomNavigationBarDelegate_1 = __decorate([
NativeClass
], BottomNavigationBarDelegate);
{

@@ -42,0 +41,0 @@ }

@@ -6,2 +6,13 @@ # Change Log

## [4.0.8](https://github.com/Akylas/nativescript-material-components/compare/v4.0.6...v4.0.8) (2020-08-15)
### Bug Fixes
* **angular:** v10 build scripting works now ([#167](https://github.com/Akylas/nativescript-material-components/issues/167)) ([05c2cb4](https://github.com/Akylas/nativescript-material-components/commit/05c2cb4b79ab6239dc4b4ee5084fed94d53e1920))
## [4.0.6](https://github.com/Akylas/nativescript-material-components/compare/v4.0.5...v4.0.6) (2020-08-08)

@@ -8,0 +19,0 @@

{
"name": "@nativescript-community/ui-material-bottomnavigationbar",
"version": "4.0.6",
"version": "4.0.8",
"description": "NativeScript plugin to add a bottom navigation bar component for Android & iOS",

@@ -45,5 +45,5 @@ "main": "bottomnavigationbar",

"dependencies": {
"@nativescript-community/ui-material-core": "^4.0.6"
"@nativescript-community/ui-material-core": "^4.0.8"
},
"gitHead": "39d3473799a4b61e6658c3b12d33b037978df80c"
"gitHead": "28738301ad876f23fa533ca7e9e89f66db8b0e7e"
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc