@lukfel/ng-scaffold 21.1.30 → 21.1.31

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": "@lukfel/ng-scaffold",
3
- "version": "21.1.30",
3
+ "version": "21.1.31",
4
4
  "description": "This Angular library provides a basic UI scaffold and services for modern web and mobile apps",
5
5
  "license": "MIT",
6
6
  "author": {
@@ -2,6 +2,7 @@ $sizes: 20;
2
2
  $density: 4px;
3
3
  $init: 0;
4
4
 
5
+ // Margin
5
6
  @mixin margin-classes {
6
7
  @for $i from $init through $sizes {
7
8
  $margin: $i * $density;
@@ -17,7 +18,7 @@ $init: 0;
17
18
  }
18
19
  @include margin-classes;
19
20
 
20
-
21
+ // Padding
21
22
  @mixin padding-classes {
22
23
  @for $i from $init through $sizes {
23
24
  $padding: $i * $density;
@@ -33,6 +34,70 @@ $init: 0;
33
34
  }
34
35
  @include padding-classes;
35
36
 
37
+ // Gap
38
+ @mixin gap-classes {
39
+ @for $i from $init through $sizes {
40
+ $gap: $i * $density;
41
+ /* gap #{$gap} */
42
+ .gap-#{$i} {gap: $gap !important;}
43
+ }
44
+ }
45
+ @include gap-classes;
46
+
47
+ // Flex
48
+ .flex-row { display: flex; flex-direction: row; flex-wrap: wrap; }
49
+ .flex-row-nowrap { display: flex; flex-direction: row; flex-wrap: nowrap; }
50
+ .flex-col { display: flex; flex-direction: column; flex-wrap: wrap; }
51
+
52
+ .justify-start { justify-content: flex-start; }
53
+ .justify-center { justify-content: center; }
54
+ .justify-end { justify-content: flex-end; }
55
+ .justify-between { justify-content: space-between; }
56
+ .justify-around { justify-content: space-around; }
57
+ .justify-evenly { justify-content: space-evenly; }
58
+
59
+ .align-start { align-items: flex-start; }
60
+ .align-center { align-items: center; }
61
+ .align-end { align-items: flex-end; }
62
+ .align-stretch { align-items: stretch; }
63
+ .align-baseline { align-items: baseline; }
64
+
65
+ .align-self-start { align-self: flex-start; }
66
+ .align-self-center { align-self: center; }
67
+ .align-self-end { align-self: flex-end; }
68
+
69
+ .flex-1 { flex: 1 1 0%; }
70
+ .flex-auto { flex: 1 0 auto; }
71
+ .flex-none { flex: none; }
72
+
73
+ // Absolute
74
+ .absolute { position: absolute; }
75
+
76
+ .top-0 { top: 0; }
77
+ .right-0 { right: 0; }
78
+ .bottom-0 { bottom: 0; }
79
+ .left-0 { left: 0; }
80
+
81
+ .top-50 { top: 50%; }
82
+ .left-50 { left: 50%; }
83
+
84
+ // Width / Height
85
+ .w-100 { width: 100%; }
86
+ .mw-100 { min-width: 100%; }
87
+ .h-100 { height: 100%; }
88
+ .mh-100 { min-height: 100%; }
89
+
90
+ // Text
91
+ .text-center { text-align: center; }
92
+
93
+ // Overflow
94
+ .overflow-hidden { overflow: hidden; }
95
+ .overflow-auto { overflow: auto; }
96
+
97
+ // Cursor
98
+ .pointer { cursor: pointer; }
99
+
100
+ // Misc
36
101
  .lf-transitions {
37
102
  transition: var(--transition) !important;
38
103
  }