common-header-lib 0.0.20 → 0.0.21
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/README.md +24 -24
- package/assets/images/check.svg +3 -0
- package/assets/images/copy.svg +3 -0
- package/assets/scss/_sidebar.scss +16 -26
- package/assets/scss/styles.scss +577 -577
- package/esm2020/lib/common-header-lib.component.mjs +2 -2
- package/esm2020/lib/common-header-lib.module.mjs +5 -1
- package/esm2020/lib/common-header-lib.service.mjs +1 -1
- package/esm2020/lib/components/confirm-dialog/confirm-dialog.component.mjs +3 -3
- package/esm2020/lib/components/user-sidebar/user-sidebar.component.mjs +26 -6
- package/esm2020/public-api.mjs +1 -1
- package/fesm2015/common-header-lib.mjs +35 -11
- package/fesm2015/common-header-lib.mjs.map +1 -1
- package/fesm2020/common-header-lib.mjs +35 -11
- package/fesm2020/common-header-lib.mjs.map +1 -1
- package/lib/common-header-lib.module.d.ts +11 -10
- package/lib/components/user-sidebar/user-sidebar.component.d.ts +2 -0
- package/package.json +1 -1
- package/src/assets/images/check.svg +3 -0
- package/src/assets/images/copy.svg +3 -0
- package/src/assets/scss/_sidebar.scss +16 -26
- package/src/assets/scss/styles.scss +577 -577
package/README.md
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
# CommonHeaderLib
|
|
2
|
-
|
|
3
|
-
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 14.2.0.
|
|
4
|
-
|
|
5
|
-
## Code scaffolding
|
|
6
|
-
|
|
7
|
-
Run `ng generate component component-name --project common-header-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project common-header-lib`.
|
|
8
|
-
> Note: Don't forget to add `--project common-header-lib` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
-
|
|
10
|
-
## Build
|
|
11
|
-
|
|
12
|
-
Run `ng build common-header-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
-
|
|
14
|
-
## Publishing
|
|
15
|
-
|
|
16
|
-
After building your library with `ng build common-header-lib`, go to the dist folder `cd dist/common-header-lib` and run `npm publish`.
|
|
17
|
-
|
|
18
|
-
## Running unit tests
|
|
19
|
-
|
|
20
|
-
Run `ng test common-header-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
-
|
|
22
|
-
## Further help
|
|
23
|
-
|
|
24
|
-
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
|
1
|
+
# CommonHeaderLib
|
|
2
|
+
|
|
3
|
+
This library was generated with [Angular CLI](https://github.com/angular/angular-cli) version 14.2.0.
|
|
4
|
+
|
|
5
|
+
## Code scaffolding
|
|
6
|
+
|
|
7
|
+
Run `ng generate component component-name --project common-header-lib` to generate a new component. You can also use `ng generate directive|pipe|service|class|guard|interface|enum|module --project common-header-lib`.
|
|
8
|
+
> Note: Don't forget to add `--project common-header-lib` or else it will be added to the default project in your `angular.json` file.
|
|
9
|
+
|
|
10
|
+
## Build
|
|
11
|
+
|
|
12
|
+
Run `ng build common-header-lib` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
13
|
+
|
|
14
|
+
## Publishing
|
|
15
|
+
|
|
16
|
+
After building your library with `ng build common-header-lib`, go to the dist folder `cd dist/common-header-lib` and run `npm publish`.
|
|
17
|
+
|
|
18
|
+
## Running unit tests
|
|
19
|
+
|
|
20
|
+
Run `ng test common-header-lib` to execute the unit tests via [Karma](https://karma-runner.github.io).
|
|
21
|
+
|
|
22
|
+
## Further help
|
|
23
|
+
|
|
24
|
+
To get more help on the Angular CLI use `ng help` or go check out the [Angular CLI Overview and Command Reference](https://angular.io/cli) page.
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
<svg width="16" height="16" viewBox="0 0 16 16" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<path d="M5 2H9.73333C11.2268 2 11.9735 2 12.544 2.29065C13.0457 2.54631 13.4537 2.95426 13.7093 3.45603C14 4.02646 14 4.77319 14 6.26667V11M4.13333 14H9.53333C10.2801 14 10.6535 14 10.9387 13.8547C11.1895 13.7269 11.3935 13.5229 11.5213 13.272C11.6667 12.9868 11.6667 12.6134 11.6667 11.8667V6.46667C11.6667 5.71993 11.6667 5.34656 11.5213 5.06135C11.3935 4.81046 11.1895 4.60649 10.9387 4.47866C10.6535 4.33333 10.2801 4.33333 9.53333 4.33333H4.13333C3.3866 4.33333 3.01323 4.33333 2.72801 4.47866C2.47713 4.60649 2.27315 4.81046 2.14533 5.06135C2 5.34656 2 5.71993 2 6.46667V11.8667C2 12.6134 2 12.9868 2.14533 13.272C2.27315 13.5229 2.47713 13.7269 2.72801 13.8547C3.01323 14 3.3866 14 4.13333 14Z" stroke="#676879" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
3
|
+
</svg>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.modal-dialog.sidebar-outer{
|
|
1
|
+
.modal-dialog.sidebar-outer {
|
|
2
2
|
transition: none !important;
|
|
3
3
|
transform: none !important;
|
|
4
4
|
float: left;
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
height: 100vh;
|
|
12
12
|
position: static;
|
|
13
13
|
}
|
|
14
|
-
.sidebar-container{
|
|
14
|
+
.sidebar-container {
|
|
15
15
|
// width: 520px;
|
|
16
16
|
width: 420px;
|
|
17
17
|
position: fixed;
|
|
@@ -24,17 +24,15 @@
|
|
|
24
24
|
-moz-transition: all 0.3s ease;
|
|
25
25
|
background-color: var(--white);
|
|
26
26
|
}
|
|
27
|
-
.modal.show{
|
|
28
|
-
|
|
29
|
-
.sidebar-container{
|
|
27
|
+
.modal.show {
|
|
28
|
+
.sidebar-container {
|
|
30
29
|
right: 0px;
|
|
31
30
|
}
|
|
32
31
|
}
|
|
33
|
-
.moonIcon{
|
|
32
|
+
.moonIcon {
|
|
34
33
|
display: none;
|
|
35
34
|
}
|
|
36
|
-
.sidebar-footer{
|
|
37
|
-
|
|
35
|
+
.sidebar-footer {
|
|
38
36
|
padding: $padding-medium;
|
|
39
37
|
position: absolute;
|
|
40
38
|
right: 0px;
|
|
@@ -49,36 +47,30 @@
|
|
|
49
47
|
padding-top: $padding-top-medium;
|
|
50
48
|
}
|
|
51
49
|
}
|
|
52
|
-
.sidebar-outer{
|
|
53
|
-
|
|
50
|
+
.sidebar-outer {
|
|
54
51
|
height: 100vh;
|
|
55
52
|
|
|
56
|
-
.sidebar-header{
|
|
57
|
-
|
|
53
|
+
.sidebar-header {
|
|
58
54
|
padding: 12px 15px;
|
|
59
55
|
background-color: var(--grey-background);
|
|
60
56
|
|
|
61
|
-
.sh-top{
|
|
62
|
-
|
|
57
|
+
.sh-top {
|
|
63
58
|
display: flex;
|
|
64
59
|
align-items: center;
|
|
65
60
|
justify-content: space-between;
|
|
66
61
|
|
|
67
|
-
button{
|
|
62
|
+
button {
|
|
68
63
|
height: 24px;
|
|
69
64
|
}
|
|
70
65
|
|
|
71
|
-
.sh-top-left{
|
|
72
|
-
|
|
73
|
-
.common-btn{
|
|
66
|
+
.sh-top-left {
|
|
67
|
+
.common-btn {
|
|
74
68
|
padding-left: 0px;
|
|
75
69
|
}
|
|
76
70
|
}
|
|
77
71
|
}
|
|
78
72
|
|
|
79
|
-
|
|
80
|
-
.sh-bottom-content{
|
|
81
|
-
|
|
73
|
+
.sh-bottom-content {
|
|
82
74
|
// margin-top: 12px;
|
|
83
75
|
// position: relative;
|
|
84
76
|
padding-left: 14px !important;
|
|
@@ -101,21 +93,19 @@
|
|
|
101
93
|
align-items: center;
|
|
102
94
|
// margin-top: 8px;
|
|
103
95
|
|
|
104
|
-
span{
|
|
96
|
+
span {
|
|
105
97
|
font-size: 20px;
|
|
106
98
|
position: relative;
|
|
107
99
|
top: -1px;
|
|
108
100
|
}
|
|
109
101
|
}
|
|
110
102
|
|
|
111
|
-
h4{
|
|
103
|
+
h4 {
|
|
112
104
|
// margin-bottom: 8px !important;
|
|
113
105
|
}
|
|
114
|
-
|
|
115
106
|
}
|
|
116
107
|
}
|
|
117
108
|
|
|
118
|
-
|
|
119
109
|
// .sidebar-body{
|
|
120
110
|
|
|
121
111
|
// padding: 12px 20px;
|
|
@@ -264,4 +254,4 @@
|
|
|
264
254
|
// }
|
|
265
255
|
|
|
266
256
|
// }
|
|
267
|
-
}
|
|
257
|
+
}
|