free-astro-components 0.0.14 → 0.0.15
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 +1 -1
- package/src/components/Input.astro +9 -10
package/package.json
CHANGED
|
@@ -85,6 +85,13 @@ const inputClasses = ['ac-input', statusClasses].filter(Boolean).join(' ')
|
|
|
85
85
|
opacity: var(--ac-disabled-opacity);
|
|
86
86
|
pointer-events: none;
|
|
87
87
|
}
|
|
88
|
+
|
|
89
|
+
&:has([type='search']) .ac-input {
|
|
90
|
+
padding-left: var(--ac-spacing-12);
|
|
91
|
+
}
|
|
92
|
+
&:has([type='password']) .ac-input {
|
|
93
|
+
padding-right: var(--ac-spacing-12);
|
|
94
|
+
}
|
|
88
95
|
}
|
|
89
96
|
|
|
90
97
|
.ac-input {
|
|
@@ -103,10 +110,6 @@ const inputClasses = ['ac-input', statusClasses].filter(Boolean).join(' ')
|
|
|
103
110
|
transition: all 0.3s ease-in-out;
|
|
104
111
|
width: 100%;
|
|
105
112
|
|
|
106
|
-
&::placeholder {
|
|
107
|
-
color: rgb(var(--ac-gray-300));
|
|
108
|
-
}
|
|
109
|
-
|
|
110
113
|
&:hover {
|
|
111
114
|
border-color: rgb(var(--ac-gray-200));
|
|
112
115
|
}
|
|
@@ -140,12 +143,8 @@ const inputClasses = ['ac-input', statusClasses].filter(Boolean).join(' ')
|
|
|
140
143
|
color: rgb(var(--ac-success));
|
|
141
144
|
}
|
|
142
145
|
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
}
|
|
146
|
-
|
|
147
|
-
&[type='password'] {
|
|
148
|
-
padding-right: var(--ac-spacing-12);
|
|
146
|
+
&::placeholder {
|
|
147
|
+
color: red;
|
|
149
148
|
}
|
|
150
149
|
}
|
|
151
150
|
|