@eui/eds 22.0.0-alpha.25 → 22.0.0-alpha.27

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.
@@ -4,11 +4,20 @@
4
4
 
5
5
 
6
6
 
7
+ A form label applied to `label`, `span`, or `div` elements via the `edsLabel` attribute.
8
+ Supports a semantic color (`neutral` default, `critical` for errors) reflected as a host
9
+ attribute, plus a required marker.
10
+
11
+ Usage:
12
+ ```html
13
+ <label edsLabel for="name">Name</label>
14
+ <label edsLabel edsRequired for="email">Email</label>
15
+ <span edsLabel color="critical">This field is required</span>
16
+ ```
17
+
7
18
 
8
19
  **Selector:** `label[edsLabel], span[edsLabel], div[edsLabel]`
9
20
 
10
21
  ## Inputs
22
+ - **color**: `EdsLabelColor` - Semantic color of the label. 'neutral'
11
23
  - **edsRequired**: `boolean` - Marks the label as required (appends a red asterisk). false
12
- - **edsNeutral**: `any` - From host directive: #[[file:EdsColorDirective.md]]
13
- - **edsCritical**: `any` - From host directive: #[[file:EdsColorDirective.md]]
14
- - **edsColorVariant**: `any` - From host directive: #[[file:EdsColorDirective.md]]
@@ -9,6 +9,7 @@
9
9
 
10
10
  ## Inputs
11
11
  - **fixedWidth**: `string` - Fixed width value (overrides responsive width).
12
+ - **hasBackdrop**: `boolean` - Shows a dimmed backdrop behind the overlay panel. Off by default.
12
13
  - **hasClosedOnClickOutside**: `boolean` - Enables automatic closing when clicking outside the overlay.
13
14
  - **isActive**: `boolean` - Controls the visibility and active state of the overlay.
14
15
  - **isHighlighted**: `boolean` - Applies highlighted visual styling.