@webilix/ngx-helper-m3 0.0.4 → 0.0.6

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/ngx-helper-m3.css CHANGED
@@ -1,7 +1,7 @@
1
1
  /* GLOBAL VALUES */
2
2
  :root {
3
3
  --ngx-helper-m3-font-small: 90%;
4
- --ngx-helper-m3-font-large: 115%;
4
+ --ngx-helper-m3-font-large: 110%;
5
5
 
6
6
  --ngx-helper-m3-toolbar-height: 40px;
7
7
  }
@@ -66,7 +66,7 @@
66
66
  font-size: var(--ngx-helper-m3-font-large);
67
67
  padding: 0 0.5rem;
68
68
  border-bottom: 1px solid var(--outline-variant);
69
- background-color: var(--surface-container-high);
69
+ background-color: var(--surface-container);
70
70
 
71
71
  .title {
72
72
  flex: 1;
@@ -198,3 +198,101 @@
198
198
  width: 100%;
199
199
  }
200
200
  }
201
+
202
+ /* NGX HELPER CARD */
203
+ .ngx-helper-m3-card {
204
+ display: block;
205
+ direction: rtl;
206
+
207
+ border-radius: 8px;
208
+ border: 1px solid var(--outline-variant);
209
+
210
+ header {
211
+ display: flex;
212
+ align-items: center;
213
+ column-gap: 0.5rem;
214
+
215
+ height: 55px;
216
+ padding-right: 1rem;
217
+ border-radius: 8px 8px 0 0;
218
+ border-bottom: 1px solid var(--outline-variant);
219
+ background-color: var(--surface-container-high);
220
+
221
+ mat-icon {
222
+ margin: 0;
223
+ margin-left: 0.5rem;
224
+ }
225
+
226
+ .content {
227
+ flex: 1;
228
+ width: 0;
229
+
230
+ display: flex;
231
+ flex-direction: column;
232
+ row-gap: 0.25rem;
233
+ padding: 0.75rem 0;
234
+
235
+ .title {
236
+ font-size: var(--ngx-helper-m3-font-large);
237
+ line-height: 1;
238
+
239
+ white-space: nowrap;
240
+ overflow: hidden;
241
+ text-overflow: ellipsis;
242
+ }
243
+
244
+ .sub-title {
245
+ font-size: var(--ngx-helper-m3-font-small);
246
+ line-height: 1;
247
+
248
+ white-space: nowrap;
249
+ overflow: hidden;
250
+ text-overflow: ellipsis;
251
+ }
252
+ }
253
+
254
+ .buttons {
255
+ display: flex;
256
+ align-items: center;
257
+ column-gap: 0.5rem;
258
+ padding-left: 0.5rem;
259
+
260
+ button {
261
+ display: flex;
262
+ justify-content: center;
263
+ column-gap: 0.25rem;
264
+
265
+ padding: 0 0.75rem;
266
+ min-width: auto;
267
+ height: 50px;
268
+
269
+ .title {
270
+ font-size: var(--ngx-helper-m3-font-small);
271
+ }
272
+
273
+ mat-icon {
274
+ padding: 0;
275
+ margin: 0;
276
+ font-size: 120%;
277
+ line-height: 1;
278
+ }
279
+ }
280
+ }
281
+
282
+ .buttons.mobile-view {
283
+ column-gap: 0;
284
+ padding-left: 0;
285
+
286
+ button {
287
+ padding: 0 0.5rem;
288
+ }
289
+ }
290
+ }
291
+
292
+ content {
293
+ display: block;
294
+ overflow: hidden;
295
+ border-radius: 0 0 8px 8px;
296
+ background-color: var(--surface-container-low);
297
+ }
298
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webilix/ngx-helper-m3",
3
- "version": "0.0.4",
3
+ "version": "0.0.6",
4
4
  "author": "Ali Amirnezhad",
5
5
  "description": "Helper library for Angular and Material 3",
6
6
  "repository": {
@@ -20,9 +20,9 @@
20
20
  },
21
21
  "homepage": "https://github.com/webilix/ngx-helper-m3#readme",
22
22
  "peerDependencies": {
23
- "@angular/common": ">=19.0.0",
24
- "@angular/core": ">=19.0.0",
25
- "@angular/material": ">=19.0.1",
23
+ "@angular/common": ">=19.0.4",
24
+ "@angular/core": ">=19.0.4",
25
+ "@angular/material": ">=19.0.3",
26
26
  "@webilix/helper-library": ">=6.0.2",
27
27
  "@webilix/jalali-date-time": ">=2.0.5"
28
28
  },
package/public-api.d.ts CHANGED
@@ -1,4 +1,7 @@
1
1
  export * from './lib/ngx-helper.config';
2
+ export * from './lib/components/card/ngx-helper-card.component';
3
+ export * from './lib/components/card/ngx-helper-card.interface';
4
+ export * from './lib/components/loader/ngx-helper-loader.component';
2
5
  export * from './lib/components/page-group/ngx-helper-page-group.component';
3
6
  export * from './lib/components/page-group/ngx-helper-page-group.interface';
4
7
  export * from './lib/components/section/ngx-helper-section-sticky.directive';