free-astro-components 0.0.20 → 0.0.21

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.20",
6
+ "version": "0.0.21",
7
7
  "exports": {
8
8
  ".": {
9
9
  "import": {
@@ -81,11 +81,15 @@ const inputClasses = ['ac-input', statusClasses].filter(Boolean).join(' ')
81
81
  position: relative;
82
82
  }
83
83
 
84
- &:has(:disabled) {
84
+ &:has(.ac-input:disabled) {
85
85
  opacity: var(--ac-disabled-opacity);
86
86
  pointer-events: none;
87
87
  }
88
88
 
89
+ &:has(.ac-input:read-only) .ac-input {
90
+ background-color: rgb(var(--ac-gray-100));
91
+ }
92
+
89
93
  &:has(.ac-input--error) .ac-input-helper-text {
90
94
  color: rgb(var(--ac-danger));
91
95
  }
@@ -136,10 +140,6 @@ const inputClasses = ['ac-input', statusClasses].filter(Boolean).join(' ')
136
140
  &.ac-input--error {
137
141
  border-color: rgb(var(--ac-danger));
138
142
  }
139
-
140
- &:read-only {
141
- background-color: rgb(var(--ac-gray-100));
142
- }
143
143
  }
144
144
 
145
145
  .ac-input-label {