@appartmint/mint 2.10.12 → 2.10.16

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,7 +1,7 @@
1
1
  {
2
2
  "name": "@appartmint/mint",
3
3
  "author": "App Art Mint LLC",
4
- "version": "2.10.12",
4
+ "version": "2.10.16",
5
5
  "license": "MIT",
6
6
  "description": "The front-end TS/SCSS framework of App Art Mint",
7
7
  "keywords": [
@@ -0,0 +1,69 @@
1
+ /// _flex.scss - Flex section styles
2
+ /// @author App Art Mint LLC
3
+ ///
4
+ /// @group Section
5
+ @charset 'utf-8';
6
+
7
+ /// Imports
8
+ @use '../../util' as *;
9
+
10
+ /// Flex Section Styles
11
+ #{class(flex)} {
12
+ display: flex;
13
+ flex-direction: row;
14
+ align-items: flex-start;
15
+ justify-content: flex-start;
16
+ gap: css-var(flex-gap);
17
+
18
+ &#{class(row)} {
19
+ &-reverse {
20
+ flex-direction: row-reverse;
21
+ }
22
+ }
23
+
24
+ &#{class(column)} {
25
+ flex-direction: column;
26
+
27
+ &-reverse {
28
+ flex-direction: column-reverse;
29
+ }
30
+ }
31
+
32
+ &#{class(wrap)} {
33
+ flex-wrap: wrap;
34
+
35
+ &-reverse {
36
+ flex-wrap: wrap-reverse;
37
+ }
38
+ }
39
+
40
+ &#{class(center)} {
41
+ justify-content: center;
42
+ }
43
+
44
+ &#{class(end)} {
45
+ justify-content: flex-end;
46
+ }
47
+
48
+ &#{class(between)} {
49
+ justify-content: space-between;
50
+ }
51
+
52
+ &#{class(around)} {
53
+ justify-content: space-around;
54
+ }
55
+
56
+ &#{class(even)} {
57
+ justify-content: space-evenly;
58
+ }
59
+
60
+ &#{class(align)} {
61
+ &-start {
62
+ align-items: flex-start;
63
+ }
64
+
65
+ &-end {
66
+ align-items: flex-end;
67
+ }
68
+ }
69
+ }
@@ -1,14 +1,14 @@
1
- /// _video.scss - Video styles
1
+ /// _full.scss - Full section styles
2
2
  /// @author App Art Mint LLC
3
3
  ///
4
- /// @group Video
4
+ /// @group Section
5
5
  @charset 'utf-8';
6
6
 
7
7
  /// Imports
8
8
  @use 'sass:map';
9
9
  @use '../../util' as *;
10
10
 
11
- /// Video Styles
11
+ /// Full Section Styles
12
12
  #{class(section-full)} {
13
13
  display: flex;
14
14
  flex-direction: column;
@@ -1,5 +1,5 @@
1
1
  /// Imports
2
- @use '../util' as *;
2
+ @use '../../util' as *;
3
3
 
4
4
  /// Grid mixins
5
5
  @mixin grid-2 {
@@ -4,5 +4,7 @@
4
4
  /// @group Sections
5
5
  @charset 'utf-8';
6
6
 
7
+ @use './flex';
7
8
  @use './full';
9
+ @use './grid';
8
10
  @use './landing';
@@ -2,9 +2,7 @@
2
2
  @use './angular';
3
3
  @use './animations';
4
4
  @use './aspect';
5
- @use './flex';
6
5
  @use './global';
7
- @use './grid';
8
6
  @use './icons';
9
7
  @use './inputs';
10
8
  @use './structure';
@@ -48,6 +48,10 @@
48
48
  @include shades(warning, $warning);
49
49
  @include shades(info, $info);
50
50
 
51
+ /// Structure
52
+ @include css-var(spacing, 0.25rem);
53
+ @include css-var(flex-gap, calc(css-var(spacing) * 2));
54
+
51
55
  /// Tooltips
52
56
  @include css-var-ref(tooltip-fore, fore);
53
57
  @include css-var-ref(tooltip-back, black-2);
@@ -873,36 +873,6 @@ $bootstrap5: false !default;
873
873
  }
874
874
  }
875
875
 
876
- /// Generates flex utility classes
877
- /// @group Mixins
878
- @mixin flex-util () {
879
- & {
880
- display: flex;
881
- align-items: center;
882
- justify-content: flex-start;
883
- flex-wrap: wrap;
884
-
885
- &#{class(center)} {
886
- justify-content: center;
887
- }
888
-
889
- &#{class(end)} {
890
- justify-content: flex-end;
891
- }
892
-
893
- &#{class(between)} {
894
- justify-content: space-between;
895
- }
896
-
897
- &#{class(around)} {
898
- justify-content: space-around;
899
- }
900
-
901
- &#{class(even)} {
902
- justify-content: space-evenly;
903
- }
904
- }
905
- }
906
876
 
907
877
  /// Selector for all headers
908
878
  /// @group Mixins
@@ -1,7 +0,0 @@
1
- /// Imports
2
- @use '../util' as *;
3
-
4
- /// Flex mixins
5
- #{class(flex)} {
6
- @include flex-util();
7
- }