@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.
Files changed (265) hide show
  1. package/docs/changelog.html +27 -0
  2. package/docs/components/EdsAccordion.html +1 -1
  3. package/docs/components/EdsAccordionItem.html +1 -1
  4. package/docs/components/EdsAlert.html +1 -1
  5. package/docs/components/EdsAlertTitle.html +1 -1
  6. package/docs/components/EdsAutocomplete.html +1 -1
  7. package/docs/components/EdsAutocompleteOption.html +1 -1
  8. package/docs/components/EdsAutocompleteOptionGroup.html +1 -1
  9. package/docs/components/EdsAutocompletePanel.html +1 -1
  10. package/docs/components/EdsAvatar.html +1 -1
  11. package/docs/components/EdsAvatarBadge.html +1 -1
  12. package/docs/components/EdsAvatarContent.html +1 -1
  13. package/docs/components/EdsAvatarContentLabel.html +1 -1
  14. package/docs/components/EdsAvatarContentSublabel.html +1 -1
  15. package/docs/components/EdsAvatarIcon.html +1 -1
  16. package/docs/components/EdsAvatarImage.html +1 -1
  17. package/docs/components/EdsAvatarList.html +1 -1
  18. package/docs/components/EdsAvatarText.html +1 -1
  19. package/docs/components/EdsBadge.html +1 -1
  20. package/docs/components/EdsBanner.html +1 -1
  21. package/docs/components/EdsBannerCta.html +1 -1
  22. package/docs/components/EdsBannerDescription.html +1 -1
  23. package/docs/components/EdsBannerPicture.html +1 -1
  24. package/docs/components/EdsBannerTitle.html +1 -1
  25. package/docs/components/EdsBlockContent.html +1 -1
  26. package/docs/components/EdsBlockDocument.html +1 -1
  27. package/docs/components/EdsBlockquote.html +1 -1
  28. package/docs/components/EdsBreadcrumb.html +1 -1
  29. package/docs/components/EdsBreadcrumbItem.html +1 -1
  30. package/docs/components/EdsButton.html +1 -1
  31. package/docs/components/EdsCalendar.html +1 -1
  32. package/docs/components/EdsCalendarDay.html +1 -1
  33. package/docs/components/EdsCalendarHeader.html +1 -1
  34. package/docs/components/EdsCalendarMonthly.html +1 -1
  35. package/docs/components/EdsCalendarWeekly.html +1 -1
  36. package/docs/components/EdsCalendarWeeklyDayContent.html +1 -1
  37. package/docs/components/EdsCalendarWeeklyDayHeader.html +1 -1
  38. package/docs/components/EdsCalendarWeeklyDayHeaderAction.html +1 -1
  39. package/docs/components/EdsCard.html +1 -1
  40. package/docs/components/EdsCardBody.html +1 -1
  41. package/docs/components/EdsCardFooter.html +1 -1
  42. package/docs/components/EdsCardHeader.html +1 -1
  43. package/docs/components/EdsCardHeaderEnd.html +1 -1
  44. package/docs/components/EdsCardLabel.html +1 -1
  45. package/docs/components/EdsCardMedia.html +1 -1
  46. package/docs/components/EdsCardMetadata.html +1 -1
  47. package/docs/components/EdsCardStart.html +1 -1
  48. package/docs/components/EdsCardSublabel.html +1 -1
  49. package/docs/components/EdsCarousel.html +1 -1
  50. package/docs/components/EdsCarouselItem.html +1 -1
  51. package/docs/components/EdsChart.html +1 -1
  52. package/docs/components/EdsChartLegend.html +1 -1
  53. package/docs/components/EdsChartLegendItem.html +1 -1
  54. package/docs/components/EdsChatBubble.html +1 -1
  55. package/docs/components/EdsChatBubbleContent.html +1 -1
  56. package/docs/components/EdsChatBubbleGroup.html +1 -1
  57. package/docs/components/EdsChatBubbleReactions.html +1 -1
  58. package/docs/components/EdsChip.html +1 -1
  59. package/docs/components/EdsChipList.html +1 -1
  60. package/docs/components/EdsChipListAdditionalContent.html +1 -1
  61. package/docs/components/EdsChipListAppendContent.html +1 -1
  62. package/docs/components/EdsDateBlock.html +1 -1
  63. package/docs/components/EdsDatepicker.html +32 -2
  64. package/docs/components/EdsDialog.html +1 -1
  65. package/docs/components/EdsDialogContainer.html +1 -1
  66. package/docs/components/EdsDimmer.html +1 -1
  67. package/docs/components/EdsDisableContent.html +1 -1
  68. package/docs/components/EdsDiscussionThread.html +1 -1
  69. package/docs/components/EdsDiscussionThreadItem.html +1 -1
  70. package/docs/components/EdsDropdown.html +1 -1
  71. package/docs/components/EdsDropdownItem.html +1 -1
  72. package/docs/components/EdsEmptyState.html +1 -1
  73. package/docs/components/EdsEmptyStateActions.html +1 -1
  74. package/docs/components/EdsEmptyStateDescription.html +1 -1
  75. package/docs/components/EdsEmptyStateIcon.html +1 -1
  76. package/docs/components/EdsEmptyStateTitle.html +1 -1
  77. package/docs/components/EdsFabButton.html +1 -1
  78. package/docs/components/EdsFabButtonItem.html +1 -1
  79. package/docs/components/EdsFeedbackMessage.html +2 -2
  80. package/docs/components/EdsFieldset.html +1 -1
  81. package/docs/components/EdsFieldsetAction.html +1 -1
  82. package/docs/components/EdsFieldsetDescription.html +1 -1
  83. package/docs/components/EdsFieldsetIcon.html +1 -1
  84. package/docs/components/EdsFieldsetTitle.html +1 -1
  85. package/docs/components/EdsFileUpload.html +1 -1
  86. package/docs/components/EdsFileUploadPreview.html +1 -1
  87. package/docs/components/EdsFlexLayout.html +1 -1
  88. package/docs/components/EdsGaugeChart.html +1 -1
  89. package/docs/components/EdsGeoChart.html +1 -1
  90. package/docs/components/EdsGridLayout.html +1 -1
  91. package/docs/components/EdsGridLayoutCell.html +1 -1
  92. package/docs/components/EdsGridLayoutRow.html +1 -1
  93. package/docs/components/EdsGrowl.html +1 -1
  94. package/docs/components/EdsIcon.html +1 -1
  95. package/docs/components/EdsIconButton.html +1 -1
  96. package/docs/components/EdsIconImage.html +1 -1
  97. package/docs/components/EdsIconState.html +1 -1
  98. package/docs/components/EdsIconToggle.html +1 -1
  99. package/docs/components/{EdsInputGroupAddon.html → EdsInputAddon.html} +95 -14
  100. package/docs/components/EdsInputButton.html +1 -1
  101. package/docs/components/EdsInputCheckbox.html +1 -1
  102. package/docs/components/EdsInputGroup.html +1 -1
  103. package/docs/components/EdsInputIcon.html +1 -1
  104. package/docs/components/EdsInputNumber.html +1 -1
  105. package/docs/components/EdsInputPassword.html +1 -1
  106. package/docs/components/EdsInputPrompt.html +1 -1
  107. package/docs/components/EdsInputRadio.html +1 -1
  108. package/docs/components/EdsInputText.html +1 -1
  109. package/docs/components/EdsLabel.html +63 -1
  110. package/docs/components/EdsLanguageSelector.html +1 -1
  111. package/docs/components/EdsLanguageSelectorDialog.html +1 -1
  112. package/docs/components/EdsLink.html +1 -1
  113. package/docs/components/EdsList.html +1 -1
  114. package/docs/components/EdsListItem.html +1 -1
  115. package/docs/components/EdsListItemContent.html +1 -1
  116. package/docs/components/EdsListItemEnd.html +1 -1
  117. package/docs/components/EdsListItemLabel.html +1 -1
  118. package/docs/components/EdsListItemStart.html +1 -1
  119. package/docs/components/EdsLoadingIndicator.html +1 -1
  120. package/docs/components/EdsMenu.html +1 -1
  121. package/docs/components/EdsMenuItemComponent.html +1 -1
  122. package/docs/components/EdsMessageBox.html +1 -1
  123. package/docs/components/EdsMultiselect.html +1 -1
  124. package/docs/components/EdsMultiselectOption.html +1 -1
  125. package/docs/components/EdsOverlay.html +1 -1
  126. package/docs/components/EdsOverlayContent.html +1 -1
  127. package/docs/components/EdsOverlayFooter.html +1 -1
  128. package/docs/components/EdsOverlayHeader.html +1 -1
  129. package/docs/components/EdsOverlayHeaderActionItems.html +1 -1
  130. package/docs/components/EdsOverlayHeaderLabel.html +1 -1
  131. package/docs/components/EdsOverlayHeaderSublabel.html +1 -1
  132. package/docs/components/EdsPage.html +1 -1
  133. package/docs/components/EdsPageBreadcrumb.html +1 -1
  134. package/docs/components/EdsPageColumn.html +1 -1
  135. package/docs/components/EdsPageColumnBody.html +1 -1
  136. package/docs/components/EdsPageColumnFooter.html +1 -1
  137. package/docs/components/EdsPageColumnHeader.html +1 -1
  138. package/docs/components/EdsPageColumnHeaderActionItems.html +1 -1
  139. package/docs/components/EdsPageColumnHeaderLabel.html +1 -1
  140. package/docs/components/EdsPageColumnHeaderSublabel.html +1 -1
  141. package/docs/components/EdsPageColumns.html +1 -1
  142. package/docs/components/EdsPageContent.html +1 -1
  143. package/docs/components/EdsPageFooter.html +1 -1
  144. package/docs/components/EdsPageHeader.html +1 -1
  145. package/docs/components/EdsPageHeaderActionItems.html +1 -1
  146. package/docs/components/EdsPageHeaderBody.html +1 -1
  147. package/docs/components/EdsPageHeaderLabel.html +1 -1
  148. package/docs/components/EdsPageHeaderSublabel.html +1 -1
  149. package/docs/components/EdsPaginator.html +1 -1
  150. package/docs/components/EdsPopover.html +1 -1
  151. package/docs/components/EdsPopoverContainer.html +1 -1
  152. package/docs/components/EdsProgressBar.html +1 -1
  153. package/docs/components/EdsProgressCircle.html +1 -1
  154. package/docs/components/EdsRating.html +1 -1
  155. package/docs/components/EdsSegmentedControl.html +1 -1
  156. package/docs/components/EdsSegmentedControlItem.html +1 -1
  157. package/docs/components/EdsSelect.html +1 -1
  158. package/docs/components/EdsShell.html +1 -1
  159. package/docs/components/EdsShellContent.html +1 -1
  160. package/docs/components/EdsShellFooter.html +1 -1
  161. package/docs/components/EdsShellHeader.html +1 -1
  162. package/docs/components/EdsShellHeaderApp.html +1 -1
  163. package/docs/components/EdsShellHeaderEnd.html +1 -1
  164. package/docs/components/EdsShellHeaderEnvironment.html +1 -1
  165. package/docs/components/EdsShellHeaderLogo.html +1 -1
  166. package/docs/components/EdsShellHeaderStart.html +1 -1
  167. package/docs/components/EdsShellMenuToggle.html +1 -1
  168. package/docs/components/EdsShellSidebar.html +1 -1
  169. package/docs/components/EdsShellSidebarBottomNav.html +1 -1
  170. package/docs/components/EdsShellSidebarFooter.html +1 -1
  171. package/docs/components/EdsShellSidebarHeader.html +1 -1
  172. package/docs/components/EdsShellSidebarNav.html +1 -1
  173. package/docs/components/EdsShellToolbar.html +1 -1
  174. package/docs/components/EdsShellToolbarApp.html +1 -1
  175. package/docs/components/EdsShellToolbarCenter.html +1 -1
  176. package/docs/components/EdsShellToolbarEnd.html +1 -1
  177. package/docs/components/EdsShellToolbarEnvironment.html +1 -1
  178. package/docs/components/EdsShellToolbarLogo.html +1 -1
  179. package/docs/components/EdsShellToolbarStart.html +1 -1
  180. package/docs/components/EdsShellTopMessage.html +95 -12
  181. package/docs/components/EdsSkeleton.html +1 -1
  182. package/docs/components/EdsSlider.html +1 -1
  183. package/docs/components/EdsSnc.html +1 -1
  184. package/docs/components/EdsSparkline.html +1 -1
  185. package/docs/components/EdsSplitButton.html +1 -1
  186. package/docs/components/EdsSwiper.html +1 -1
  187. package/docs/components/EdsSwiperItem.html +1 -1
  188. package/docs/components/EdsSwitch.html +1 -1
  189. package/docs/components/EdsTab.html +1 -1
  190. package/docs/components/EdsTabBody.html +1 -1
  191. package/docs/components/EdsTabHeader.html +1 -1
  192. package/docs/components/EdsTabHeaderLabel.html +1 -1
  193. package/docs/components/EdsTabHeaderLeftContent.html +1 -1
  194. package/docs/components/EdsTabHeaderRightContent.html +1 -1
  195. package/docs/components/EdsTabHeaderSublabel.html +1 -1
  196. package/docs/components/EdsTable.html +1 -1
  197. package/docs/components/EdsTableFilter.html +1 -1
  198. package/docs/components/EdsTableSelectableHeader.html +1 -1
  199. package/docs/components/EdsTableSelectableRow.html +1 -1
  200. package/docs/components/EdsTableSortableCol.html +1 -1
  201. package/docs/components/EdsTabs.html +1 -1
  202. package/docs/components/EdsTabsRightContent.html +1 -1
  203. package/docs/components/EdsTag.html +1 -1
  204. package/docs/components/EdsTagGroup.html +1 -1
  205. package/docs/components/EdsTextarea.html +1 -1
  206. package/docs/components/EdsTimeline.html +1 -1
  207. package/docs/components/EdsTimelineItem.html +1 -1
  208. package/docs/components/EdsTimepicker.html +1 -1
  209. package/docs/components/EdsTooltipContainer.html +1 -1
  210. package/docs/components/EdsTree.html +1 -1
  211. package/docs/components/EdsTreeList.html +1 -1
  212. package/docs/components/EdsTreeListItem.html +1 -1
  213. package/docs/components/EdsTreeListItemContent.html +1 -1
  214. package/docs/components/EdsTreeListToolbar.html +1 -1
  215. package/docs/components/EdsTrend.html +1 -1
  216. package/docs/components/EdsUserProfile.html +1 -1
  217. package/docs/components/EdsUserProfileMenu.html +1 -1
  218. package/docs/components/EdsUserProfileMenuItem.html +1 -1
  219. package/docs/components/EdsWizard.html +1 -1
  220. package/docs/components/EdsWizardStepComponent.html +1 -1
  221. package/docs/directives/EdsColorDirective.html +0 -3
  222. package/docs/js/menu-wc.js +3 -6
  223. package/docs/js/search/search_index.js +2 -2
  224. package/docs/json/EdsDatepicker.md +1 -0
  225. package/docs/json/EdsFeedbackMessage.md +1 -1
  226. package/docs/json/EdsInputAddon.md +54 -0
  227. package/docs/json/EdsLabel.md +2 -0
  228. package/docs/json/EdsShellTopMessage.md +3 -5
  229. package/docs/json/documentation.json +460 -231
  230. package/docs/llms.txt +28 -22
  231. package/docs/miscellaneous/typealiases.html +82 -1
  232. package/docs/miscellaneous/variables.html +40 -2
  233. package/docs/overview.html +1 -1
  234. package/docs/properties.html +1 -1
  235. package/eds-input-addon/package.json +4 -0
  236. package/fesm2022/eui-eds-eds-datepicker.mjs +5 -3
  237. package/fesm2022/eui-eds-eds-datepicker.mjs.map +1 -1
  238. package/fesm2022/eui-eds-eds-feedback-message.mjs +4 -4
  239. package/fesm2022/eui-eds-eds-feedback-message.mjs.map +1 -1
  240. package/fesm2022/eui-eds-eds-input-addon.mjs +87 -0
  241. package/fesm2022/eui-eds-eds-input-addon.mjs.map +1 -0
  242. package/fesm2022/eui-eds-eds-input-group.mjs +1 -35
  243. package/fesm2022/eui-eds-eds-input-group.mjs.map +1 -1
  244. package/fesm2022/eui-eds-eds-label.mjs +15 -3
  245. package/fesm2022/eui-eds-eds-label.mjs.map +1 -1
  246. package/fesm2022/eui-eds-eds-shell.mjs +18 -14
  247. package/fesm2022/eui-eds-eds-shell.mjs.map +1 -1
  248. package/fesm2022/eui-eds-eds-tree.mjs +1 -1
  249. package/fesm2022/eui-eds-eds-tree.mjs.map +1 -1
  250. package/package.json +5 -1
  251. package/types/eui-eds-eds-datepicker.d.ts +3 -1
  252. package/types/eui-eds-eds-datepicker.d.ts.map +1 -1
  253. package/types/eui-eds-eds-feedback-message.d.ts +3 -3
  254. package/types/eui-eds-eds-feedback-message.d.ts.map +1 -1
  255. package/types/eui-eds-eds-input-addon.d.ts +70 -0
  256. package/types/eui-eds-eds-input-addon.d.ts.map +1 -0
  257. package/types/eui-eds-eds-input-group.d.ts +7 -19
  258. package/types/eui-eds-eds-input-group.d.ts.map +1 -1
  259. package/types/eui-eds-eds-label.d.ts +11 -1
  260. package/types/eui-eds-eds-label.d.ts.map +1 -1
  261. package/types/eui-eds-eds-shell.d.ts +12 -3
  262. package/types/eui-eds-eds-shell.d.ts.map +1 -1
  263. package/docs/components/EdsInputGroupAddonItem.html +0 -385
  264. package/docs/json/EdsInputGroupAddon.md +0 -11
  265. 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'
@@ -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
- - **edsWarning**: `any` - From host directive: #[[file:EdsColorDirective.md]]
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.