@fishawack/lab-velocity 1.0.0 → 1.1.0

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/index.js CHANGED
@@ -29,4 +29,6 @@ export { default as BreadcrumbsItem } from "./navigation/BreadcrumbsItem.vue";
29
29
 
30
30
  export { default as Icon } from "./Icon.vue";
31
31
  export { default as Svg } from "./Svg.vue";
32
- export { default as Loader } from "./layout/Loader.vue";
32
+ export { default as Loader } from "./layout/Loader.vue";
33
+
34
+ export {authRoutes} from './AuthModule/js/routes.js';
@@ -0,0 +1,130 @@
1
+ // AuthModule
2
+ .AuthModule {
3
+ position: fixed;
4
+ background-color: black;
5
+ height: 100vh;
6
+ width: 100%;
7
+ background: url('../media/content/images/hero-login-large.jpg') center top no-repeat;
8
+ background-size: cover;
9
+ z-index: 10;
10
+ &:after {
11
+ position: absolute;
12
+ content: '';
13
+ top: 0;
14
+ left: 0;
15
+ width: 100%;
16
+ height: 100%;
17
+ background-image: radial-gradient(circle at 15% 105%, #00e677de, rgba(0, 230, 118, 0) 35%);
18
+ z-index: 0;
19
+ @include breakpoint (max-width $mobileMax) {
20
+ background-image: radial-gradient(circle at 15% 90%, #00e677de, rgba(0, 230, 118, 0) 50%);
21
+ }
22
+ }
23
+
24
+ .logo {
25
+ width: 13.3rem;
26
+ z-index: 99;
27
+ }
28
+ }
29
+
30
+ .AuthModule__form {
31
+ position: absolute;
32
+ top: 50%;
33
+ left: 50%;
34
+ transform: translate(-50%, -50%);
35
+ background-color: white;
36
+ min-width: 320px;
37
+ width: 460px;
38
+ padding: 48px 40px 40px;
39
+ z-index: 1;
40
+
41
+ @include breakpoint (max-width $mobileMax) {
42
+ top: 84px;
43
+ transform: translate(-50%, 0);
44
+ padding: 24px;
45
+ width: calc(100% - 80px);
46
+ .h2 {
47
+ font-size: 2.4rem;
48
+ line-height: 3.2rem;
49
+ }
50
+ }
51
+
52
+ h2, .h2 {
53
+ font-family: $font2;
54
+ line-height: 4.4rem;
55
+ }
56
+
57
+ p {
58
+ font-size: 1.4rem;
59
+ line-height: 2rem;
60
+ margin-bottom: 2rem;
61
+ letter-spacing: -0.1px;
62
+ &.disclaimer {
63
+ font-size: 1.2rem;
64
+ color: rgba($color1, 0.5);
65
+ margin: 0;
66
+ }
67
+ a {
68
+ color: $color1;
69
+ }
70
+ &.form__error {
71
+ font-size: 1.2rem;
72
+ line-height: 1.5;
73
+ }
74
+ }
75
+
76
+ .button {
77
+ max-width: 200px;
78
+ width: 200px;
79
+ @include breakpoint (max-width $mobileMax) {
80
+ max-width: unset;
81
+ width: 100%;
82
+ }
83
+ }
84
+
85
+ .form {
86
+ &.error {
87
+ .form__input {
88
+ .el-input__wrapper {
89
+ border: 0.2rem solid $color20;
90
+ }
91
+ }
92
+ .form__input.error {
93
+ border:none;
94
+ .el-input__wrapper {
95
+ border: 0.2rem solid $color10;
96
+ }
97
+ }
98
+ }
99
+ &__icon-container{
100
+ position: absolute;
101
+ top: 50%;
102
+ right: get-ratio($spacing * 1.5);
103
+ transform: translateY(-50%);
104
+ display: flex;
105
+ }
106
+ &__action-icon {
107
+ margin-left: get-ratio($spacing * 0.5);
108
+ cursor: pointer;
109
+ }
110
+ }
111
+ }
112
+
113
+ .AuthModule__logo__container {
114
+ position: absolute;
115
+ top:48px;
116
+ left:0%;
117
+ }
118
+ .AuthModule__logo {
119
+ position: relative;
120
+ }
121
+ .AuthModule__Content {
122
+ position: absolute;
123
+ z-index: 1;
124
+ top: 50%;
125
+ left: 50%;
126
+ transform: translate(-50%, -50%);
127
+ max-width: 1024px;
128
+ width: 100%;
129
+ height: 100%;
130
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fishawack/lab-velocity",
3
- "version": "1.0.0",
3
+ "version": "1.1.0",
4
4
  "description": "Avalere Health branded style system",
5
5
  "scripts": {
6
6
  "setup": "npm ci || npm i && npm run content",
@@ -13,7 +13,7 @@
13
13
  "mail": "npm run mail --prefix node_modules/@fishawack/core/",
14
14
  "story:dev": "histoire dev",
15
15
  "story:build": "histoire build",
16
- "preversion": "cp -r _Build/sass/** ./ && cp -r _Build/vue/components/** ./"
16
+ "preversion": "cp -r _Build/sass/** ./ && cp -r _Build/vue/components/** ./ && cp -r _Build/vue/modules/** ./"
17
17
  },
18
18
  "license": "BSD-3-Clause",
19
19
  "author": {
@@ -62,7 +62,8 @@
62
62
  "components",
63
63
  "layout",
64
64
  "navigation",
65
- "basic"
65
+ "basic",
66
+ "modules"
66
67
  ],
67
68
  "main": "index.js",
68
69
  "release": {