ember-tribe 2.4.6 → 2.4.8

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.
@@ -1,29 +1,52 @@
1
- <!DOCTYPE html>
1
+ <!doctype html>
2
2
  <html>
3
3
  <head>
4
- <meta charset="utf-8">
4
+ <meta charset="utf-8" />
5
5
  <title><%= classifiedPackageName %></title>
6
- <meta name="description" content="">
7
- <meta name="viewport" content="width=device-width, initial-scale=1">
6
+ <meta name="description" content="" />
7
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
8
8
 
9
9
  {{content-for "head"}}
10
10
 
11
- <link rel="manifest" href="{{rootURL}}manifest.webmanifest">
12
- <meta name="msapplication-config" content="{{rootURL}}browserconfig.xml">
11
+ <link rel="manifest" href="{{rootURL}}manifest.webmanifest" />
12
+ <meta name="msapplication-config" content="{{rootURL}}browserconfig.xml" />
13
13
 
14
- <link integrity="" rel="stylesheet" href="{{rootURL}}assets/vendor.css">
15
- <link integrity="" rel="stylesheet" href="{{rootURL}}assets/<%= dasherizedPackageName %>.css">
16
- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/css/all.min.css">
14
+ <link integrity="" rel="stylesheet" href="{{rootURL}}assets/vendor.css" />
15
+ <link
16
+ integrity=""
17
+ rel="stylesheet"
18
+ href="{{rootURL}}assets/<%= dasherizedPackageName %>.css"
19
+ />
20
+ <link
21
+ rel="stylesheet"
22
+ href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css"
23
+ />
17
24
 
18
25
  {{content-for "head-footer"}}
19
26
  </head>
20
27
  <body>
28
+ <div
29
+ class="d-flex align-items-center justify-content-center vh-100 w-100 position-fixed animate__animated animate__fadeIn animate__faster"
30
+ id="loading"
31
+ style="z-index: 11001"
32
+ >
33
+ <div class="position-relative" role="status" style="z-index: 1">
34
+ <div class="spinner-grow text-primary" role="status">
35
+ <span class="visually-hidden">Loading...</span>
36
+ </div>
37
+ </div>
38
+ <div
39
+ style="z-index: 0"
40
+ class="position-absolute vh-100 w-100 bg-light opacity-75"
41
+ ></div>
42
+ </div>
43
+
21
44
  {{content-for "body"}}
22
45
 
23
- <script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.2/js/all.min.js"></script>
46
+ <script src="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/js/all.min.js"></script>
24
47
  <script src="{{rootURL}}assets/vendor.js"></script>
25
48
  <script src="{{rootURL}}assets/<%= dasherizedPackageName %>.js"></script>
26
-
49
+
27
50
  {{content-for "body-footer"}}
28
51
  </body>
29
52
  </html>
@@ -1,6 +1,8 @@
1
1
  import Route from '@ember/routing/route';
2
2
  import * as bootstrap from 'bootstrap';
3
3
  import { service } from '@ember/service';
4
+ import { later } from '@ember/runloop';
5
+ import { action } from '@ember/object';
4
6
 
5
7
  export default class ApplicationRoute extends Route {
6
8
  @service types;
@@ -8,4 +10,20 @@ export default class ApplicationRoute extends Route {
8
10
  async beforeModel() {
9
11
  await this.types.fetchAgain();
10
12
  }
13
+
14
+ @action
15
+ didTransition() {
16
+ later(
17
+ this,
18
+ () => {
19
+ document.querySelector('#loading').classList.add('d-none');
20
+ },
21
+ 50,
22
+ );
23
+ }
24
+
25
+ @action
26
+ willTransition() {
27
+ document.querySelector('#loading').classList.remove('d-none');
28
+ }
11
29
  }
@@ -1,16 +1,16 @@
1
- /* STYLE GUIDE */
2
- //$font-family-sans-serif: "Helvetica Neue", sans-serif !default;
3
- //$display-font-family: "Helvetica Neue", sans-serif !default;
1
+ @import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');
4
2
 
5
- //$primary: #0000ff !default;
6
- //$secondary: #cccccc !default;
7
- //$success: #00ff00 !default;
8
- //$info: #00ffff !default;
9
- //$warning: #ffff00 !default;
10
- //$danger: #ff0000 !default;
11
- //$light: #eeeeee !default;
12
- //$dark: $333333 !default;
13
- /* /STYLE GUIDE */
3
+ $font-family-sans-serif: "IBM Plex Mono", serif !default;
4
+ $display-font-family: "IBM Plex Mono", serif !default;
5
+
6
+ $primary: #000000 !default;
7
+ $secondary: #cccccc !default;
8
+ $success: #00ff00 !default;
9
+ $info: #0000ff !default;
10
+ $warning: #ffff00 !default;
11
+ $danger: #ff0000 !default;
12
+ $light: #eeeeee !default;
13
+ $dark: #333333 !default;
14
14
 
15
15
  $enable-rounded: false !default;
16
16
  $enable-negative-margins: true !default;
@@ -36,8 +36,8 @@ $spacers: (
36
36
 
37
37
  .flame-bg {
38
38
  background: linear-gradient(0deg, rgba(153,51,153,1) 0%, rgba(255,51,153,1) 100%);
39
- background-color: rgba(0, 0, 0, 0);
40
- background-position-x: 0%;
39
+ background-color: rgba(0, 0, 0, 0);
40
+ background-position-x: 0%;
41
41
  background-position-y: 0%;
42
42
  background-repeat: repeat;
43
43
  background-attachment: scroll;
@@ -47,4 +47,4 @@ $spacers: (
47
47
  background-clip: border-box;
48
48
  height: 100vh;
49
49
  width: 100vw;
50
- }
50
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ember-tribe",
3
- "version": "2.4.6",
3
+ "version": "2.4.8",
4
4
  "description": "The default blueprint for using Tribe within EmberJS.",
5
5
  "keywords": [
6
6
  "ember-addon"