Skip to content

Commit 7a09b05

Browse files
committed
publishing patch version 2.0.8
1 parent 639477e commit 7a09b05

File tree

11 files changed

+85
-24
lines changed

11 files changed

+85
-24
lines changed

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "angular-base-apps",
3-
"version": "2.0.7",
3+
"version": "2.0.8",
44
"main": [
55
"scss/base.scss",
66
"dist/js/base-apps.js"

dist/css/base-apps.css

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10783,6 +10783,16 @@ meter {
1078310783
position: fixed !important; }
1078410784
.static-notification, .static-notification h1, .static-notification h2, .static-notification h3, .static-notification h4, .static-notification h5, .static-notification h6 {
1078510785
color: white; }
10786+
.static-notification.default-position {
10787+
width: 25rem;
10788+
right: 1rem;
10789+
top: 1rem; }
10790+
@media only screen and (min-width: 0em) and (max-width: 39.9375rem) {
10791+
.static-notification.default-position {
10792+
width: auto;
10793+
left: 1rem;
10794+
right: 1rem;
10795+
margin-left: 0; } }
1078610796
.static-notification.top-right {
1078710797
width: 25rem;
1078810798
right: 1rem;
@@ -10883,6 +10893,16 @@ meter {
1088310893
left: 1rem;
1088410894
right: 1rem;
1088510895
margin-left: 0; } }
10896+
.notification-container.default-position {
10897+
width: 25rem;
10898+
right: 1rem;
10899+
top: 1rem; }
10900+
@media only screen and (min-width: 0em) and (max-width: 39.9375rem) {
10901+
.notification-container.default-position {
10902+
width: auto;
10903+
left: 1rem;
10904+
right: 1rem;
10905+
margin-left: 0; } }
1088610906
.notification-container.top-right {
1088710907
width: 25rem;
1088810908
right: 1rem;

dist/css/base-apps.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/docs/assets/css/app.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/docs/assets/js/app.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/docs/partials/global-nav.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<nav class="global-nav">
22
<ul class="title-area">
33
<li class="name">
4-
<h1><a><strong>Angular Base Apps 2.0.7</strong></a></h1>
4+
<h1><a><strong>Angular Base Apps 2.0.8</strong></a></h1>
55
</li>
66
</ul>
77
<ul class="right">

dist/docs/templates/changelog.html

Lines changed: 36 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -53,12 +53,41 @@ <h4>Docs</h4>
5353
5454
<hr>
5555
-->
56+
<h3>Version 2.0.8</h3>
57+
58+
<h4>Bug Fixes</h4>
59+
60+
<ul>
61+
<li><a href="https://github.com/base-apps/angular-base-apps/issues/89">#89</a>: Fix default notification positioning</li>
62+
<li><a href="https://github.com/base-apps/angular-base-apps/issues/87">#87</a>: <code>ba-swipe-close</code> breaks touch scrolling</li>
63+
</ul>
64+
65+
<h4>Docs</h4>
66+
67+
<a href="https://base-apps.github.io/angular-base-apps/v2.0.6">https://base-apps.github.io/angular-base-apps/v2.0.8</a>
68+
69+
<hr>
70+
71+
<h3>Version 2.0.7</h3>
72+
73+
<h4>Bug Fixes</h4>
74+
75+
<ul>
76+
<li>Add missing dependency injection to <code>ba-modal</code> directive</li>
77+
</ul>
78+
79+
<h4>Docs</h4>
80+
81+
<a href="https://base-apps.github.io/angular-base-apps/v2.0.6">https://base-apps.github.io/angular-base-apps/v2.0.7</a>
82+
83+
<hr>
84+
5685
<h3>Version 2.0.6</h3>
5786

5887
<h4>Bug Fixes</h4>
5988

6089
<ul>
61-
<li><a href="https://github.com/base-apps/angular-base-apps/issues/84">#84</a>: Remove <code>angular-ui-router</code> from index.js
90+
<li><a href="https://github.com/base-apps/angular-base-apps/issues/84">#84</a>: Remove <code>angular-ui-router</code> from index.js</li>
6291
</ul>
6392

6493
<h4>Docs</h4>
@@ -72,8 +101,8 @@ <h3>Version 2.0.5</h3>
72101
<h4>Bug Fixes</h4>
73102

74103
<ul>
75-
<li><a href="https://github.com/base-apps/angular-base-apps/issues/83">#83</a>: Fix <code>*-grid-block</code> transformations
76-
<li><a href="https://github.com/base-apps/angular-base-apps/issues/84">#84</a>: Move <code>angular-ui-router</code> to devDependencies
104+
<li><a href="https://github.com/base-apps/angular-base-apps/issues/83">#83</a>: Fix <code>*-grid-block</code> transformations</li>
105+
<li><a href="https://github.com/base-apps/angular-base-apps/issues/84">#84</a>: Move <code>angular-ui-router</code> to devDependencies</li>
77106
</ul>
78107

79108
<h4>Docs</h4>
@@ -87,7 +116,7 @@ <h3>Version 2.0.4</h3>
87116
<h4>Bug Fixes</h4>
88117

89118
<ul>
90-
<li><a href="https://github.com/base-apps/angular-base-apps/issues/80">#80</a>: Enable adding <code>ba-advise</code> support to modals created with <code>ModalFactory</code>
119+
<li><a href="https://github.com/base-apps/angular-base-apps/issues/80">#80</a>: Enable adding <code>ba-advise</code> support to modals created with <code>ModalFactory</code></li>
91120
</ul>
92121

93122
<h4>Docs</h4>
@@ -99,7 +128,7 @@ <h3>Version 2.0.3</h3>
99128
<h4>Bug Fixes</h4>
100129

101130
<ul>
102-
<li><a href="https://github.com/base-apps/angular-base-apps/issues/72">#72</a>: Fix links used inside <code>ba-close</code>, <code>ba-open</code>, <code>ba-toggle</code>, and <code>ba-hard-toggle</code>
131+
<li><a href="https://github.com/base-apps/angular-base-apps/issues/72">#72</a>: Fix links used inside <code>ba-close</code>, <code>ba-open</code>, <code>ba-toggle</code>, and <code>ba-hard-toggle</code></li>
103132
</ul>
104133

105134
<h4>Docs</h4>
@@ -111,7 +140,7 @@ <h3>Version 2.0.2</h3>
111140
<h4>Bug Fixes</h4>
112141

113142
<ul>
114-
<li><a href="https://github.com/base-apps/angular-base-apps/issues/74">#74</a>: Support <code>import</code> for ES6 templates
143+
<li><a href="https://github.com/base-apps/angular-base-apps/issues/74">#74</a>: Support <code>import</code> for ES6 templates</li>
115144
</ul>
116145

117146
<h4>Docs</h4>
@@ -123,7 +152,7 @@ <h3>Version 2.0.1</h3>
123152
<h4>Bug Fixes</h4>
124153

125154
<ul>
126-
<li><a href="https://github.com/base-apps/angular-base-apps/issues/71">#71</a>: Update <code>npm</code> dependencies to match <code>bower</code> dependencies
155+
<li><a href="https://github.com/base-apps/angular-base-apps/issues/71">#71</a>: Update <code>npm</code> dependencies to match <code>bower</code> dependencies</li>
127156
</ul>
128157

129158
<h4>Docs</h4>

dist/docs/templates/installation.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@ <h3>CDN</h3>
5252

5353
<hljs language="html">
5454
<!-- CSS -->
55-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/angular-base-apps/2.0.7/base-apps.css">
56-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/angular-base-apps/2.0.7/base-apps.min.css">
55+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/angular-base-apps/2.0.8/base-apps.css">
56+
<link rel="stylesheet" href="https://cdn.jsdelivr.net/angular-base-apps/2.0.8/base-apps.min.css">
5757

5858
<!-- JavaScript -->
59-
<script src="https://cdn.jsdelivr.net/angular-base-apps/2.0.7/base-apps.js"></script>
60-
<script src="https://cdn.jsdelivr.net/angular-base-apps/2.0.7/base-apps.min.js"></script>
59+
<script src="https://cdn.jsdelivr.net/angular-base-apps/2.0.8/base-apps.js"></script>
60+
<script src="https://cdn.jsdelivr.net/angular-base-apps/2.0.8/base-apps.min.js"></script>
6161
</hljs>
6262

6363
</section>

dist/js/base-apps.js

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1289,9 +1289,21 @@
12891289
element.on('click', function(e) {
12901290
var tar = e.target, avoid, activeElements, closedElements, i;
12911291

1292-
// check if clicked target is designated to open/close another component
1292+
// check if clicked target or any of its ancestors is designated to open/close
1293+
// another component
12931294
avoid = ['ba-toggle', 'ba-hard-toggle', 'ba-open', 'ba-close'].filter(function(e){
1294-
return e in tar.attributes;
1295+
var parentElement = tar, hasAttr = false;
1296+
1297+
while (parentElement && typeof(parentElement.getAttribute) === 'function') {
1298+
var attrVal = parentElement.getAttribute(e);
1299+
if (typeof(attrVal) !== 'undefined' && attrVal !== null) {
1300+
hasAttr = true;
1301+
break;
1302+
}
1303+
parentElement = parentElement.parentNode;
1304+
}
1305+
1306+
return hasAttr;
12951307
});
12961308
if(avoid.length > 0) {
12971309
// do nothing
@@ -2206,7 +2218,7 @@
22062218
return directive;
22072219

22082220
function link(scope, element, attrs, controller) {
2209-
scope.position = scope.position ? scope.position.split(' ').join('-') : 'top-right';
2221+
scope.position = scope.position ? scope.position.split(' ').join('-') : 'default-position';
22102222

22112223
scope.$on("$destroy", function() {
22122224
BaseAppsApi.unsubscribe(attrs.id);
@@ -2362,7 +2374,7 @@
23622374
}
23632375

23642376
function postLink(scope, element, attrs, controller) {
2365-
scope.position = attrs.position ? attrs.position.split(' ').join('-') : 'top-right';
2377+
scope.position = attrs.position ? attrs.position.split(' ').join('-') : 'default-position';
23662378

23672379
var animationIn = attrs.animationIn || 'fadeIn';
23682380
var animationOut = attrs.animationOut || 'fadeOut';

dist/js/base-apps.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)