@eui/eds 23.0.0-alpha.6 → 23.0.0-alpha.8

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 (232) hide show
  1. package/docs/changelog.html +86 -0
  2. package/docs/classes/EdsChipModel.html +6 -6
  3. package/docs/classes/{EuiChipTooltip.html → EdsChipTooltip.html} +2 -2
  4. package/docs/components/EdsAlert.html +27 -226
  5. package/docs/components/EdsAlertTitle.html +2 -2
  6. package/docs/components/EdsAvatar.html +35 -108
  7. package/docs/components/EdsAvatarBadge.html +2 -2
  8. package/docs/components/EdsAvatarContent.html +2 -2
  9. package/docs/components/EdsAvatarContentLabel.html +2 -2
  10. package/docs/components/EdsAvatarContentSublabel.html +2 -2
  11. package/docs/components/EdsAvatarIcon.html +2 -2
  12. package/docs/components/EdsAvatarImage.html +2 -2
  13. package/docs/components/EdsAvatarList.html +2 -2
  14. package/docs/components/EdsAvatarText.html +2 -2
  15. package/docs/components/EdsBadge.html +41 -175
  16. package/docs/components/EdsButton.html +123 -123
  17. package/docs/components/EdsChip.html +135 -254
  18. package/docs/components/EdsIcon.html +93 -145
  19. package/docs/components/EdsIconButton.html +72 -86
  20. package/docs/components/EdsIconImage.html +5 -5
  21. package/docs/components/EdsIconState.html +47 -61
  22. package/docs/components/EdsLanguageSelector.html +870 -0
  23. package/docs/components/EdsMenu.html +631 -0
  24. package/docs/components/EdsMenuItemComponent.html +728 -0
  25. package/docs/components/EdsOverlay.html +804 -0
  26. package/docs/components/EdsOverlayContent.html +315 -0
  27. package/docs/components/EdsOverlayFooter.html +315 -0
  28. package/docs/components/EdsOverlayHeader.html +458 -0
  29. package/docs/components/EdsOverlayHeaderActionItems.html +315 -0
  30. package/docs/components/EdsOverlayHeaderLabel.html +315 -0
  31. package/docs/components/EdsOverlayHeaderSublabel.html +315 -0
  32. package/docs/components/EdsPage.html +315 -0
  33. package/docs/components/EdsPageContent.html +319 -0
  34. package/docs/components/EdsPageFooter.html +387 -0
  35. package/docs/components/EdsPageHeader.html +673 -0
  36. package/docs/components/EdsPageHeaderActionItems.html +315 -0
  37. package/docs/components/EdsPageHeaderBody.html +315 -0
  38. package/docs/components/EdsPageHeaderLabel.html +315 -0
  39. package/docs/components/EdsPageHeaderSublabel.html +315 -0
  40. package/docs/components/EdsShell.html +1078 -0
  41. package/docs/components/EdsShellContent.html +315 -0
  42. package/docs/components/EdsShellFooter.html +383 -0
  43. package/docs/components/EdsShellHeader.html +383 -0
  44. package/docs/components/EdsShellHeaderApp.html +443 -0
  45. package/docs/components/EdsShellHeaderEnd.html +311 -0
  46. package/docs/components/EdsShellHeaderEnvironment.html +315 -0
  47. package/docs/components/EdsShellHeaderLogo.html +561 -0
  48. package/docs/components/EdsShellHeaderStart.html +311 -0
  49. package/docs/components/EdsShellMenuToggle.html +458 -0
  50. package/docs/components/EdsShellSidebar.html +413 -0
  51. package/docs/components/EdsShellSidebarBottomNav.html +624 -0
  52. package/docs/components/EdsShellSidebarFooter.html +315 -0
  53. package/docs/components/EdsShellSidebarHeader.html +508 -0
  54. package/docs/components/EdsShellSidebarNav.html +624 -0
  55. package/docs/components/EdsShellToolbar.html +315 -0
  56. package/docs/components/EdsShellToolbarApp.html +443 -0
  57. package/docs/components/EdsShellToolbarEnd.html +315 -0
  58. package/docs/components/EdsShellToolbarEnvironment.html +315 -0
  59. package/docs/components/EdsShellToolbarLogo.html +315 -0
  60. package/docs/components/EdsShellToolbarStart.html +315 -0
  61. package/docs/components/EdsShellTopMessage.html +574 -0
  62. package/docs/components/EdsTab.html +6 -10
  63. package/docs/components/EdsTabBody.html +6 -10
  64. package/docs/components/EdsTabHeader.html +6 -10
  65. package/docs/components/EdsTabHeaderLabel.html +2 -2
  66. package/docs/components/EdsTabHeaderLeftContent.html +2 -2
  67. package/docs/components/EdsTabHeaderRightContent.html +2 -2
  68. package/docs/components/EdsTabHeaderSublabel.html +2 -2
  69. package/docs/components/EdsTabs.html +61 -126
  70. package/docs/components/EdsTabsRightContent.html +2 -2
  71. package/docs/components/EdsTag.html +82 -182
  72. package/docs/components/EdsTooltipContainer.html +2 -2
  73. package/docs/components/EdsUserProfile.html +1336 -0
  74. package/docs/components/EdsUserProfileMenu.html +315 -0
  75. package/docs/components/EdsUserProfileMenuItem.html +511 -0
  76. package/docs/directives/{EuiBaseColorVariantsDirective.html → EdsBaseColorVariantsDirective.html} +174 -91
  77. package/docs/directives/{EuiBaseSizeVariantsDirective.html → EdsBaseSizeVariantsDirective.html} +107 -107
  78. package/docs/directives/EdsResizable.html +586 -0
  79. package/docs/directives/EdsTooltip.html +21 -21
  80. package/docs/interfaces/EdsLanguage.html +368 -0
  81. package/docs/interfaces/EdsMenuItem.html +731 -0
  82. package/docs/js/menu-wc.js +146 -5
  83. package/docs/js/search/search_index.js +2 -2
  84. package/docs/json/EdsAlert.md +7 -7
  85. package/docs/json/EdsAvatar.md +8 -7
  86. package/docs/json/EdsBadge.md +14 -14
  87. package/docs/json/EdsBaseColorVariantsDirective.md +22 -0
  88. package/docs/json/EdsBaseSizeVariantsDirective.md +23 -0
  89. package/docs/json/EdsButton.md +21 -21
  90. package/docs/json/EdsChip.md +15 -14
  91. package/docs/json/EdsIcon.md +23 -23
  92. package/docs/json/EdsIconButton.md +18 -17
  93. package/docs/json/EdsIconImage.md +10 -10
  94. package/docs/json/EdsIconState.md +12 -12
  95. package/docs/json/EdsLanguageSelector.md +16 -0
  96. package/docs/json/EdsMenu.md +17 -0
  97. package/docs/json/EdsMenuItemComponent.md +18 -0
  98. package/docs/json/EdsOverlay.md +19 -0
  99. package/docs/json/EdsOverlayContent.md +8 -0
  100. package/docs/json/EdsOverlayFooter.md +8 -0
  101. package/docs/json/EdsOverlayHeader.md +11 -0
  102. package/docs/json/EdsOverlayHeaderActionItems.md +8 -0
  103. package/docs/json/EdsOverlayHeaderLabel.md +8 -0
  104. package/docs/json/EdsOverlayHeaderSublabel.md +8 -0
  105. package/docs/json/EdsPage.md +8 -0
  106. package/docs/json/EdsPageContent.md +8 -0
  107. package/docs/json/EdsPageFooter.md +11 -0
  108. package/docs/json/EdsPageHeader.md +18 -0
  109. package/docs/json/EdsPageHeaderActionItems.md +8 -0
  110. package/docs/json/EdsPageHeaderBody.md +8 -0
  111. package/docs/json/EdsPageHeaderLabel.md +8 -0
  112. package/docs/json/EdsPageHeaderSublabel.md +8 -0
  113. package/docs/json/EdsResizable.md +24 -0
  114. package/docs/json/EdsShell.md +14 -0
  115. package/docs/json/EdsShellContent.md +8 -0
  116. package/docs/json/EdsShellFooter.md +11 -0
  117. package/docs/json/EdsShellHeader.md +11 -0
  118. package/docs/json/EdsShellHeaderApp.md +13 -0
  119. package/docs/json/EdsShellHeaderEnd.md +8 -0
  120. package/docs/json/EdsShellHeaderEnvironment.md +8 -0
  121. package/docs/json/EdsShellHeaderLogo.md +15 -0
  122. package/docs/json/EdsShellHeaderStart.md +8 -0
  123. package/docs/json/EdsShellMenuToggle.md +11 -0
  124. package/docs/json/EdsShellSidebar.md +12 -0
  125. package/docs/json/EdsShellSidebarBottomNav.md +17 -0
  126. package/docs/json/EdsShellSidebarFooter.md +8 -0
  127. package/docs/json/EdsShellSidebarHeader.md +15 -0
  128. package/docs/json/EdsShellSidebarNav.md +17 -0
  129. package/docs/json/EdsShellToolbar.md +8 -0
  130. package/docs/json/EdsShellToolbarApp.md +13 -0
  131. package/docs/json/EdsShellToolbarEnd.md +8 -0
  132. package/docs/json/EdsShellToolbarEnvironment.md +8 -0
  133. package/docs/json/EdsShellToolbarLogo.md +8 -0
  134. package/docs/json/EdsShellToolbarStart.md +8 -0
  135. package/docs/json/EdsShellTopMessage.md +19 -0
  136. package/docs/json/EdsTabs.md +4 -4
  137. package/docs/json/EdsTag.md +14 -13
  138. package/docs/json/EdsTooltip.md +7 -7
  139. package/docs/json/EdsUserProfile.md +21 -0
  140. package/docs/json/EdsUserProfileMenu.md +8 -0
  141. package/docs/json/EdsUserProfileMenuItem.md +8 -0
  142. package/docs/json/documentation.json +9649 -5338
  143. package/docs/llms.txt +641 -123
  144. package/docs/miscellaneous/typealiases.html +309 -0
  145. package/docs/miscellaneous/variables.html +342 -0
  146. package/docs/overview.html +3 -3
  147. package/docs/properties.html +1 -1
  148. package/eds-language-selector/package.json +4 -0
  149. package/eds-menu/package.json +4 -0
  150. package/eds-overlay/package.json +4 -0
  151. package/eds-page/package.json +4 -0
  152. package/eds-resizable/package.json +4 -0
  153. package/eds-shell/package.json +4 -0
  154. package/eds-user-profile/package.json +4 -0
  155. package/fesm2022/eui-eds-eds-alert.mjs +33 -61
  156. package/fesm2022/eui-eds-eds-alert.mjs.map +1 -1
  157. package/fesm2022/eui-eds-eds-avatar.mjs +29 -43
  158. package/fesm2022/eui-eds-eds-avatar.mjs.map +1 -1
  159. package/fesm2022/eui-eds-eds-badge.mjs +65 -89
  160. package/fesm2022/eui-eds-eds-badge.mjs.map +1 -1
  161. package/fesm2022/eui-eds-eds-button.mjs +70 -99
  162. package/fesm2022/eui-eds-eds-button.mjs.map +1 -1
  163. package/fesm2022/eui-eds-eds-chip.mjs +118 -111
  164. package/fesm2022/eui-eds-eds-chip.mjs.map +1 -1
  165. package/fesm2022/eui-eds-eds-icon-button.mjs +49 -55
  166. package/fesm2022/eui-eds-eds-icon-button.mjs.map +1 -1
  167. package/fesm2022/eui-eds-eds-icon-state.mjs +38 -34
  168. package/fesm2022/eui-eds-eds-icon-state.mjs.map +1 -1
  169. package/fesm2022/eui-eds-eds-icon.mjs +92 -107
  170. package/fesm2022/eui-eds-eds-icon.mjs.map +1 -1
  171. package/fesm2022/eui-eds-eds-language-selector.mjs +67 -0
  172. package/fesm2022/eui-eds-eds-language-selector.mjs.map +1 -0
  173. package/fesm2022/eui-eds-eds-menu.mjs +90 -0
  174. package/fesm2022/eui-eds-eds-menu.mjs.map +1 -0
  175. package/fesm2022/eui-eds-eds-overlay.mjs +141 -0
  176. package/fesm2022/eui-eds-eds-overlay.mjs.map +1 -0
  177. package/fesm2022/eui-eds-eds-page.mjs +129 -0
  178. package/fesm2022/eui-eds-eds-page.mjs.map +1 -0
  179. package/fesm2022/eui-eds-eds-resizable.mjs +193 -0
  180. package/fesm2022/eui-eds-eds-resizable.mjs.map +1 -0
  181. package/fesm2022/eui-eds-eds-shell.mjs +481 -0
  182. package/fesm2022/eui-eds-eds-shell.mjs.map +1 -0
  183. package/fesm2022/eui-eds-eds-tabs.mjs +71 -101
  184. package/fesm2022/eui-eds-eds-tabs.mjs.map +1 -1
  185. package/fesm2022/eui-eds-eds-tag.mjs +74 -77
  186. package/fesm2022/eui-eds-eds-tag.mjs.map +1 -1
  187. package/fesm2022/eui-eds-eds-tooltip.mjs +23 -23
  188. package/fesm2022/eui-eds-eds-tooltip.mjs.map +1 -1
  189. package/fesm2022/eui-eds-eds-user-profile.mjs +231 -0
  190. package/fesm2022/eui-eds-eds-user-profile.mjs.map +1 -0
  191. package/fesm2022/eui-eds-shared.mjs +255 -243
  192. package/fesm2022/eui-eds-shared.mjs.map +1 -1
  193. package/package.json +29 -1
  194. package/types/eui-eds-eds-alert.d.ts +7 -29
  195. package/types/eui-eds-eds-alert.d.ts.map +1 -1
  196. package/types/eui-eds-eds-avatar.d.ts +11 -12
  197. package/types/eui-eds-eds-avatar.d.ts.map +1 -1
  198. package/types/eui-eds-eds-badge.d.ts +15 -20
  199. package/types/eui-eds-eds-badge.d.ts.map +1 -1
  200. package/types/eui-eds-eds-button.d.ts +22 -30
  201. package/types/eui-eds-eds-button.d.ts.map +1 -1
  202. package/types/eui-eds-eds-chip.d.ts +36 -36
  203. package/types/eui-eds-eds-chip.d.ts.map +1 -1
  204. package/types/eui-eds-eds-icon-button.d.ts +13 -16
  205. package/types/eui-eds-eds-icon-button.d.ts.map +1 -1
  206. package/types/eui-eds-eds-icon-state.d.ts +8 -8
  207. package/types/eui-eds-eds-icon-state.d.ts.map +1 -1
  208. package/types/eui-eds-eds-icon.d.ts +22 -29
  209. package/types/eui-eds-eds-icon.d.ts.map +1 -1
  210. package/types/eui-eds-eds-language-selector.d.ts +34 -0
  211. package/types/eui-eds-eds-language-selector.d.ts.map +1 -0
  212. package/types/eui-eds-eds-menu.d.ts +65 -0
  213. package/types/eui-eds-eds-menu.d.ts.map +1 -0
  214. package/types/eui-eds-eds-overlay.d.ts +64 -0
  215. package/types/eui-eds-eds-overlay.d.ts.map +1 -0
  216. package/types/eui-eds-eds-page.d.ts +63 -0
  217. package/types/eui-eds-eds-page.d.ts.map +1 -0
  218. package/types/eui-eds-eds-resizable.d.ts +49 -0
  219. package/types/eui-eds-eds-resizable.d.ts.map +1 -0
  220. package/types/eui-eds-eds-shell.d.ts +229 -0
  221. package/types/eui-eds-eds-shell.d.ts.map +1 -0
  222. package/types/eui-eds-eds-tabs.d.ts +32 -30
  223. package/types/eui-eds-eds-tabs.d.ts.map +1 -1
  224. package/types/eui-eds-eds-tag.d.ts +22 -25
  225. package/types/eui-eds-eds-tag.d.ts.map +1 -1
  226. package/types/eui-eds-eds-tooltip.d.ts +16 -16
  227. package/types/eui-eds-eds-user-profile.d.ts +78 -0
  228. package/types/eui-eds-eds-user-profile.d.ts.map +1 -0
  229. package/types/eui-eds-shared.d.ts +82 -79
  230. package/types/eui-eds-shared.d.ts.map +1 -1
  231. package/docs/json/EuiBaseColorVariantsDirective.md +0 -21
  232. package/docs/json/EuiBaseSizeVariantsDirective.md +0 -23
@@ -2,327 +2,339 @@ import * as i0 from '@angular/core';
2
2
  import { Input, Directive } from '@angular/core';
3
3
  import { coerceBooleanProperty } from '@angular/cdk/coercion';
4
4
 
5
- class EuiBaseSizeVariantsDirective {
5
+ class EdsBaseSizeVariantsDirective {
6
6
  constructor() {
7
- this._euiSize2XS = false;
8
- this._euiSizeXS = false;
9
- this._euiSizeS = false;
10
- this._euiSizeM = false;
11
- this._euiSizeL = false;
12
- this._euiSizeXL = false;
13
- this._euiSize2XL = false;
14
- this._euiSize3XL = false;
15
- this._euiSize4XL = false;
16
- this._euiSize5XL = false;
17
- this._euiSize6XL = false;
18
- this._euiSizeAuto = false;
19
- this._euiSizeVariant = '';
7
+ this._edsSize2XS = false;
8
+ this._edsSizeXS = false;
9
+ this._edsSizeS = false;
10
+ this._edsSizeM = false;
11
+ this._edsSizeL = false;
12
+ this._edsSizeXL = false;
13
+ this._edsSize2XL = false;
14
+ this._edsSize3XL = false;
15
+ this._edsSize4XL = false;
16
+ this._edsSize5XL = false;
17
+ this._edsSize6XL = false;
18
+ this._edsSizeAuto = false;
19
+ this._edsSizeVariant = '';
20
20
  }
21
21
  // SIZES
22
- get euiSize2XS() {
23
- return this._euiSize2XS;
22
+ get edsSize2XS() {
23
+ return this._edsSize2XS;
24
24
  }
25
- set euiSize2XS(value) {
26
- this._euiSize2XS = coerceBooleanProperty(value);
27
- this._euiSizeVariant = this._euiSize2XS ? '2xs' : '';
25
+ set edsSize2XS(value) {
26
+ this._edsSize2XS = coerceBooleanProperty(value);
27
+ this._edsSizeVariant = this._edsSize2XS ? '2xs' : '';
28
28
  }
29
- get euiSizeXS() {
30
- return this._euiSizeXS;
29
+ get edsSizeXS() {
30
+ return this._edsSizeXS;
31
31
  }
32
- set euiSizeXS(value) {
33
- this._euiSizeXS = coerceBooleanProperty(value);
34
- this._euiSizeVariant = this._euiSizeXS ? 'xs' : '';
32
+ set edsSizeXS(value) {
33
+ this._edsSizeXS = coerceBooleanProperty(value);
34
+ this._edsSizeVariant = this._edsSizeXS ? 'xs' : '';
35
35
  }
36
- get euiSizeS() {
37
- return this._euiSizeS;
36
+ get edsSizeS() {
37
+ return this._edsSizeS;
38
38
  }
39
- set euiSizeS(value) {
40
- this._euiSizeS = coerceBooleanProperty(value);
41
- this._euiSizeVariant = this._euiSizeS ? 's' : '';
39
+ set edsSizeS(value) {
40
+ this._edsSizeS = coerceBooleanProperty(value);
41
+ this._edsSizeVariant = this._edsSizeS ? 's' : '';
42
42
  }
43
- get euiSizeM() {
44
- return this._euiSizeM;
43
+ get edsSizeM() {
44
+ return this._edsSizeM;
45
45
  }
46
- set euiSizeM(value) {
47
- this._euiSizeM = coerceBooleanProperty(value);
48
- this._euiSizeVariant = this._euiSizeM ? 'm' : '';
46
+ set edsSizeM(value) {
47
+ this._edsSizeM = coerceBooleanProperty(value);
48
+ this._edsSizeVariant = this._edsSizeM ? 'm' : '';
49
49
  }
50
- get euiSizeL() {
51
- return this._euiSizeL;
50
+ get edsSizeL() {
51
+ return this._edsSizeL;
52
52
  }
53
- set euiSizeL(value) {
54
- this._euiSizeL = coerceBooleanProperty(value);
55
- this._euiSizeVariant = this._euiSizeL ? 'l' : '';
53
+ set edsSizeL(value) {
54
+ this._edsSizeL = coerceBooleanProperty(value);
55
+ this._edsSizeVariant = this._edsSizeL ? 'l' : '';
56
56
  }
57
- get euiSizeXL() {
58
- return this._euiSizeXL;
57
+ get edsSizeXL() {
58
+ return this._edsSizeXL;
59
59
  }
60
- set euiSizeXL(value) {
61
- this._euiSizeXL = coerceBooleanProperty(value);
62
- this._euiSizeVariant = this._euiSizeXL ? 'xl' : '';
60
+ set edsSizeXL(value) {
61
+ this._edsSizeXL = coerceBooleanProperty(value);
62
+ this._edsSizeVariant = this._edsSizeXL ? 'xl' : '';
63
63
  }
64
- get euiSize2XL() {
65
- return this._euiSize2XL;
64
+ get edsSize2XL() {
65
+ return this._edsSize2XL;
66
66
  }
67
- set euiSize2XL(value) {
68
- this._euiSize2XL = coerceBooleanProperty(value);
69
- this._euiSizeVariant = this._euiSize2XL ? '2xl' : '';
67
+ set edsSize2XL(value) {
68
+ this._edsSize2XL = coerceBooleanProperty(value);
69
+ this._edsSizeVariant = this._edsSize2XL ? '2xl' : '';
70
70
  }
71
- get euiSize3XL() {
72
- return this._euiSize3XL;
71
+ get edsSize3XL() {
72
+ return this._edsSize3XL;
73
73
  }
74
- set euiSize3XL(value) {
75
- this._euiSize3XL = coerceBooleanProperty(value);
76
- this._euiSizeVariant = this._euiSize3XL ? '3xl' : '';
74
+ set edsSize3XL(value) {
75
+ this._edsSize3XL = coerceBooleanProperty(value);
76
+ this._edsSizeVariant = this._edsSize3XL ? '3xl' : '';
77
77
  }
78
- get euiSize4XL() {
79
- return this._euiSize4XL;
78
+ get edsSize4XL() {
79
+ return this._edsSize4XL;
80
80
  }
81
- set euiSize4XL(value) {
82
- this._euiSize4XL = coerceBooleanProperty(value);
83
- this._euiSizeVariant = this._euiSize4XL ? '4xl' : '';
81
+ set edsSize4XL(value) {
82
+ this._edsSize4XL = coerceBooleanProperty(value);
83
+ this._edsSizeVariant = this._edsSize4XL ? '4xl' : '';
84
84
  }
85
- get euiSize5XL() {
86
- return this._euiSize5XL;
85
+ get edsSize5XL() {
86
+ return this._edsSize5XL;
87
87
  }
88
- set euiSize5XL(value) {
89
- this._euiSize5XL = coerceBooleanProperty(value);
90
- this._euiSizeVariant = this._euiSize5XL ? '5xl' : '';
88
+ set edsSize5XL(value) {
89
+ this._edsSize5XL = coerceBooleanProperty(value);
90
+ this._edsSizeVariant = this._edsSize5XL ? '5xl' : '';
91
91
  }
92
- get euiSize6XL() {
93
- return this._euiSize6XL;
92
+ get edsSize6XL() {
93
+ return this._edsSize6XL;
94
94
  }
95
- set euiSize6XL(value) {
96
- this._euiSize6XL = coerceBooleanProperty(value);
97
- this._euiSizeVariant = this._euiSize6XL ? '6xl' : '';
95
+ set edsSize6XL(value) {
96
+ this._edsSize6XL = coerceBooleanProperty(value);
97
+ this._edsSizeVariant = this._edsSize6XL ? '6xl' : '';
98
98
  }
99
- get euiSizeAuto() {
100
- return this._euiSizeAuto;
99
+ get edsSizeAuto() {
100
+ return this._edsSizeAuto;
101
101
  }
102
- set euiSizeAuto(value) {
103
- this._euiSizeAuto = coerceBooleanProperty(value);
104
- this._euiSizeVariant = this._euiSizeAuto ? 'auto' : '';
102
+ set edsSizeAuto(value) {
103
+ this._edsSizeAuto = coerceBooleanProperty(value);
104
+ this._edsSizeVariant = this._edsSizeAuto ? 'auto' : '';
105
105
  }
106
- get euiSizeVariant() {
107
- return this._euiSizeVariant;
106
+ get edsSizeVariant() {
107
+ return this._edsSizeVariant;
108
108
  }
109
- set euiSizeVariant(value) {
110
- this.euiSize2XS = value === '2xs';
111
- this.euiSizeXS = value === 'xs';
112
- this.euiSizeS = value === 's';
113
- this.euiSizeM = value === 'm';
114
- this.euiSizeL = value === 'l';
115
- this.euiSizeXL = value === 'xl';
116
- this.euiSize2XL = value === '2xl';
117
- this.euiSize3XL = value === '3xl';
118
- this.euiSize4XL = value === '4xl';
119
- this.euiSize5XL = value === '5xl';
120
- this.euiSize6XL = value === '6xl';
121
- this.euiSizeAuto = value === 'auto';
122
- this._euiSizeVariant = value;
109
+ set edsSizeVariant(value) {
110
+ this.edsSize2XS = value === '2xs';
111
+ this.edsSizeXS = value === 'xs';
112
+ this.edsSizeS = value === 's';
113
+ this.edsSizeM = value === 'm';
114
+ this.edsSizeL = value === 'l';
115
+ this.edsSizeXL = value === 'xl';
116
+ this.edsSize2XL = value === '2xl';
117
+ this.edsSize3XL = value === '3xl';
118
+ this.edsSize4XL = value === '4xl';
119
+ this.edsSize5XL = value === '5xl';
120
+ this.edsSize6XL = value === '6xl';
121
+ this.edsSizeAuto = value === 'auto';
122
+ this._edsSizeVariant = value;
123
123
  }
124
124
  getCssClasses(rootClass) {
125
125
  return [
126
- this.euiSize2XS ? `${rootClass}--size-2xs` : '',
127
- this.euiSizeXS ? `${rootClass}--size-xs` : '',
128
- this.euiSizeS ? `${rootClass}--size-s` : '',
129
- this.euiSizeM ? `${rootClass}--size-m` : '',
130
- this.euiSizeL ? `${rootClass}--size-l` : '',
131
- this.euiSizeXL ? `${rootClass}--size-xl` : '',
132
- this.euiSize2XL ? `${rootClass}--size-2xl` : '',
133
- this.euiSize3XL ? `${rootClass}--size-3xl` : '',
134
- this.euiSize4XL ? `${rootClass}--size-4xl` : '',
135
- this.euiSize5XL ? `${rootClass}--size-5xl` : '',
136
- this.euiSize6XL ? `${rootClass}--size-6xl` : '',
137
- this.euiSizeAuto ? `${rootClass}--size-auto` : '',
126
+ this.edsSize2XS ? `${rootClass}--size-2xs` : '',
127
+ this.edsSizeXS ? `${rootClass}--size-xs` : '',
128
+ this.edsSizeS ? `${rootClass}--size-s` : '',
129
+ this.edsSizeM ? `${rootClass}--size-m` : '',
130
+ this.edsSizeL ? `${rootClass}--size-l` : '',
131
+ this.edsSizeXL ? `${rootClass}--size-xl` : '',
132
+ this.edsSize2XL ? `${rootClass}--size-2xl` : '',
133
+ this.edsSize3XL ? `${rootClass}--size-3xl` : '',
134
+ this.edsSize4XL ? `${rootClass}--size-4xl` : '',
135
+ this.edsSize5XL ? `${rootClass}--size-5xl` : '',
136
+ this.edsSize6XL ? `${rootClass}--size-6xl` : '',
137
+ this.edsSizeAuto ? `${rootClass}--size-auto` : '',
138
138
  ]
139
139
  .filter(c => c !== '')
140
140
  .join(' ')
141
141
  .trim();
142
142
  }
143
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiBaseSizeVariantsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
144
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.5", type: EuiBaseSizeVariantsDirective, isStandalone: true, selector: "[euiBaseSizeVariants]", inputs: { euiSize2XS: "euiSize2XS", euiSizeXS: "euiSizeXS", euiSizeS: "euiSizeS", euiSizeM: "euiSizeM", euiSizeL: "euiSizeL", euiSizeXL: "euiSizeXL", euiSize2XL: "euiSize2XL", euiSize3XL: "euiSize3XL", euiSize4XL: "euiSize4XL", euiSize5XL: "euiSize5XL", euiSize6XL: "euiSize6XL", euiSizeAuto: "euiSizeAuto", euiSizeVariant: "euiSizeVariant" }, ngImport: i0 }); }
143
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EdsBaseSizeVariantsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
144
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.5", type: EdsBaseSizeVariantsDirective, isStandalone: true, selector: "[edsBaseSizeVariants]", inputs: { edsSize2XS: "edsSize2XS", edsSizeXS: "edsSizeXS", edsSizeS: "edsSizeS", edsSizeM: "edsSizeM", edsSizeL: "edsSizeL", edsSizeXL: "edsSizeXL", edsSize2XL: "edsSize2XL", edsSize3XL: "edsSize3XL", edsSize4XL: "edsSize4XL", edsSize5XL: "edsSize5XL", edsSize6XL: "edsSize6XL", edsSizeAuto: "edsSizeAuto", edsSizeVariant: "edsSizeVariant" }, ngImport: i0 }); }
145
145
  }
146
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiBaseSizeVariantsDirective, decorators: [{
146
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EdsBaseSizeVariantsDirective, decorators: [{
147
147
  type: Directive,
148
148
  args: [{
149
- selector: '[euiBaseSizeVariants]',
149
+ selector: '[edsBaseSizeVariants]',
150
150
  }]
151
- }], propDecorators: { euiSize2XS: [{
151
+ }], propDecorators: { edsSize2XS: [{
152
152
  type: Input
153
- }], euiSizeXS: [{
153
+ }], edsSizeXS: [{
154
154
  type: Input
155
- }], euiSizeS: [{
155
+ }], edsSizeS: [{
156
156
  type: Input
157
- }], euiSizeM: [{
157
+ }], edsSizeM: [{
158
158
  type: Input
159
- }], euiSizeL: [{
159
+ }], edsSizeL: [{
160
160
  type: Input
161
- }], euiSizeXL: [{
161
+ }], edsSizeXL: [{
162
162
  type: Input
163
- }], euiSize2XL: [{
163
+ }], edsSize2XL: [{
164
164
  type: Input
165
- }], euiSize3XL: [{
165
+ }], edsSize3XL: [{
166
166
  type: Input
167
- }], euiSize4XL: [{
167
+ }], edsSize4XL: [{
168
168
  type: Input
169
- }], euiSize5XL: [{
169
+ }], edsSize5XL: [{
170
170
  type: Input
171
- }], euiSize6XL: [{
171
+ }], edsSize6XL: [{
172
172
  type: Input
173
- }], euiSizeAuto: [{
173
+ }], edsSizeAuto: [{
174
174
  type: Input
175
- }], euiSizeVariant: [{
175
+ }], edsSizeVariant: [{
176
176
  type: Input
177
177
  }] } });
178
178
 
179
- class EuiBaseColorVariantsDirective {
179
+ class EdsBaseColorVariantsDirective {
180
180
  constructor() {
181
- this._euiPrimary = false;
182
- this._euiNeutral = false;
183
- this._euiNeutralSubtle = false;
184
- this._euiNeutralSubtler = false;
185
- this._euiHighlight = false;
186
- this._euiInfo = false;
187
- this._euiSuccess = false;
188
- this._euiWarning = false;
189
- this._euiCritical = false;
190
- this._euiDisabled = false;
191
- this._euiColorVariant = '';
192
- }
193
- get euiPrimary() {
194
- return this._euiPrimary;
195
- }
196
- set euiPrimary(value) {
197
- this._euiPrimary = coerceBooleanProperty(value);
198
- this._euiColorVariant = this._euiPrimary ? 'primary' : '';
199
- }
200
- get euiNeutral() {
201
- return this._euiNeutral;
202
- }
203
- set euiNeutral(value) {
204
- this._euiNeutral = coerceBooleanProperty(value);
205
- this._euiColorVariant = this._euiNeutral ? 'neutral' : '';
206
- }
207
- get euiNeutralSubtle() {
208
- return this._euiNeutralSubtle;
209
- }
210
- set euiNeutralSubtle(value) {
211
- this._euiNeutralSubtle = coerceBooleanProperty(value);
212
- this._euiColorVariant = this._euiNeutralSubtle ? 'neutral-subtle' : '';
213
- }
214
- get euiNeutralSubtler() {
215
- return this._euiNeutralSubtler;
216
- }
217
- set euiNeutralSubtler(value) {
218
- this._euiNeutralSubtler = coerceBooleanProperty(value);
219
- this._euiColorVariant = this._euiNeutralSubtler ? 'neutral-subtler' : '';
220
- }
221
- get euiHighlight() {
222
- return this._euiHighlight;
223
- }
224
- set euiHighlight(value) {
225
- this._euiHighlight = coerceBooleanProperty(value);
226
- this._euiColorVariant = this._euiHighlight ? 'highlight' : '';
227
- }
228
- get euiInfo() {
229
- return this._euiInfo;
230
- }
231
- set euiInfo(value) {
232
- this._euiInfo = coerceBooleanProperty(value);
233
- this._euiColorVariant = this._euiInfo ? 'info' : '';
234
- }
235
- get euiSuccess() {
236
- return this._euiSuccess;
237
- }
238
- set euiSuccess(value) {
239
- this._euiSuccess = coerceBooleanProperty(value);
240
- this._euiColorVariant = this._euiSuccess ? 'success' : '';
241
- }
242
- get euiWarning() {
243
- return this._euiWarning;
244
- }
245
- set euiWarning(value) {
246
- this._euiWarning = coerceBooleanProperty(value);
247
- this._euiColorVariant = this._euiWarning ? 'warning' : '';
248
- }
249
- get euiCritical() {
250
- return this._euiCritical;
251
- }
252
- set euiCritical(value) {
253
- this._euiCritical = coerceBooleanProperty(value);
254
- this._euiColorVariant = this._euiCritical ? 'critical' : '';
255
- }
256
- get euiDisabled() {
257
- return this._euiDisabled;
258
- }
259
- set euiDisabled(value) {
260
- this._euiDisabled = coerceBooleanProperty(value);
261
- this._euiColorVariant = this._euiDisabled ? 'disabled' : '';
262
- }
263
- get euiColorVariant() {
264
- return this._euiColorVariant;
265
- }
266
- set euiColorVariant(value) {
267
- this.euiPrimary = value === 'primary';
268
- this.euiNeutral = value === 'neutral';
269
- this.euiNeutralSubtle = value === 'neutral-subtle';
270
- this.euiNeutralSubtler = value === 'neutral-subtler';
271
- this.euiHighlight = value === 'highlight';
272
- this.euiWarning = value === 'warning';
273
- this.euiInfo = value === 'info';
274
- this.euiSuccess = value === 'success';
275
- this.euiCritical = value === 'critical';
276
- this.euiDisabled = value === 'disabled';
277
- this._euiColorVariant = value;
181
+ this._edsBrand = false;
182
+ this._edsPrimary = false;
183
+ this._edsNeutral = false;
184
+ this._edsNeutralSubtle = false;
185
+ this._edsNeutralSubtler = false;
186
+ this._edsHighlight = false;
187
+ this._edsInfo = false;
188
+ this._edsSuccess = false;
189
+ this._edsWarning = false;
190
+ this._edsCritical = false;
191
+ this._edsDisabled = false;
192
+ this._edsColorVariant = '';
193
+ }
194
+ get edsPrimary() {
195
+ return this._edsPrimary;
196
+ }
197
+ set edsPrimary(value) {
198
+ this._edsPrimary = coerceBooleanProperty(value);
199
+ this._edsColorVariant = this._edsPrimary ? 'primary' : '';
200
+ }
201
+ get edsBrand() {
202
+ return this._edsBrand;
203
+ }
204
+ set edsBrand(value) {
205
+ this._edsBrand = coerceBooleanProperty(value);
206
+ this._edsColorVariant = this._edsBrand ? 'brand' : '';
207
+ }
208
+ get edsNeutral() {
209
+ return this._edsNeutral;
210
+ }
211
+ set edsNeutral(value) {
212
+ this._edsNeutral = coerceBooleanProperty(value);
213
+ this._edsColorVariant = this._edsNeutral ? 'neutral' : '';
214
+ }
215
+ get edsNeutralSubtle() {
216
+ return this._edsNeutralSubtle;
217
+ }
218
+ set edsNeutralSubtle(value) {
219
+ this._edsNeutralSubtle = coerceBooleanProperty(value);
220
+ this._edsColorVariant = this._edsNeutralSubtle ? 'neutral-subtle' : '';
221
+ }
222
+ get edsNeutralSubtler() {
223
+ return this._edsNeutralSubtler;
224
+ }
225
+ set edsNeutralSubtler(value) {
226
+ this._edsNeutralSubtler = coerceBooleanProperty(value);
227
+ this._edsColorVariant = this._edsNeutralSubtler ? 'neutral-subtler' : '';
228
+ }
229
+ get edsHighlight() {
230
+ return this._edsHighlight;
231
+ }
232
+ set edsHighlight(value) {
233
+ this._edsHighlight = coerceBooleanProperty(value);
234
+ this._edsColorVariant = this._edsHighlight ? 'highlight' : '';
235
+ }
236
+ get edsInfo() {
237
+ return this._edsInfo;
238
+ }
239
+ set edsInfo(value) {
240
+ this._edsInfo = coerceBooleanProperty(value);
241
+ this._edsColorVariant = this._edsInfo ? 'info' : '';
242
+ }
243
+ get edsSuccess() {
244
+ return this._edsSuccess;
245
+ }
246
+ set edsSuccess(value) {
247
+ this._edsSuccess = coerceBooleanProperty(value);
248
+ this._edsColorVariant = this._edsSuccess ? 'success' : '';
249
+ }
250
+ get edsWarning() {
251
+ return this._edsWarning;
252
+ }
253
+ set edsWarning(value) {
254
+ this._edsWarning = coerceBooleanProperty(value);
255
+ this._edsColorVariant = this._edsWarning ? 'warning' : '';
256
+ }
257
+ get edsCritical() {
258
+ return this._edsCritical;
259
+ }
260
+ set edsCritical(value) {
261
+ this._edsCritical = coerceBooleanProperty(value);
262
+ this._edsColorVariant = this._edsCritical ? 'critical' : '';
263
+ }
264
+ get edsDisabled() {
265
+ return this._edsDisabled;
266
+ }
267
+ set edsDisabled(value) {
268
+ this._edsDisabled = coerceBooleanProperty(value);
269
+ this._edsColorVariant = this._edsDisabled ? 'disabled' : '';
270
+ }
271
+ get edsColorVariant() {
272
+ return this._edsColorVariant;
273
+ }
274
+ set edsColorVariant(value) {
275
+ this.edsBrand = value === 'brand';
276
+ this.edsPrimary = value === 'primary';
277
+ this.edsNeutral = value === 'neutral';
278
+ this.edsNeutralSubtle = value === 'neutral-subtle';
279
+ this.edsNeutralSubtler = value === 'neutral-subtler';
280
+ this.edsHighlight = value === 'highlight';
281
+ this.edsWarning = value === 'warning';
282
+ this.edsInfo = value === 'info';
283
+ this.edsSuccess = value === 'success';
284
+ this.edsCritical = value === 'critical';
285
+ this.edsDisabled = value === 'disabled';
286
+ this._edsColorVariant = value;
278
287
  }
279
288
  getCssClasses(rootClass) {
280
289
  return [
281
290
  rootClass,
282
- this.euiPrimary ? `${rootClass}--primary` : '',
283
- this.euiNeutral ? `${rootClass}--neutral` : '',
284
- this.euiNeutralSubtle ? `${rootClass}--neutral-subtle` : '',
285
- this.euiNeutralSubtler ? `${rootClass}--neutral-subtler` : '',
286
- this.euiHighlight ? `${rootClass}--highlight` : '',
287
- this.euiInfo ? `${rootClass}--info` : '',
288
- this.euiSuccess ? `${rootClass}--success` : '',
289
- this.euiWarning ? `${rootClass}--warning` : '',
290
- this.euiCritical ? `${rootClass}--critical` : '',
291
- this.euiDisabled ? `${rootClass}--disabled` : '',
291
+ this.edsBrand ? `${rootClass}--brand` : '',
292
+ this.edsPrimary ? `${rootClass}--primary` : '',
293
+ this.edsNeutral ? `${rootClass}--neutral` : '',
294
+ this.edsNeutralSubtle ? `${rootClass}--neutral-subtle` : '',
295
+ this.edsNeutralSubtler ? `${rootClass}--neutral-subtler` : '',
296
+ this.edsHighlight ? `${rootClass}--highlight` : '',
297
+ this.edsInfo ? `${rootClass}--info` : '',
298
+ this.edsSuccess ? `${rootClass}--success` : '',
299
+ this.edsWarning ? `${rootClass}--warning` : '',
300
+ this.edsCritical ? `${rootClass}--critical` : '',
301
+ this.edsDisabled ? `${rootClass}--disabled` : '',
292
302
  ]
293
303
  .filter(c => c !== '')
294
304
  .join(' ')
295
305
  .trim();
296
306
  }
297
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiBaseColorVariantsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
298
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.5", type: EuiBaseColorVariantsDirective, isStandalone: true, selector: "[euiBaseColorVariants]", inputs: { euiPrimary: "euiPrimary", euiNeutral: "euiNeutral", euiNeutralSubtle: "euiNeutralSubtle", euiNeutralSubtler: "euiNeutralSubtler", euiHighlight: "euiHighlight", euiInfo: "euiInfo", euiSuccess: "euiSuccess", euiWarning: "euiWarning", euiCritical: "euiCritical", euiDisabled: "euiDisabled", euiColorVariant: "euiColorVariant" }, ngImport: i0 }); }
307
+ static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EdsBaseColorVariantsDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
308
+ static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "22.0.5", type: EdsBaseColorVariantsDirective, isStandalone: true, selector: "[edsBaseColorVariants]", inputs: { edsPrimary: "edsPrimary", edsBrand: "edsBrand", edsNeutral: "edsNeutral", edsNeutralSubtle: "edsNeutralSubtle", edsNeutralSubtler: "edsNeutralSubtler", edsHighlight: "edsHighlight", edsInfo: "edsInfo", edsSuccess: "edsSuccess", edsWarning: "edsWarning", edsCritical: "edsCritical", edsDisabled: "edsDisabled", edsColorVariant: "edsColorVariant" }, ngImport: i0 }); }
299
309
  }
300
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EuiBaseColorVariantsDirective, decorators: [{
310
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImport: i0, type: EdsBaseColorVariantsDirective, decorators: [{
301
311
  type: Directive,
302
312
  args: [{
303
- selector: '[euiBaseColorVariants]',
313
+ selector: '[edsBaseColorVariants]',
304
314
  }]
305
- }], propDecorators: { euiPrimary: [{
315
+ }], propDecorators: { edsPrimary: [{
306
316
  type: Input
307
- }], euiNeutral: [{
317
+ }], edsBrand: [{
308
318
  type: Input
309
- }], euiNeutralSubtle: [{
319
+ }], edsNeutral: [{
310
320
  type: Input
311
- }], euiNeutralSubtler: [{
321
+ }], edsNeutralSubtle: [{
312
322
  type: Input
313
- }], euiHighlight: [{
323
+ }], edsNeutralSubtler: [{
314
324
  type: Input
315
- }], euiInfo: [{
325
+ }], edsHighlight: [{
316
326
  type: Input
317
- }], euiSuccess: [{
327
+ }], edsInfo: [{
318
328
  type: Input
319
- }], euiWarning: [{
329
+ }], edsSuccess: [{
320
330
  type: Input
321
- }], euiCritical: [{
331
+ }], edsWarning: [{
322
332
  type: Input
323
- }], euiDisabled: [{
333
+ }], edsCritical: [{
324
334
  type: Input
325
- }], euiColorVariant: [{
335
+ }], edsDisabled: [{
336
+ type: Input
337
+ }], edsColorVariant: [{
326
338
  type: Input
327
339
  }] } });
328
340
 
@@ -330,5 +342,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "22.0.5", ngImpor
330
342
  * Generated bundle index. Do not edit.
331
343
  */
332
344
 
333
- export { EuiBaseColorVariantsDirective, EuiBaseSizeVariantsDirective };
345
+ export { EdsBaseColorVariantsDirective, EdsBaseSizeVariantsDirective };
334
346
  //# sourceMappingURL=eui-eds-shared.mjs.map