@webilix/ngx-helper-m3 0.0.2 → 0.0.4
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/fesm2022/webilix-ngx-helper-m3.mjs +548 -254
- package/fesm2022/webilix-ngx-helper-m3.mjs.map +1 -1
- package/lib/components/component.service.d.ts +21 -0
- package/lib/components/page-group/ngx-helper-page-group.component.d.ts +30 -0
- package/lib/components/page-group/ngx-helper-page-group.interface.d.ts +17 -0
- package/lib/components/section/column/ngx-helper-section-column.component.d.ts +12 -0
- package/lib/components/section/ngx-helper-section-sticky.directive.d.ts +18 -0
- package/lib/components/section/ngx-helper-section.component.d.ts +17 -0
- package/lib/confirm/bottom-sheet/confirm-bottom-sheet.component.d.ts +1 -0
- package/lib/confirm/dialog/confirm-dialog.component.d.ts +1 -0
- package/lib/container/bottom-sheet/container-bottom-sheet.component.d.ts +1 -0
- package/lib/container/dialog/container-dialog.component.d.ts +1 -0
- package/lib/ngx-helper.config.d.ts +17 -0
- package/ngx-helper-m3.css +200 -0
- package/package.json +1 -1
- package/public-api.d.ts +10 -4
@@ -0,0 +1,200 @@
|
|
1
|
+
/* GLOBAL VALUES */
|
2
|
+
:root {
|
3
|
+
--ngx-helper-m3-font-small: 90%;
|
4
|
+
--ngx-helper-m3-font-large: 115%;
|
5
|
+
|
6
|
+
--ngx-helper-m3-toolbar-height: 40px;
|
7
|
+
}
|
8
|
+
|
9
|
+
/* NGX HELPER CONFIRM */
|
10
|
+
.ngx-helper-m3-confirm {
|
11
|
+
display: block;
|
12
|
+
margin: 1.5rem 1.5rem 1rem 1.5rem;
|
13
|
+
|
14
|
+
content {
|
15
|
+
display: flex;
|
16
|
+
align-items: flex-start;
|
17
|
+
column-gap: 1rem;
|
18
|
+
|
19
|
+
mat-icon {
|
20
|
+
font-size: 200%;
|
21
|
+
}
|
22
|
+
|
23
|
+
.confirm {
|
24
|
+
flex: 1;
|
25
|
+
|
26
|
+
.question {
|
27
|
+
text-align: justify;
|
28
|
+
}
|
29
|
+
|
30
|
+
.description {
|
31
|
+
text-align: justify;
|
32
|
+
font-size: var(--ngx-helper-m3-font-small);
|
33
|
+
}
|
34
|
+
|
35
|
+
.data {
|
36
|
+
display: flex;
|
37
|
+
align-items: center;
|
38
|
+
column-gap: 1rem;
|
39
|
+
font-size: var(--ngx-helper-m3-font-small);
|
40
|
+
margin-top: 1rem;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
}
|
44
|
+
|
45
|
+
footer {
|
46
|
+
display: flex;
|
47
|
+
align-items: center;
|
48
|
+
justify-content: flex-end;
|
49
|
+
column-gap: 1rem;
|
50
|
+
margin-top: 1rem;
|
51
|
+
}
|
52
|
+
}
|
53
|
+
|
54
|
+
/* NGX HELPER CONTAINER */
|
55
|
+
.ngx-helper-m3-container {
|
56
|
+
display: block;
|
57
|
+
max-height: 80vh;
|
58
|
+
overflow: hidden;
|
59
|
+
|
60
|
+
header {
|
61
|
+
display: flex;
|
62
|
+
align-items: center;
|
63
|
+
|
64
|
+
height: 65px;
|
65
|
+
line-height: 65px;
|
66
|
+
font-size: var(--ngx-helper-m3-font-large);
|
67
|
+
padding: 0 0.5rem;
|
68
|
+
border-bottom: 1px solid var(--outline-variant);
|
69
|
+
background-color: var(--surface-container-high);
|
70
|
+
|
71
|
+
.title {
|
72
|
+
flex: 1;
|
73
|
+
padding-right: 0.5rem;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
|
77
|
+
content {
|
78
|
+
display: block;
|
79
|
+
max-height: calc(80vh - 67px);
|
80
|
+
overflow: auto;
|
81
|
+
box-sizing: border-box;
|
82
|
+
}
|
83
|
+
}
|
84
|
+
|
85
|
+
/* NGX HELPER PAGE GROUP */
|
86
|
+
.ngx-helper-m3-page-group {
|
87
|
+
direction: rtl;
|
88
|
+
display: flex;
|
89
|
+
align-items: flex-start;
|
90
|
+
column-gap: 1rem;
|
91
|
+
|
92
|
+
aside {
|
93
|
+
display: flex;
|
94
|
+
flex-direction: column;
|
95
|
+
row-gap: 1rem;
|
96
|
+
|
97
|
+
box-sizing: border-box;
|
98
|
+
padding: 1rem;
|
99
|
+
background-color: var(--surface-container-high);
|
100
|
+
|
101
|
+
.page {
|
102
|
+
display: flex;
|
103
|
+
align-items: center;
|
104
|
+
column-gap: 0.5rem;
|
105
|
+
|
106
|
+
padding: 0.5rem 0.75rem;
|
107
|
+
transition: all 0.3s ease-in-out;
|
108
|
+
|
109
|
+
.title {
|
110
|
+
flex: 1;
|
111
|
+
|
112
|
+
white-space: nowrap;
|
113
|
+
overflow: hidden;
|
114
|
+
text-overflow: ellipsis;
|
115
|
+
}
|
116
|
+
|
117
|
+
mat-icon {
|
118
|
+
font-size: 120%;
|
119
|
+
}
|
120
|
+
}
|
121
|
+
|
122
|
+
.active {
|
123
|
+
border-radius: 4px;
|
124
|
+
color: var(--on-primary);
|
125
|
+
background-color: var(--primary);
|
126
|
+
}
|
127
|
+
}
|
128
|
+
|
129
|
+
content {
|
130
|
+
flex: 1;
|
131
|
+
display: block;
|
132
|
+
|
133
|
+
header {
|
134
|
+
background-color: var(--background);
|
135
|
+
|
136
|
+
.spacer {
|
137
|
+
z-index: 2;
|
138
|
+
height: 1rem;
|
139
|
+
width: 100%;
|
140
|
+
}
|
141
|
+
}
|
142
|
+
}
|
143
|
+
}
|
144
|
+
|
145
|
+
.ngx-helper-m3-page-group.mobile-view {
|
146
|
+
flex-direction: column;
|
147
|
+
column-gap: 0;
|
148
|
+
|
149
|
+
nav {
|
150
|
+
display: flex;
|
151
|
+
align-items: center;
|
152
|
+
|
153
|
+
box-sizing: border-box;
|
154
|
+
background-color: var(--surface-container-high);
|
155
|
+
height: calc(var(--ngx-helper-m3-toolbar-height));
|
156
|
+
overflow: hidden;
|
157
|
+
width: 100%;
|
158
|
+
z-index: 2;
|
159
|
+
|
160
|
+
.page {
|
161
|
+
display: flex;
|
162
|
+
align-items: center;
|
163
|
+
column-gap: 0.25rem;
|
164
|
+
|
165
|
+
padding: 0 1rem;
|
166
|
+
height: var(--ngx-helper-m3-toolbar-height);
|
167
|
+
transition: all 0.3s ease-in-out;
|
168
|
+
|
169
|
+
.title {
|
170
|
+
flex: 1;
|
171
|
+
font-size: var(--ngx-helper-m3-font-small);
|
172
|
+
white-space: nowrap;
|
173
|
+
overflow: hidden;
|
174
|
+
text-overflow: ellipsis;
|
175
|
+
}
|
176
|
+
}
|
177
|
+
|
178
|
+
.active {
|
179
|
+
flex: 1;
|
180
|
+
width: 0;
|
181
|
+
color: var(--on-primary);
|
182
|
+
background-color: var(--primary);
|
183
|
+
|
184
|
+
mat-icon {
|
185
|
+
font-size: 120%;
|
186
|
+
}
|
187
|
+
}
|
188
|
+
}
|
189
|
+
|
190
|
+
.toolbar-spacer {
|
191
|
+
height: 1rem;
|
192
|
+
width: 100%;
|
193
|
+
background-color: var(--background);
|
194
|
+
}
|
195
|
+
|
196
|
+
content {
|
197
|
+
flex: none;
|
198
|
+
width: 100%;
|
199
|
+
}
|
200
|
+
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
@@ -1,7 +1,9 @@
|
|
1
|
-
export * from './lib/
|
2
|
-
export * from './lib/
|
3
|
-
export * from './lib/
|
4
|
-
export * from './lib/
|
1
|
+
export * from './lib/ngx-helper.config';
|
2
|
+
export * from './lib/components/page-group/ngx-helper-page-group.component';
|
3
|
+
export * from './lib/components/page-group/ngx-helper-page-group.interface';
|
4
|
+
export * from './lib/components/section/ngx-helper-section-sticky.directive';
|
5
|
+
export * from './lib/components/section/ngx-helper-section.component';
|
6
|
+
export * from './lib/components/section/column/ngx-helper-section-column.component';
|
5
7
|
export * from './lib/pipes/bank-card.pipe';
|
6
8
|
export * from './lib/pipes/date.pipe';
|
7
9
|
export * from './lib/pipes/duration.pipe';
|
@@ -14,3 +16,7 @@ export * from './lib/pipes/price.pipe';
|
|
14
16
|
export * from './lib/pipes/safe.pipe';
|
15
17
|
export * from './lib/pipes/volume.pipe';
|
16
18
|
export * from './lib/pipes/weight.pipe';
|
19
|
+
export * from './lib/confirm/confirm.interface';
|
20
|
+
export * from './lib/confirm/confirm.service';
|
21
|
+
export * from './lib/container/container.interface';
|
22
|
+
export * from './lib/container/container.service';
|