@pepperi-addons/ngx-lib 0.4.2-beta.234 → 0.4.2-beta.235

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pepperi-addons/ngx-lib",
3
- "version": "0.4.2-beta.234",
3
+ "version": "0.4.2-beta.235",
4
4
  "peerDependencies": {
5
5
  "@angular/animations": ">= 14.0.2",
6
6
  "@angular/cdk": ">= 14.0.2",
@@ -306,6 +306,37 @@
306
306
  );
307
307
  }
308
308
 
309
+ @mixin pep-full-width-loader($loader-color: variables.$color-loader-base) {
310
+ $loader-bg: color-mix(in hsl, $loader-color 0%, transparent);
311
+
312
+ height: 0.25rem;
313
+ z-index: variables.$z-index-high;
314
+ width: 100%;
315
+ background: linear-gradient(0.25turn, $loader-bg 0%, $loader-color 50%, $loader-bg 50%);
316
+ background-size: 200% 200%;
317
+ animation-timing-function: ease-out;
318
+ animation-name: slidein;
319
+ animation-iteration-count: infinite;
320
+ animation-duration: 1.5s;
321
+
322
+ &.rtl {
323
+ animation-name: slideinRtl;
324
+ background: linear-gradient(0.75turn, $loader-bg 0%, $loader-color 50%, $loader-bg 50%);
325
+ background-size: 200% 200%;
326
+ }
327
+
328
+ @keyframes slidein {
329
+ 0% { background-position: 100%; }
330
+ 75% { background-position: -100%; }
331
+ 100% { background-position: -100%; }
332
+ }
333
+ @keyframes slideinRtl {
334
+ 0% { background-position: -100%; }
335
+ 75% { background-position: 100%; }
336
+ 100% { background-position: 100%; }
337
+ }
338
+ }
339
+
309
340
  // ******************************************************************************
310
341
  // General state declerations
311
342
  // ******************************************************************************