free-astro-components 0.0.18 → 0.0.19

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
@@ -3,7 +3,7 @@
3
3
  "description": "A collection of free Astro components",
4
4
  "author": "Denis Ventura",
5
5
  "type": "module",
6
- "version": "0.0.18",
6
+ "version": "0.0.19",
7
7
  "exports": {
8
8
  ".": {
9
9
  "import": {
@@ -86,6 +86,14 @@ const inputClasses = ['ac-input', statusClasses].filter(Boolean).join(' ')
86
86
  pointer-events: none;
87
87
  }
88
88
 
89
+ &:has(.ac-input--error) .ac-input-helper-text {
90
+ color: rgb(var(--ac-danger));
91
+ }
92
+
93
+ &:has(.ac-input--success) .ac-input-helper-text {
94
+ color: rgb(var(--ac-success));
95
+ }
96
+
89
97
  &:has(.ac-input-icon--left) .ac-input {
90
98
  padding-left: var(--ac-spacing-12);
91
99
  }
@@ -132,18 +140,6 @@ const inputClasses = ['ac-input', statusClasses].filter(Boolean).join(' ')
132
140
  &.ac-input--error {
133
141
  border-color: rgb(var(--ac-danger));
134
142
  }
135
-
136
- &.ac-input--error + .ac-input-helper-text {
137
- color: rgb(var(--ac-danger));
138
- }
139
-
140
- &.ac-input--success {
141
- border-color: rgb(var(--ac-success));
142
- }
143
-
144
- &.ac-input--success + .ac-input-helper-text {
145
- color: rgb(var(--ac-success));
146
- }
147
143
  }
148
144
 
149
145
  .ac-input-label {