free-astro-components 0.0.21 → 0.0.23

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.21",
6
+ "version": "0.0.23",
7
7
  "exports": {
8
8
  ".": {
9
9
  "import": {
@@ -86,10 +86,6 @@ const inputClasses = ['ac-input', statusClasses].filter(Boolean).join(' ')
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
-
93
89
  &:has(.ac-input--error) .ac-input-helper-text {
94
90
  color: rgb(var(--ac-danger));
95
91
  }
package/src/css/main.css CHANGED
@@ -137,4 +137,9 @@
137
137
  input::placeholder,
138
138
  textarea::placeholder {
139
139
  color: rgb(var(--ac-gray-300));
140
+ }
141
+
142
+ .ac-input-wrapper .ac-input:read-only,
143
+ .ac-textarea-wrapper .ac-textarea:read-only {
144
+ background-color: rgb(var(--ac-gray-100));
140
145
  }
@@ -85,7 +85,7 @@ import Input from '../components/Input.astro'
85
85
  </Layout>
86
86
 
87
87
  <style>
88
- @import '../css/preflight.css';
88
+ /*@import '../css/preflight.css';*/
89
89
 
90
90
  .content {
91
91
  padding: var(--ac-spacing-8);