@appartmint/mint 2.8.2 → 2.9.1

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.8.2",
4
+ "version": "2.9.1",
5
5
  "license": "MIT",
6
6
  "description": "The front-end TS/SCSS framework of App Art Mint",
7
7
  "keywords": [
@@ -7,6 +7,38 @@
7
7
  /// Imports
8
8
  @use '../../util' as *;
9
9
 
10
+ button,
11
+ a[routerLink] {
12
+ cursor: pointer;
13
+ }
14
+
15
+ a,
16
+ button,
17
+ #{class(btn)},
18
+ #{class(btn-icon)},
19
+ #{class(pill)} {
20
+ font-size: inherit;
21
+
22
+ &[disabled] {
23
+ filter: grayscale(1) brightness(0.75) !important;
24
+ pointer-events: none !important;
25
+
26
+ &#{class(fall-in)}#{neg(class(show))} {
27
+ filter: grayscale(1) brightness(0.75) opacity(0%) !important;
28
+ }
29
+ }
30
+
31
+ i {
32
+ &:first-child {
33
+ margin-right: 0.5em;
34
+ }
35
+
36
+ &:last-child {
37
+ margin-left: 0.5em;
38
+ }
39
+ }
40
+ }
41
+
10
42
  /// All buttons
11
43
  #{class(btn)},
12
44
  #{class(btn-group)},
@@ -12,6 +12,7 @@
12
12
  #{class(card)} {
13
13
  display: flex;
14
14
  flex-direction: column;
15
+ position: relative;
15
16
  height: 100%;
16
17
  max-width: 100%;
17
18
  margin: 0;
@@ -27,7 +28,7 @@
27
28
  }
28
29
  }
29
30
 
30
- &:has(#{prefix(widget-carousel)}) {
31
+ &:has(#{class(carousel)}) {
31
32
  box-shadow: none;
32
33
 
33
34
  #{class(content)} {
@@ -89,8 +90,7 @@
89
90
  box-shadow: none;
90
91
  overflow: visible;
91
92
 
92
- & > #{class(image)},
93
- & > #{prefix(widget-image)} #{class(image)} {
93
+ & > #{class(image)} {
94
94
  width: calc(50% + $card-padding);
95
95
  height: fit-content;
96
96
  margin-right: $card-padding * -2;
@@ -115,8 +115,7 @@
115
115
  @include break(sm) {
116
116
  flex-direction: row-reverse;
117
117
 
118
- & > #{class(image)},
119
- & > #{prefix(widget-image)} #{class(image)} {
118
+ & > #{class(image)} {
120
119
  margin-right: 0;
121
120
  margin-left: $card-padding * -2;
122
121
  }
@@ -124,20 +123,18 @@
124
123
  }
125
124
  }
126
125
 
127
- & > #{class(image)}:only-child,
128
- & > #{prefix(widget-image)}:only-child #{class(image)} {
129
- width: 100%;
130
- }
131
-
132
- & > #{class(image)},
133
- & > #{prefix(widget-image)} #{class(image)} {
126
+ & > #{class(image)} {
134
127
  overflow: hidden;
135
128
 
136
129
  @include break(sm) {
137
130
  width: 50%;
138
131
  }
139
132
 
140
- &+#{class(content)} {
133
+ &:only-child {
134
+ width: 100%;
135
+ }
136
+
137
+ & + #{class(content)} {
141
138
  @include break(sm) {
142
139
  width: 50%;
143
140
  }
@@ -177,8 +174,7 @@
177
174
  height: 100%;
178
175
  }
179
176
 
180
- & > #{class(image)},
181
- & > #{prefix(widget-image)} #{class(image)} {
177
+ & > #{class(image)} {
182
178
  width: 100%;
183
179
  height: 100%;
184
180
  max-width: $card-logo-size;
@@ -293,8 +289,7 @@
293
289
  #{class(card)} {
294
290
  flex-direction: column !important;
295
291
 
296
- & > #{class(image)},
297
- & > #{prefix(widget-image)} #{class(image)} {
292
+ & > #{class(image)} {
298
293
  overflow: hidden;
299
294
 
300
295
  @include break(sm) {
@@ -101,35 +101,6 @@ a {
101
101
  }
102
102
  }
103
103
 
104
- button,
105
- a[routerLink] {
106
- cursor: pointer;
107
- }
108
-
109
- a,
110
- button {
111
- font-size: inherit;
112
-
113
- &[disabled] {
114
- filter: grayscale(1) brightness(0.75) !important;
115
- pointer-events: none !important;
116
-
117
- &#{class(fall-in)}#{neg(class(show))} {
118
- filter: grayscale(1) brightness(0.75) opacity(0%) !important;
119
- }
120
- }
121
-
122
- i {
123
- &:first-child {
124
- margin-right: 0.5em;
125
- }
126
-
127
- &:last-child {
128
- margin-left: 0.5em;
129
- }
130
- }
131
- }
132
-
133
104
  img,
134
105
  video {
135
106
  width: 100%;
@@ -10,7 +10,6 @@
10
10
  @use 'sass:math';
11
11
  @use 'sass:meta';
12
12
  @use 'sass:string';
13
- @use 'vars' as *;
14
13
 
15
14
  /// Library name
16
15
  /// @group Variables
@@ -607,10 +606,6 @@ $bootstrap5: false !default;
607
606
 
608
607
  /// Creates utility selectors for a box model property
609
608
  /// @group Mixins
610
- ///
611
- /// @example scss - box-util mixin
612
- /// @include box-util(margin, 1rem, 0); // -> & {
613
- ///
614
609
  @mixin box-util ($prop, $val) {
615
610
  @if (meta.type-of($prop) != 'string') {
616
611
  @error 'The box-util mixin requires a string for the $prop argument.';
@@ -880,8 +875,6 @@ $bootstrap5: false !default;
880
875
 
881
876
  /// Generates flex utility classes
882
877
  /// @group Mixins
883
- ///
884
- ///
885
878
  @mixin flex-util () {
886
879
  & {
887
880
  display: flex;
@@ -913,8 +906,6 @@ $bootstrap5: false !default;
913
906
 
914
907
  /// Selector for all headers
915
908
  /// @group Mixins
916
- ///
917
- ///
918
909
  @mixin headers () {
919
910
  @for $i from 1 through 6 {
920
911
  h#{$i},
@@ -927,8 +918,6 @@ $bootstrap5: false !default;
927
918
 
928
919
  /// Background clip text
929
920
  /// @group Mixins
930
- ///
931
- ///
932
921
  @mixin background-clip ($color) {
933
922
  color: $color;
934
923