Skip to content

Commit

Permalink
build(8.0.0): release 8.0.0 🚀
Browse files Browse the repository at this point in the history
updated to support angular 18.0.0+
updated the logo
fixed some dependencies
  • Loading branch information
AhsanAyaz committed Jun 12, 2024
1 parent 904817b commit 61ee577
Show file tree
Hide file tree
Showing 47 changed files with 2,990 additions and 1,555 deletions.
30 changes: 30 additions & 0 deletions CHANGE_LOG.MD
Original file line number Diff line number Diff line change
@@ -1,3 +1,33 @@
## 8.0.0 (2024-06-12)

* revert(package.json): revert the package version in favor of automation ([904817b](https://github.com/AhsanAyaz/ngx-device-detector/commit/904817b))
* bump v8 ([46218a0](https://github.com/AhsanAyaz/ngx-device-detector/commit/46218a0))
* ncu completed ([a292844](https://github.com/AhsanAyaz/ngx-device-detector/commit/a292844))
* ng update completed ([bbf115a](https://github.com/AhsanAyaz/ngx-device-detector/commit/bbf115a))
* ng update completed ([bb0c47c](https://github.com/AhsanAyaz/ngx-device-detector/commit/bb0c47c))
* ng update completed ([1358fb9](https://github.com/AhsanAyaz/ngx-device-detector/commit/1358fb9))
* packages update ([04d18c6](https://github.com/AhsanAyaz/ngx-device-detector/commit/04d18c6))
* project peerDependencies ([088af2c](https://github.com/AhsanAyaz/ngx-device-detector/commit/088af2c))
* fix(ci): fix ci token for ghpages ([3004442](https://github.com/AhsanAyaz/ngx-device-detector/commit/3004442))
* fix(demo): bump ngx-device-detector version to 7.x ([7cb3874](https://github.com/AhsanAyaz/ngx-device-detector/commit/7cb3874))



## 8.0.0 (2024-06-12)

* revert(package.json): revert the package version in favor of automation ([904817b](https://github.com/AhsanAyaz/ngx-device-detector/commit/904817b))
* bump v8 ([46218a0](https://github.com/AhsanAyaz/ngx-device-detector/commit/46218a0))
* ncu completed ([a292844](https://github.com/AhsanAyaz/ngx-device-detector/commit/a292844))
* ng update completed ([bbf115a](https://github.com/AhsanAyaz/ngx-device-detector/commit/bbf115a))
* ng update completed ([bb0c47c](https://github.com/AhsanAyaz/ngx-device-detector/commit/bb0c47c))
* ng update completed ([1358fb9](https://github.com/AhsanAyaz/ngx-device-detector/commit/1358fb9))
* packages update ([04d18c6](https://github.com/AhsanAyaz/ngx-device-detector/commit/04d18c6))
* project peerDependencies ([088af2c](https://github.com/AhsanAyaz/ngx-device-detector/commit/088af2c))
* fix(ci): fix ci token for ghpages ([3004442](https://github.com/AhsanAyaz/ngx-device-detector/commit/3004442))
* fix(demo): bump ngx-device-detector version to 7.x ([7cb3874](https://github.com/AhsanAyaz/ngx-device-detector/commit/7cb3874))



# [7.0.0](https://github.com/AhsanAyaz/ngx-device-detector/compare/v6.0.2...v7.0.0) (2023-11-16)


Expand Down
1 change: 1 addition & 0 deletions README.MD
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ Latest version available for each version of Angular
| 5.x.x | 15.x |
| 6.x.x | 16.x |
| 7.x.x | 17.x |
| 8.x.x | 18.x |

## Installation

Expand Down
2 changes: 1 addition & 1 deletion assets/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
172 changes: 121 additions & 51 deletions docs/classes/AppPage.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,61 @@
<link rel="stylesheet" href="../styles/Vagrant.css">
</head>
<body>

<div class="navbar navbar-default navbar-fixed-top visible-xs">
<a href="../" class="navbar-brand">ngx-device-detector</a>
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
<script>
// Blocking script to avoid flickering dark mode
// Dark mode toggle button
var useDark = window.matchMedia('(prefers-color-scheme: dark)');
var darkModeState = useDark.matches;
var $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
var $darkModeToggles = document.querySelectorAll('.dark-mode-switch');
var darkModeStateLocal = localStorage.getItem('compodoc_darkmode-state');

function checkToggle(check) {
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
$darkModeToggleSwitchers[i].checked = check;
}
}

function toggleDarkMode(state) {
if (window.localStorage) {
localStorage.setItem('compodoc_darkmode-state', state);
}

checkToggle(state);

const hasClass = document.body.classList.contains('dark');

if (state) {
for (var i = 0; i < $darkModeToggles.length; i++) {
$darkModeToggles[i].classList.add('dark');
}
if (!hasClass) {
document.body.classList.add('dark');
}
} else {
for (var i = 0; i < $darkModeToggles.length; i++) {
$darkModeToggles[i].classList.remove('dark');
}
if (hasClass) {
document.body.classList.remove('dark');
}
}
}

useDark.addEventListener('change', function (evt) {
toggleDarkMode(evt.matches);
});
if (darkModeStateLocal) {
darkModeState = darkModeStateLocal === 'true';
}
toggleDarkMode(darkModeState);
</script>

<div class="navbar navbar-default navbar-fixed-top d-md-none p-0">
<div class="d-flex">
<a href="../" class="navbar-brand">ngx-device-detector</a>
<button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
</div>
</div>

<div class="xs-menu menu" id="mobile-menu">
Expand All @@ -25,7 +76,7 @@

<div class="container-fluid main">
<div class="row main">
<div class="hidden-xs menu">
<div class="d-none d-md-block menu">
<compodoc-menu mode="normal"></compodoc-menu>
</div>
<!-- START CONTENT -->
Expand All @@ -44,21 +95,27 @@


<ol class="breadcrumb">
<li>Classes</li>
<li >AppPage</li>
<li class="breadcrumb-item">Classes</li>
<li class="breadcrumb-item" >AppPage</li>
</ol>

<ul class="nav nav-tabs" role="tablist">
<li class="active">
<a href="#info" role="tab" id="info-tab" data-toggle="tab" data-link="info">Info</a>
<li class="nav-item">
<a href="#info"
class="nav-link"
class="nav-link active"
role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
</li>
<li >
<a href="#source" role="tab" id="source-tab" data-toggle="tab" data-link="source">Source</a>
<li class="nav-item">
<a href="#source"
class="nav-link"

role="tab" id="source-tab" data-bs-toggle="tab" data-link="source">Source</a>
</li>
</ul>

<div class="tab-content">
<div class="tab-pane fade active in" id="c-info">
<div class="tab-pane fade active in" id="info">
<p class="comment">
<h3>File</h3>
</p>
Expand All @@ -71,7 +128,7 @@ <h3>File</h3>



<section>
<section data-compodoc="block-index">
<h3 id="index">Index</h3>
<table class="table table-sm table-bordered index-table">
<tbody>
Expand Down Expand Up @@ -110,7 +167,7 @@ <h6><b>Methods</b></h6>



<section>
<section data-compodoc="block-methods">

<h3 id="methods">
Methods
Expand All @@ -133,21 +190,21 @@ <h3 id="methods">
</tr>


<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="9"
class="link-to-prism">projects/demo/e2e/src/app.po.ts:9</a></div>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="9"
class="link-to-prism">projects/demo/e2e/src/app.po.ts:9</a></div>
</td>
</tr>


<tr>
<td class="col-md-4">

<div class="io-description">
<b>Returns : </b> <code>wdpromise.Promise&lt;any&gt;</code>
<div class="io-description">
<b>Returns : </b> <code>wdpromise.Promise&lt;any&gt;</code>

</div>
</div>
</td>
</tr>
</tbody>
Expand All @@ -170,21 +227,21 @@ <h3 id="methods">
</tr>


<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="13"
class="link-to-prism">projects/demo/e2e/src/app.po.ts:13</a></div>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="13"
class="link-to-prism">projects/demo/e2e/src/app.po.ts:13</a></div>
</td>
</tr>


<tr>
<td class="col-md-4">

<div class="io-description">
<b>Returns : </b> <code>ElementArrayFinder</code>
<div class="io-description">
<b>Returns : </b> <code>ElementArrayFinder</code>

</div>
</div>
</td>
</tr>
</tbody>
Expand All @@ -207,21 +264,21 @@ <h3 id="methods">
</tr>


<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="17"
class="link-to-prism">projects/demo/e2e/src/app.po.ts:17</a></div>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="17"
class="link-to-prism">projects/demo/e2e/src/app.po.ts:17</a></div>
</td>
</tr>


<tr>
<td class="col-md-4">

<div class="io-description">
<b>Returns : </b> <code>wdpromise.Promise&lt;any&gt;</code>
<div class="io-description">
<b>Returns : </b> <code>wdpromise.Promise&lt;any&gt;</code>

</div>
</div>
</td>
</tr>
</tbody>
Expand All @@ -244,21 +301,21 @@ <h3 id="methods">
</tr>


<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="5"
class="link-to-prism">projects/demo/e2e/src/app.po.ts:5</a></div>
</td>
</tr>
<tr>
<td class="col-md-4">
<div class="io-line">Defined in <a href="" data-line="5"
class="link-to-prism">projects/demo/e2e/src/app.po.ts:5</a></div>
</td>
</tr>


<tr>
<td class="col-md-4">

<div class="io-description">
<b>Returns : </b> <code>wdpromise.Promise&lt;any&gt;</code>
<div class="io-description">
<b>Returns : </b> <code>wdpromise.Promise&lt;any&gt;</code>

</div>
</div>
</td>
</tr>
</tbody>
Expand All @@ -272,7 +329,7 @@ <h3 id="methods">
</div>


<div class="tab-pane fade tab-source-code" id="c-source">
<div class="tab-pane fade tab-source-code" id="source">
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { browser, by, element, ElementArrayFinder } from &#x27;protractor&#x27;;
import { promise as wdpromise } from &#x27;selenium-webdriver&#x27;;

Expand Down Expand Up @@ -335,6 +392,19 @@ <h1 class="search-results-title">No results matching "<span class='search-query'
var MAX_SEARCH_RESULTS = 15;
</script>

<script>
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
checkToggle(darkModeState);
if ($darkModeToggleSwitchers.length > 0) {
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
darkModeState = !darkModeState;
toggleDarkMode(darkModeState);
});
}
}
</script>

<script src="../js/libs/custom-elements.min.js"></script>
<script src="../js/libs/lit-html.js"></script>

Expand Down
Loading

0 comments on commit 61ee577

Please sign in to comment.