@appartmint/mint 0.15.6 → 0.15.7

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": "0.15.6",
4
+ "version": "0.15.7",
5
5
  "license": "MIT",
6
6
  "description": "The front-end TS/SCSS framework of App Art Mint",
7
7
  "keywords": [
@@ -7,17 +7,44 @@
7
7
  /// Imports
8
8
  @use '../util' as *;
9
9
 
10
+ /// Input Styles
11
+ input,
12
+ textarea,
13
+ select {
14
+ width: 100%;
15
+ padding: 0.5rem;
16
+ border: 2px solid #ccc;
17
+ border-radius: $border-radius;
18
+ }
19
+
20
+ select {
21
+ @include break(xs) {
22
+ width: auto;
23
+ }
24
+ }
25
+
26
+ textarea {
27
+ resize: vertical;
28
+ }
29
+
10
30
  /// Checkbox Styles
11
31
  #{class(toggle)} {
12
32
  display: flex;
13
- flex-direction: column;
14
33
  align-items: center;
15
- gap: 0.5rem;
34
+ gap: 1rem;
35
+
36
+ div {
37
+ display: flex;
38
+ flex-direction: column;
39
+ align-items: center;
40
+ gap: 0.5rem;
16
41
 
17
- @include break(xs) {
18
- flex-direction: row;
42
+ @include break(xs) {
43
+ flex-direction: row;
44
+ }
19
45
  }
20
46
  }
47
+
21
48
  #{class(check)} {
22
49
  $padding: 0.25rem;
23
50
  $height: 1.5rem;
@@ -62,6 +89,11 @@
62
89
  transition: filter 300ms, background-color 300ms, left 300ms;
63
90
  }
64
91
  }
92
+
93
+ & + span {
94
+ width: 1.5rem;
95
+ text-align: center;
96
+ }
65
97
  }
66
98
 
67
99
  /// Dropdown Styles
@@ -69,5 +101,20 @@
69
101
  display: flex;
70
102
  align-items: center;
71
103
  flex-wrap: wrap;
72
- gap: 1rem;
104
+
105
+ @include break(xs) {
106
+ gap: 1rem;
107
+ }
108
+ }
109
+
110
+
111
+ /// Label Styles
112
+ #{class(error)} {
113
+ line-height: 0;
114
+ filter: opacity(0);
115
+ transition: filter 0.3s;
116
+
117
+ &.mint-show {
118
+ filter: opacity(1);
119
+ }
73
120
  }