@eui/eds 22.0.0-alpha.30 → 22.0.0-alpha.31
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/docs/changelog.html +27 -0
- package/docs/components/EdsAccordion.html +1 -1
- package/docs/components/EdsAccordionItem.html +1 -1
- package/docs/components/EdsAlert.html +1 -1
- package/docs/components/EdsAlertTitle.html +1 -1
- package/docs/components/EdsAutocomplete.html +1 -1
- package/docs/components/EdsAutocompleteOption.html +1 -1
- package/docs/components/EdsAutocompleteOptionGroup.html +1 -1
- package/docs/components/EdsAutocompletePanel.html +1 -1
- package/docs/components/EdsAvatar.html +1 -1
- package/docs/components/EdsAvatarBadge.html +1 -1
- package/docs/components/EdsAvatarContent.html +1 -1
- package/docs/components/EdsAvatarContentLabel.html +1 -1
- package/docs/components/EdsAvatarContentSublabel.html +1 -1
- package/docs/components/EdsAvatarIcon.html +1 -1
- package/docs/components/EdsAvatarImage.html +1 -1
- package/docs/components/EdsAvatarList.html +1 -1
- package/docs/components/EdsAvatarText.html +1 -1
- package/docs/components/EdsBadge.html +1 -1
- package/docs/components/EdsBanner.html +1 -1
- package/docs/components/EdsBannerCta.html +1 -1
- package/docs/components/EdsBannerDescription.html +1 -1
- package/docs/components/EdsBannerPicture.html +1 -1
- package/docs/components/EdsBannerTitle.html +1 -1
- package/docs/components/EdsBlockContent.html +1 -1
- package/docs/components/EdsBlockDocument.html +1 -1
- package/docs/components/EdsBlockquote.html +1 -1
- package/docs/components/EdsBreadcrumb.html +1 -1
- package/docs/components/EdsBreadcrumbItem.html +1 -1
- package/docs/components/EdsButton.html +1 -1
- package/docs/components/EdsCalendar.html +1 -1
- package/docs/components/EdsCalendarDay.html +1 -1
- package/docs/components/EdsCalendarHeader.html +1 -1
- package/docs/components/EdsCalendarMonthly.html +1 -1
- package/docs/components/EdsCalendarWeekly.html +1 -1
- package/docs/components/EdsCalendarWeeklyDayContent.html +1 -1
- package/docs/components/EdsCalendarWeeklyDayHeader.html +1 -1
- package/docs/components/EdsCalendarWeeklyDayHeaderAction.html +1 -1
- package/docs/components/EdsCard.html +1 -1
- package/docs/components/EdsCardBody.html +1 -1
- package/docs/components/EdsCardFooter.html +1 -1
- package/docs/components/EdsCardHeader.html +1 -1
- package/docs/components/EdsCardHeaderEnd.html +1 -1
- package/docs/components/EdsCardLabel.html +1 -1
- package/docs/components/EdsCardMedia.html +1 -1
- package/docs/components/EdsCardMetadata.html +1 -1
- package/docs/components/EdsCardStart.html +1 -1
- package/docs/components/EdsCardSublabel.html +1 -1
- package/docs/components/EdsCarousel.html +1 -1
- package/docs/components/EdsCarouselItem.html +1 -1
- package/docs/components/EdsChart.html +1 -1
- package/docs/components/EdsChartLegend.html +1 -1
- package/docs/components/EdsChartLegendItem.html +1 -1
- package/docs/components/EdsChatBubble.html +1 -1
- package/docs/components/EdsChatBubbleContent.html +1 -1
- package/docs/components/EdsChatBubbleGroup.html +1 -1
- package/docs/components/EdsChatBubbleReactions.html +1 -1
- package/docs/components/EdsChip.html +1 -1
- package/docs/components/EdsChipList.html +1 -1
- package/docs/components/EdsChipListAdditionalContent.html +1 -1
- package/docs/components/EdsChipListAppendContent.html +1 -1
- package/docs/components/EdsDateBlock.html +1 -1
- package/docs/components/EdsDatepicker.html +32 -2
- package/docs/components/EdsDialog.html +1 -1
- package/docs/components/EdsDialogContainer.html +1 -1
- package/docs/components/EdsDimmer.html +1 -1
- package/docs/components/EdsDisableContent.html +1 -1
- package/docs/components/EdsDiscussionThread.html +1 -1
- package/docs/components/EdsDiscussionThreadItem.html +1 -1
- package/docs/components/EdsDropdown.html +1 -1
- package/docs/components/EdsDropdownItem.html +1 -1
- package/docs/components/EdsEmptyState.html +1 -1
- package/docs/components/EdsEmptyStateActions.html +1 -1
- package/docs/components/EdsEmptyStateDescription.html +1 -1
- package/docs/components/EdsEmptyStateIcon.html +1 -1
- package/docs/components/EdsEmptyStateTitle.html +1 -1
- package/docs/components/EdsFabButton.html +1 -1
- package/docs/components/EdsFabButtonItem.html +1 -1
- package/docs/components/EdsFeedbackMessage.html +2 -2
- package/docs/components/EdsFieldset.html +1 -1
- package/docs/components/EdsFieldsetAction.html +1 -1
- package/docs/components/EdsFieldsetDescription.html +1 -1
- package/docs/components/EdsFieldsetIcon.html +1 -1
- package/docs/components/EdsFieldsetTitle.html +1 -1
- package/docs/components/EdsFileUpload.html +1 -1
- package/docs/components/EdsFileUploadPreview.html +1 -1
- package/docs/components/EdsFlexLayout.html +1 -1
- package/docs/components/EdsGaugeChart.html +1 -1
- package/docs/components/EdsGeoChart.html +1 -1
- package/docs/components/EdsGridLayout.html +1 -1
- package/docs/components/EdsGridLayoutCell.html +1 -1
- package/docs/components/EdsGridLayoutRow.html +1 -1
- package/docs/components/EdsGrowl.html +1 -1
- package/docs/components/EdsIcon.html +1 -1
- package/docs/components/EdsIconButton.html +1 -1
- package/docs/components/EdsIconImage.html +1 -1
- package/docs/components/EdsIconState.html +1 -1
- package/docs/components/EdsIconToggle.html +1 -1
- package/docs/components/{EdsInputGroupAddon.html → EdsInputAddon.html} +95 -14
- package/docs/components/EdsInputButton.html +1 -1
- package/docs/components/EdsInputCheckbox.html +1 -1
- package/docs/components/EdsInputGroup.html +1 -1
- package/docs/components/EdsInputIcon.html +1 -1
- package/docs/components/EdsInputNumber.html +1 -1
- package/docs/components/EdsInputPassword.html +1 -1
- package/docs/components/EdsInputPrompt.html +1 -1
- package/docs/components/EdsInputRadio.html +1 -1
- package/docs/components/EdsInputText.html +1 -1
- package/docs/components/EdsLabel.html +63 -1
- package/docs/components/EdsLanguageSelector.html +1 -1
- package/docs/components/EdsLanguageSelectorDialog.html +1 -1
- package/docs/components/EdsLink.html +1 -1
- package/docs/components/EdsList.html +1 -1
- package/docs/components/EdsListItem.html +1 -1
- package/docs/components/EdsListItemContent.html +1 -1
- package/docs/components/EdsListItemEnd.html +1 -1
- package/docs/components/EdsListItemLabel.html +1 -1
- package/docs/components/EdsListItemStart.html +1 -1
- package/docs/components/EdsLoadingIndicator.html +1 -1
- package/docs/components/EdsMenu.html +1 -1
- package/docs/components/EdsMenuItemComponent.html +1 -1
- package/docs/components/EdsMessageBox.html +1 -1
- package/docs/components/EdsMultiselect.html +1 -1
- package/docs/components/EdsMultiselectOption.html +1 -1
- package/docs/components/EdsOverlay.html +1 -1
- package/docs/components/EdsOverlayContent.html +1 -1
- package/docs/components/EdsOverlayFooter.html +1 -1
- package/docs/components/EdsOverlayHeader.html +1 -1
- package/docs/components/EdsOverlayHeaderActionItems.html +1 -1
- package/docs/components/EdsOverlayHeaderLabel.html +1 -1
- package/docs/components/EdsOverlayHeaderSublabel.html +1 -1
- package/docs/components/EdsPage.html +1 -1
- package/docs/components/EdsPageBreadcrumb.html +1 -1
- package/docs/components/EdsPageColumn.html +1 -1
- package/docs/components/EdsPageColumnBody.html +1 -1
- package/docs/components/EdsPageColumnFooter.html +1 -1
- package/docs/components/EdsPageColumnHeader.html +1 -1
- package/docs/components/EdsPageColumnHeaderActionItems.html +1 -1
- package/docs/components/EdsPageColumnHeaderLabel.html +1 -1
- package/docs/components/EdsPageColumnHeaderSublabel.html +1 -1
- package/docs/components/EdsPageColumns.html +1 -1
- package/docs/components/EdsPageContent.html +1 -1
- package/docs/components/EdsPageFooter.html +1 -1
- package/docs/components/EdsPageHeader.html +1 -1
- package/docs/components/EdsPageHeaderActionItems.html +1 -1
- package/docs/components/EdsPageHeaderBody.html +1 -1
- package/docs/components/EdsPageHeaderLabel.html +1 -1
- package/docs/components/EdsPageHeaderSublabel.html +1 -1
- package/docs/components/EdsPaginator.html +1 -1
- package/docs/components/EdsPopover.html +1 -1
- package/docs/components/EdsPopoverContainer.html +1 -1
- package/docs/components/EdsProgressBar.html +1 -1
- package/docs/components/EdsProgressCircle.html +1 -1
- package/docs/components/EdsRating.html +1 -1
- package/docs/components/EdsSegmentedControl.html +1 -1
- package/docs/components/EdsSegmentedControlItem.html +1 -1
- package/docs/components/EdsSelect.html +1 -1
- package/docs/components/EdsShell.html +1 -1
- package/docs/components/EdsShellContent.html +1 -1
- package/docs/components/EdsShellFooter.html +1 -1
- package/docs/components/EdsShellHeader.html +1 -1
- package/docs/components/EdsShellHeaderApp.html +1 -1
- package/docs/components/EdsShellHeaderEnd.html +1 -1
- package/docs/components/EdsShellHeaderEnvironment.html +1 -1
- package/docs/components/EdsShellHeaderLogo.html +1 -1
- package/docs/components/EdsShellHeaderStart.html +1 -1
- package/docs/components/EdsShellMenuToggle.html +1 -1
- package/docs/components/EdsShellSidebar.html +1 -1
- package/docs/components/EdsShellSidebarBottomNav.html +1 -1
- package/docs/components/EdsShellSidebarFooter.html +1 -1
- package/docs/components/EdsShellSidebarHeader.html +1 -1
- package/docs/components/EdsShellSidebarNav.html +1 -1
- package/docs/components/EdsShellToolbar.html +1 -1
- package/docs/components/EdsShellToolbarApp.html +1 -1
- package/docs/components/EdsShellToolbarCenter.html +1 -1
- package/docs/components/EdsShellToolbarEnd.html +1 -1
- package/docs/components/EdsShellToolbarEnvironment.html +1 -1
- package/docs/components/EdsShellToolbarLogo.html +1 -1
- package/docs/components/EdsShellToolbarStart.html +1 -1
- package/docs/components/EdsShellTopMessage.html +95 -12
- package/docs/components/EdsSkeleton.html +1 -1
- package/docs/components/EdsSlider.html +1 -1
- package/docs/components/EdsSnc.html +1 -1
- package/docs/components/EdsSparkline.html +1 -1
- package/docs/components/EdsSplitButton.html +1 -1
- package/docs/components/EdsSwiper.html +1 -1
- package/docs/components/EdsSwiperItem.html +1 -1
- package/docs/components/EdsSwitch.html +1 -1
- package/docs/components/EdsTab.html +1 -1
- package/docs/components/EdsTabBody.html +1 -1
- package/docs/components/EdsTabHeader.html +1 -1
- package/docs/components/EdsTabHeaderLabel.html +1 -1
- package/docs/components/EdsTabHeaderLeftContent.html +1 -1
- package/docs/components/EdsTabHeaderRightContent.html +1 -1
- package/docs/components/EdsTabHeaderSublabel.html +1 -1
- package/docs/components/EdsTable.html +1 -1
- package/docs/components/EdsTableFilter.html +1 -1
- package/docs/components/EdsTableSelectableHeader.html +1 -1
- package/docs/components/EdsTableSelectableRow.html +1 -1
- package/docs/components/EdsTableSortableCol.html +1 -1
- package/docs/components/EdsTabs.html +1 -1
- package/docs/components/EdsTabsRightContent.html +1 -1
- package/docs/components/EdsTag.html +1 -1
- package/docs/components/EdsTagGroup.html +1 -1
- package/docs/components/EdsTextarea.html +1 -1
- package/docs/components/EdsTimeline.html +1 -1
- package/docs/components/EdsTimelineItem.html +1 -1
- package/docs/components/EdsTimepicker.html +1 -1
- package/docs/components/EdsTooltipContainer.html +1 -1
- package/docs/components/EdsTree.html +1 -1
- package/docs/components/EdsTreeList.html +1 -1
- package/docs/components/EdsTreeListItem.html +1 -1
- package/docs/components/EdsTreeListItemContent.html +1 -1
- package/docs/components/EdsTreeListToolbar.html +1 -1
- package/docs/components/EdsTrend.html +1 -1
- package/docs/components/EdsUserProfile.html +1 -1
- package/docs/components/EdsUserProfileMenu.html +1 -1
- package/docs/components/EdsUserProfileMenuItem.html +1 -1
- package/docs/components/EdsWizard.html +1 -1
- package/docs/components/EdsWizardStepComponent.html +1 -1
- package/docs/directives/EdsColorDirective.html +0 -3
- package/docs/js/menu-wc.js +3 -6
- package/docs/js/search/search_index.js +2 -2
- package/docs/json/EdsDatepicker.md +1 -0
- package/docs/json/EdsFeedbackMessage.md +1 -1
- package/docs/json/EdsInputAddon.md +54 -0
- package/docs/json/EdsLabel.md +2 -0
- package/docs/json/EdsShellTopMessage.md +3 -5
- package/docs/json/documentation.json +460 -231
- package/docs/llms.txt +28 -22
- package/docs/miscellaneous/typealiases.html +82 -1
- package/docs/miscellaneous/variables.html +40 -2
- package/docs/overview.html +1 -1
- package/docs/properties.html +1 -1
- package/eds-input-addon/package.json +4 -0
- package/fesm2022/eui-eds-eds-datepicker.mjs +5 -3
- package/fesm2022/eui-eds-eds-datepicker.mjs.map +1 -1
- package/fesm2022/eui-eds-eds-feedback-message.mjs +4 -4
- package/fesm2022/eui-eds-eds-feedback-message.mjs.map +1 -1
- package/fesm2022/eui-eds-eds-input-addon.mjs +87 -0
- package/fesm2022/eui-eds-eds-input-addon.mjs.map +1 -0
- package/fesm2022/eui-eds-eds-input-group.mjs +1 -35
- package/fesm2022/eui-eds-eds-input-group.mjs.map +1 -1
- package/fesm2022/eui-eds-eds-label.mjs +15 -3
- package/fesm2022/eui-eds-eds-label.mjs.map +1 -1
- package/fesm2022/eui-eds-eds-shell.mjs +18 -14
- package/fesm2022/eui-eds-eds-shell.mjs.map +1 -1
- package/fesm2022/eui-eds-eds-tree.mjs +1 -1
- package/fesm2022/eui-eds-eds-tree.mjs.map +1 -1
- package/package.json +5 -1
- package/types/eui-eds-eds-datepicker.d.ts +3 -1
- package/types/eui-eds-eds-datepicker.d.ts.map +1 -1
- package/types/eui-eds-eds-feedback-message.d.ts +3 -3
- package/types/eui-eds-eds-feedback-message.d.ts.map +1 -1
- package/types/eui-eds-eds-input-addon.d.ts +70 -0
- package/types/eui-eds-eds-input-addon.d.ts.map +1 -0
- package/types/eui-eds-eds-input-group.d.ts +7 -19
- package/types/eui-eds-eds-input-group.d.ts.map +1 -1
- package/types/eui-eds-eds-label.d.ts +11 -1
- package/types/eui-eds-eds-label.d.ts.map +1 -1
- package/types/eui-eds-eds-shell.d.ts +12 -3
- package/types/eui-eds-eds-shell.d.ts.map +1 -1
- package/docs/components/EdsInputGroupAddonItem.html +0 -385
- package/docs/json/EdsInputGroupAddon.md +0 -11
- package/docs/json/EdsInputGroupAddonItem.md +0 -11
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
|
|
10
10
|
## Inputs
|
|
11
11
|
- **ariaLabel**: `string` - Aria label for the input.
|
|
12
|
+
- **clearable**: `boolean` - Whether to show a clear button that resets the selected date.
|
|
12
13
|
- **dateFormat**: `string` - Date format for display (default: dd/mm/yyyy).
|
|
13
14
|
- **disabled**: `boolean` - Whether the datepicker is disabled.
|
|
14
15
|
- **e2eAttr**: `string` - Data attribute for e2e testing.
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
A feedback message component that displays contextual feedback to users.
|
|
8
|
-
Supports different color variants (primary, neutral, info, success, warning, critical) and a muted mode.
|
|
8
|
+
Supports different color variants (primary, neutral, info, success, warning, critical, disabled) and a muted mode.
|
|
9
9
|
|
|
10
10
|
### Basic feedback message
|
|
11
11
|
```html
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# EdsInputAddon
|
|
2
|
+
|
|
3
|
+
**Type:** component
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
A layout component that positions a **non-actionable** static addon (fixed text and/or an icon)
|
|
8
|
+
flush against an input field — e.g. a currency symbol, a `https://` prefix, a unit suffix.
|
|
9
|
+
|
|
10
|
+
Visually it mirrors {@link EdsInputButton}'s footprint but reads as a **recessed extension of the
|
|
11
|
+
field**, not a control: sunken surface, muted (subtler) foreground, `cursor: default`, no hover /
|
|
12
|
+
focus states, and it is not in the tab order. Use `eds-input-button` when the trailing/leading
|
|
13
|
+
element must be clickable; use `eds-input-addon` when it is purely contextual text/icon.
|
|
14
|
+
|
|
15
|
+
### Addon at start of input (default)
|
|
16
|
+
```html
|
|
17
|
+
<eds-input-addon>
|
|
18
|
+
<span>https://</span>
|
|
19
|
+
<input edsInputText placeholder="example.com" />
|
|
20
|
+
</eds-input-addon>
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
### Addon at end of input
|
|
24
|
+
```html
|
|
25
|
+
<eds-input-addon position="end">
|
|
26
|
+
<input edsInputText placeholder="0.00" />
|
|
27
|
+
<span>EUR</span>
|
|
28
|
+
</eds-input-addon>
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
### With an icon
|
|
32
|
+
```html
|
|
33
|
+
<eds-input-addon>
|
|
34
|
+
<eds-icon icon="magnifying-glass" ariaHidden />
|
|
35
|
+
<input edsInputText placeholder="Search..." />
|
|
36
|
+
</eds-input-addon>
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
### Accessibility
|
|
40
|
+
- The addon is presentational context, not a control — it has no role and is not focusable.
|
|
41
|
+
- When the addon gives the input meaning (currency, prefix, unit), give the projected text an
|
|
42
|
+
`id` and reference it from the input via `aria-describedby` so assistive tech announces it.
|
|
43
|
+
- When it is purely decorative (repeats the label), mark it `aria-hidden="true"`.
|
|
44
|
+
|
|
45
|
+
### Notes
|
|
46
|
+
- Default position is `start` (left in LTR, right in RTL); set `position="end"` for the other side.
|
|
47
|
+
- Projects plain text, an `<eds-icon>`, or both.
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
**Selector:** `eds-input-addon`
|
|
51
|
+
|
|
52
|
+
## Inputs
|
|
53
|
+
- **e2eAttr**: `string` - Data attribute value for end-to-end testing identification. Applied as data-e2e attribute on the host element. 'eds-input-addon'
|
|
54
|
+
- **position**: `EdsInputAddonPosition` - Which side of the input the addon sits on, reflected as the `position` host attribute. `start` = left in LTR (right in RTL); `end` = the opposite side. 'start'
|
package/docs/json/EdsLabel.md
CHANGED
|
@@ -21,3 +21,5 @@ Usage:
|
|
|
21
21
|
## Inputs
|
|
22
22
|
- **color**: `EdsLabelColor` - Semantic color of the label. 'neutral'
|
|
23
23
|
- **edsRequired**: `boolean` - Marks the label as required (appends a red asterisk). false
|
|
24
|
+
- **hasOptionalLabel**: `boolean` - Appends an `(optional)` text label to the label. false
|
|
25
|
+
- **hasRequiredLabel**: `boolean` - When `edsRequired` is set, appends a `(required)` text label instead of the asterisk. false
|
|
@@ -8,12 +8,10 @@
|
|
|
8
8
|
**Selector:** `eds-shell-top-message`
|
|
9
9
|
|
|
10
10
|
## Inputs
|
|
11
|
+
- **color**: `EdsShellTopMessageColor` - Semantic color variant of the message.
|
|
12
|
+
- **e2eAttr**: `string` - Test hook.
|
|
11
13
|
- **isDismissible**: `boolean` - Whether the close button is shown.
|
|
12
|
-
- **
|
|
13
|
-
- **edsCritical**: `any` - From host directive: #[[file:EdsColorDirective.md]]
|
|
14
|
-
- **edsInfo**: `any` - From host directive: #[[file:EdsColorDirective.md]]
|
|
15
|
-
- **edsSuccess**: `any` - From host directive: #[[file:EdsColorDirective.md]]
|
|
16
|
-
- **edsColorVariant**: `any` - From host directive: #[[file:EdsColorDirective.md]]
|
|
14
|
+
- **variant**: `EdsShellTopMessageVariant` - Surface treatment. `default` = subtler surface, `filled` = full color surface.
|
|
17
15
|
|
|
18
16
|
## Outputs
|
|
19
17
|
- **dismissed**: `void` - Emits when the message is dismissed.
|