@appartmint/mint 2.8.1 → 2.9.0

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.1",
4
+ "version": "2.9.0",
5
5
  "license": "MIT",
6
6
  "description": "The front-end TS/SCSS framework of App Art Mint",
7
7
  "keywords": [
@@ -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) {
@@ -18,7 +18,8 @@ textarea {
18
18
  }
19
19
 
20
20
  input {
21
- &[type="file"] {
21
+ &[type="file"],
22
+ &::file-selector-button {
22
23
  cursor: pointer;
23
24
  }
24
25
  }