@dryui/ui 0.1.7 → 0.1.9

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.
@@ -115,6 +115,7 @@
115
115
 
116
116
  display: inline-grid;
117
117
  grid-auto-flow: column;
118
+ justify-content: center;
118
119
  place-items: center;
119
120
  gap: var(--dry-space-2);
120
121
  padding: var(--dry-btn-padding-y) var(--dry-btn-padding-x);
@@ -75,9 +75,8 @@
75
75
  data-time-input-wrapper
76
76
  data-disabled={isDisabled || undefined}
77
77
  id={ctx?.id}
78
- aria-describedby={ctx?.describedBy}
78
+ aria-describedby={[ctx?.describedBy, ctx?.hasError ? ctx?.errorMessageId : undefined].filter(Boolean).join(' ') || undefined}
79
79
  aria-invalid={ctx?.hasError || undefined}
80
- aria-errormessage={ctx?.errorMessageId}
81
80
  class={className}
82
81
  >
83
82
  <Select.Root bind:value={hourStr} disabled={isDisabled}>