@nativescript-community/ui-material-bottom-navigation 7.0.22 → 7.0.25

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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,30 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [7.0.25](https://github.com/nativescript-community/ui-material-components/compare/v7.0.24...v7.0.25) (2022-07-19)
7
+
8
+ **Note:** Version bump only for package @nativescript-community/ui-material-bottom-navigation
9
+
10
+
11
+
12
+
13
+
14
+ ## [7.0.24](https://github.com/nativescript-community/ui-material-components/compare/v7.0.23...v7.0.24) (2022-06-24)
15
+
16
+ **Note:** Version bump only for package @nativescript-community/ui-material-bottom-navigation
17
+
18
+
19
+
20
+
21
+
22
+ ## [7.0.23](https://github.com/nativescript-community/ui-material-components/compare/v7.0.22...v7.0.23) (2022-06-23)
23
+
24
+ **Note:** Version bump only for package @nativescript-community/ui-material-bottom-navigation
25
+
26
+
27
+
28
+
29
+
6
30
  ## [7.0.22](https://github.com/nativescript-community/ui-material-components/compare/v7.0.21...v7.0.22) (2022-06-22)
7
31
 
8
32
  **Note:** Version bump only for package @nativescript-community/ui-material-bottom-navigation
package/index.ios.js CHANGED
@@ -78,17 +78,17 @@ var MDTabBarControllerImpl = /** @class */ (function (_super) {
78
78
  };
79
79
  return MDTabBarControllerImpl;
80
80
  }(UITabBarController));
81
- var UITabBarControllerDelegateImpl = /** @class */ (function (_super) {
82
- __extends(UITabBarControllerDelegateImpl, _super);
83
- function UITabBarControllerDelegateImpl() {
81
+ var BNTabBarControllerDelegateImpl = /** @class */ (function (_super) {
82
+ __extends(BNTabBarControllerDelegateImpl, _super);
83
+ function BNTabBarControllerDelegateImpl() {
84
84
  return _super !== null && _super.apply(this, arguments) || this;
85
85
  }
86
- UITabBarControllerDelegateImpl.initWithOwner = function (owner) {
87
- var delegate = UITabBarControllerDelegateImpl.alloc().init();
86
+ BNTabBarControllerDelegateImpl.initWithOwner = function (owner) {
87
+ var delegate = BNTabBarControllerDelegateImpl.alloc().init();
88
88
  delegate._owner = owner;
89
89
  return delegate;
90
90
  };
91
- UITabBarControllerDelegateImpl.prototype.tabBarControllerShouldSelectViewController = function (tabBarController, viewController) {
91
+ BNTabBarControllerDelegateImpl.prototype.tabBarControllerShouldSelectViewController = function (tabBarController, viewController) {
92
92
  // TODO
93
93
  // if (Trace.isEnabled()) {
94
94
  // Trace.write("TabView.delegate.SHOULD_select(" + tabBarController + ", " + viewController + ");", Trace.categories.Debug);
@@ -120,7 +120,7 @@ var UITabBarControllerDelegateImpl = /** @class */ (function (_super) {
120
120
  tabBarController._willSelectViewController = viewController;
121
121
  return true;
122
122
  };
123
- UITabBarControllerDelegateImpl.prototype.tabBarControllerDidSelectViewController = function (tabBarController, viewController) {
123
+ BNTabBarControllerDelegateImpl.prototype.tabBarControllerDidSelectViewController = function (tabBarController, viewController) {
124
124
  // TODO
125
125
  // if (Trace.isEnabled()) {
126
126
  // Trace.write("TabView.delegate.DID_select(" + tabBarController + ", " + viewController + ");", Trace.categories.Debug);
@@ -131,20 +131,20 @@ var UITabBarControllerDelegateImpl = /** @class */ (function (_super) {
131
131
  }
132
132
  tabBarController._willSelectViewController = undefined;
133
133
  };
134
- UITabBarControllerDelegateImpl.ObjCProtocols = [UITabBarControllerDelegate];
135
- return UITabBarControllerDelegateImpl;
134
+ BNTabBarControllerDelegateImpl.ObjCProtocols = [UITabBarControllerDelegate];
135
+ return BNTabBarControllerDelegateImpl;
136
136
  }(NSObject));
137
- var UINavigationControllerDelegateImpl = /** @class */ (function (_super) {
138
- __extends(UINavigationControllerDelegateImpl, _super);
139
- function UINavigationControllerDelegateImpl() {
137
+ var BNNavigationControllerDelegateImpl = /** @class */ (function (_super) {
138
+ __extends(BNNavigationControllerDelegateImpl, _super);
139
+ function BNNavigationControllerDelegateImpl() {
140
140
  return _super !== null && _super.apply(this, arguments) || this;
141
141
  }
142
- UINavigationControllerDelegateImpl.initWithOwner = function (owner) {
143
- var delegate = UINavigationControllerDelegateImpl.alloc().init();
142
+ BNNavigationControllerDelegateImpl.initWithOwner = function (owner) {
143
+ var delegate = BNNavigationControllerDelegateImpl.alloc().init();
144
144
  delegate._owner = owner;
145
145
  return delegate;
146
146
  };
147
- UINavigationControllerDelegateImpl.prototype.navigationControllerWillShowViewControllerAnimated = function (navigationController, viewController, animated) {
147
+ BNNavigationControllerDelegateImpl.prototype.navigationControllerWillShowViewControllerAnimated = function (navigationController, viewController, animated) {
148
148
  // TODO
149
149
  // if (Trace.isEnabled()) {
150
150
  // Trace.write("TabView.moreNavigationController.WILL_show(" + navigationController + ", " + viewController + ", " + animated + ");", Trace.categories.Debug);
@@ -157,7 +157,7 @@ var UINavigationControllerDelegateImpl = /** @class */ (function (_super) {
157
157
  owner._handleTwoNavigationBars(backToMoreWillBeVisible);
158
158
  }
159
159
  };
160
- UINavigationControllerDelegateImpl.prototype.navigationControllerDidShowViewControllerAnimated = function (navigationController, viewController, animated) {
160
+ BNNavigationControllerDelegateImpl.prototype.navigationControllerDidShowViewControllerAnimated = function (navigationController, viewController, animated) {
161
161
  // TODO
162
162
  // if (Trace.isEnabled()) {
163
163
  // Trace.write("TabView.moreNavigationController.DID_show(" + navigationController + ", " + viewController + ", " + animated + ");", Trace.categories.Debug);
@@ -169,8 +169,8 @@ var UINavigationControllerDelegateImpl = /** @class */ (function (_super) {
169
169
  owner._onViewControllerShown(viewController);
170
170
  }
171
171
  };
172
- UINavigationControllerDelegateImpl.ObjCProtocols = [UINavigationControllerDelegate];
173
- return UINavigationControllerDelegateImpl;
172
+ BNNavigationControllerDelegateImpl.ObjCProtocols = [UINavigationControllerDelegate];
173
+ return BNNavigationControllerDelegateImpl;
174
174
  }(NSObject));
175
175
  function updateBackgroundPositions(tabStrip, tabStripItem) {
176
176
  let bgView = tabStripItem.bgView;
@@ -247,8 +247,8 @@ let BottomNavigation = class BottomNavigation extends TabNavigationBase {
247
247
  }
248
248
  initNativeView() {
249
249
  super.initNativeView();
250
- this.mDelegate = UITabBarControllerDelegateImpl.initWithOwner(new WeakRef(this));
251
- this.mMoreNavigationControllerDelegate = UINavigationControllerDelegateImpl.initWithOwner(new WeakRef(this));
250
+ this.mDelegate = BNTabBarControllerDelegateImpl.initWithOwner(new WeakRef(this));
251
+ this.mMoreNavigationControllerDelegate = BNNavigationControllerDelegateImpl.initWithOwner(new WeakRef(this));
252
252
  if (!this.tabStrip) {
253
253
  this.viewController.tabBar.hidden = true;
254
254
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nativescript-community/ui-material-bottom-navigation",
3
- "version": "7.0.22",
3
+ "version": "7.0.25",
4
4
  "description": "Material Design Bottom Navigation bars allow movement between primary destinations in an app. Tapping on a bottom navigation icon takes you directly to the associated view or refreshes the currently active view.",
5
5
  "main": "bottomnavigation",
6
6
  "sideEffects": false,
@@ -51,8 +51,8 @@
51
51
  },
52
52
  "readmeFilename": "README.md",
53
53
  "dependencies": {
54
- "@nativescript-community/ui-material-core": "^7.0.22",
55
- "@nativescript-community/ui-material-core-tabs": "^7.0.22"
54
+ "@nativescript-community/ui-material-core": "^7.0.25",
55
+ "@nativescript-community/ui-material-core-tabs": "^7.0.25"
56
56
  },
57
- "gitHead": "d3e30fe263c4c0f4168c57d720d5ea413ca5df09"
57
+ "gitHead": "599b3197198993cb850c2bc3a15dab09c291e82b"
58
58
  }