@auronui/styles 1.0.3 → 1.0.4

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.
@@ -194,14 +194,21 @@
194
194
  @apply bg-default;
195
195
  }
196
196
 
197
- /* Unavailable dates */
198
- &[data-unavailable="true"] {
197
+ /* Unavailable dates — Reka places data-unavailable="" on the inner CalendarCellTrigger
198
+ button, not the outer td. Use :has() to match the parent cell when its child trigger
199
+ carries the attribute (consistent with :has([data-today]) and :has([data-outside-view])
200
+ patterns used above). */
201
+ &:has([data-unavailable]) {
199
202
  @apply status-disabled;
200
203
  }
201
204
 
202
- /* Disabled state */
205
+ /* Disabled state — Reka places data-disabled="" on CalendarCell (td) only for
206
+ isDateDisabled() and disableDaysOutsideCurrentView. For minValue/maxValue out-of-range
207
+ dates Reka sets data-disabled="" on CalendarCellTrigger (inner button), so we also
208
+ match via :has() to ensure out-of-range dates are visually disabled. */
203
209
  &:disabled:not([data-outside-month="true"]),
204
- &[data-disabled]:not([data-outside-month="true"]) {
210
+ &[data-disabled]:not([data-outside-month="true"]),
211
+ &:has([data-disabled]):not([data-outside-month="true"]) {
205
212
  @apply status-disabled;
206
213
 
207
214
  text-decoration: line-through;
@@ -47,7 +47,6 @@
47
47
  }
48
48
 
49
49
  /* Invalid state */
50
- &:has(> input:invalid),
51
50
  &[data-invalid="true"] {
52
51
  @apply status-invalid-field;
53
52
  background-color: var(--color-field-focus);
@@ -451,7 +450,6 @@
451
450
  }
452
451
 
453
452
  /* Invalid state — label color flips to danger */
454
- .input--label-inside:has(> input:invalid) .input__label,
455
453
  .input--label-inside[data-invalid="true"] .input__label {
456
454
  color: var(--color-danger);
457
455
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@auronui/styles",
3
- "version": "1.0.3",
3
+ "version": "1.0.4",
4
4
  "description": "Auron core styles — adapted for Reka UI",
5
5
  "type": "module",
6
6
  "license": "MIT",