@eui/components 19.1.2-snapshot-1743600141774 → 19.1.3-snapshot-1744273107050

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 (81) hide show
  1. package/docs/components/EuiCardComponent.html +89 -0
  2. package/docs/components/EuiCardContentComponent.html +46 -0
  3. package/docs/components/EuiCardFooterActionButtonsComponent.html +38 -0
  4. package/docs/components/EuiCardFooterActionIconsComponent.html +44 -0
  5. package/docs/components/EuiCardFooterComponent.html +44 -0
  6. package/docs/components/EuiCardFooterMenuComponent.html +70 -0
  7. package/docs/components/EuiCardFooterMenuContentComponent.html +50 -0
  8. package/docs/components/EuiCardHeaderBodyComponent.html +30 -0
  9. package/docs/components/EuiCardHeaderComponent.html +86 -0
  10. package/docs/components/EuiCardHeaderLeftContentComponent.html +32 -0
  11. package/docs/components/EuiCardHeaderRightContentComponent.html +35 -0
  12. package/docs/components/EuiCardHeaderSubtitleComponent.html +34 -0
  13. package/docs/components/EuiCardHeaderTitleComponent.html +35 -0
  14. package/docs/components/EuiCardMediaComponent.html +68 -0
  15. package/docs/components/EuiDropdownComponent.html +150 -1
  16. package/docs/components/EuiIconButtonComponent.html +20 -1
  17. package/docs/components/EuiTreeComponent.html +105 -0
  18. package/docs/dependencies.html +2 -2
  19. package/docs/js/menu-wc.js +3 -3
  20. package/docs/js/menu-wc_es5.js +1 -1
  21. package/docs/js/search/search_index.js +2 -2
  22. package/docs/modules/EuiTreeModule.html +11 -0
  23. package/eui-card/components/eui-card-content/eui-card-content.component.d.ts +32 -0
  24. package/eui-card/components/eui-card-content/eui-card-content.component.d.ts.map +1 -1
  25. package/eui-card/components/eui-card-footer/eui-card-footer-action-buttons.component.d.ts +31 -0
  26. package/eui-card/components/eui-card-footer/eui-card-footer-action-buttons.component.d.ts.map +1 -1
  27. package/eui-card/components/eui-card-footer/eui-card-footer-action-icons.component.d.ts +39 -0
  28. package/eui-card/components/eui-card-footer/eui-card-footer-action-icons.component.d.ts.map +1 -1
  29. package/eui-card/components/eui-card-footer/eui-card-footer-menu-content.component.d.ts +44 -0
  30. package/eui-card/components/eui-card-footer/eui-card-footer-menu-content.component.d.ts.map +1 -1
  31. package/eui-card/components/eui-card-footer/eui-card-footer-menu.component.d.ts +65 -0
  32. package/eui-card/components/eui-card-footer/eui-card-footer-menu.component.d.ts.map +1 -1
  33. package/eui-card/components/eui-card-footer/eui-card-footer.component.d.ts +39 -0
  34. package/eui-card/components/eui-card-footer/eui-card-footer.component.d.ts.map +1 -1
  35. package/eui-card/components/eui-card-header/eui-card-header-left-content.component.d.ts +25 -0
  36. package/eui-card/components/eui-card-header/eui-card-header-left-content.component.d.ts.map +1 -1
  37. package/eui-card/components/eui-card-header/eui-card-header-right-content.component.d.ts +28 -0
  38. package/eui-card/components/eui-card-header/eui-card-header-right-content.component.d.ts.map +1 -1
  39. package/eui-card/components/eui-card-header/eui-card-header-subtitle.component.d.ts +27 -0
  40. package/eui-card/components/eui-card-header/eui-card-header-subtitle.component.d.ts.map +1 -1
  41. package/eui-card/components/eui-card-header/eui-card-header-title.component.d.ts +28 -0
  42. package/eui-card/components/eui-card-header/eui-card-header-title.component.d.ts.map +1 -1
  43. package/eui-card/components/eui-card-header/eui-card-header.component.d.ts +70 -0
  44. package/eui-card/components/eui-card-header/eui-card-header.component.d.ts.map +1 -1
  45. package/eui-card/components/eui-card-header-body/eui-card-header-body.component.d.ts +23 -0
  46. package/eui-card/components/eui-card-header-body/eui-card-header-body.component.d.ts.map +1 -1
  47. package/eui-card/components/eui-card-media/eui-card-media.component.d.ts +45 -0
  48. package/eui-card/components/eui-card-media/eui-card-media.component.d.ts.map +1 -1
  49. package/eui-card/eui-card.component.d.ts +75 -0
  50. package/eui-card/eui-card.component.d.ts.map +1 -1
  51. package/eui-dropdown/eui-dropdown.component.d.ts +157 -1
  52. package/eui-dropdown/eui-dropdown.component.d.ts.map +1 -1
  53. package/eui-icon-button/eui-icon-button.component.d.ts +2 -1
  54. package/eui-icon-button/eui-icon-button.component.d.ts.map +1 -1
  55. package/eui-tree/eui-tree.component.d.ts +104 -0
  56. package/eui-tree/eui-tree.component.d.ts.map +1 -1
  57. package/fesm2022/eui-components-eui-alert.mjs +1 -1
  58. package/fesm2022/eui-components-eui-alert.mjs.map +1 -1
  59. package/fesm2022/eui-components-eui-card.mjs +559 -0
  60. package/fesm2022/eui-components-eui-card.mjs.map +1 -1
  61. package/fesm2022/eui-components-eui-chip.mjs +1 -1
  62. package/fesm2022/eui-components-eui-chip.mjs.map +1 -1
  63. package/fesm2022/eui-components-eui-date-range-selector.mjs +4 -4
  64. package/fesm2022/eui-components-eui-date-range-selector.mjs.map +1 -1
  65. package/fesm2022/eui-components-eui-dropdown.mjs +157 -1
  66. package/fesm2022/eui-components-eui-dropdown.mjs.map +1 -1
  67. package/fesm2022/eui-components-eui-growl.mjs +1 -1
  68. package/fesm2022/eui-components-eui-growl.mjs.map +1 -1
  69. package/fesm2022/eui-components-eui-icon-button.mjs +4 -2
  70. package/fesm2022/eui-components-eui-icon-button.mjs.map +1 -1
  71. package/fesm2022/eui-components-eui-menu.mjs +4 -4
  72. package/fesm2022/eui-components-eui-menu.mjs.map +1 -1
  73. package/fesm2022/eui-components-eui-tabs.mjs +1 -1
  74. package/fesm2022/eui-components-eui-tabs.mjs.map +1 -1
  75. package/fesm2022/eui-components-eui-tree.mjs +98 -0
  76. package/fesm2022/eui-components-eui-tree.mjs.map +1 -1
  77. package/fesm2022/eui-components-eui-user-profile.mjs +1 -1
  78. package/fesm2022/eui-components-eui-user-profile.mjs.map +1 -1
  79. package/fesm2022/eui-components-layout.mjs +6 -6
  80. package/fesm2022/eui-components-layout.mjs.map +1 -1
  81. package/package.json +3 -3
@@ -72,23 +72,93 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImpor
72
72
  type: Injectable
73
73
  }] });
74
74
 
75
+ /**
76
+ * @description
77
+ * The eui-card-header component provides the header options of the eui-card.
78
+ *
79
+ * @example
80
+ * ```html
81
+ * <eui-card euiCollapsible>
82
+ * <eui-card-header>
83
+ * <eui-card-header-left-content>
84
+ * <eui-icon-svg icon="home:sharp" fillColor="accent"></eui-icon-svg>
85
+ * </eui-card-header-left-content>
86
+ * <eui-card-header-title>Title</eui-card-header-title>
87
+ * <eui-card-header-right-content>
88
+ * <button euiButton euiPrimary euiSizeS>Action</button>
89
+ * </eui-card-header-right-content>
90
+ * </eui-card-header>
91
+ * <eui-card-content>
92
+ * Card content...
93
+ * </eui-card-content>
94
+ * </eui-card>
95
+ * ```
96
+ * See {@link https://eui.ecdevops.eu/eui-showcase-ux-components-19.x/style-guide/components/eui-card#card-header} for more details.
97
+ */
75
98
  class EuiCardHeaderComponent {
76
99
  constructor(uiStateService) {
77
100
  this.uiStateService = uiStateService;
101
+ /**
102
+ * Binds the class to the component.
103
+ *
104
+ * @default 'eui-card-header'
105
+ */
78
106
  this.string = 'eui-card-header';
107
+ /**
108
+ * Sets the expandLabel Input property.
109
+ *
110
+ * @default 'expand'
111
+ */
79
112
  this.expandLabel = 'expand';
113
+ /**
114
+ * Sets the collapseLabel Input property.
115
+ *
116
+ * @default 'collapse'
117
+ */
80
118
  this.collapseLabel = 'collapse';
119
+ /**
120
+ * Input property to enable/disable the header click toggle.
121
+ *
122
+ * @default true
123
+ */
81
124
  this.hasHeaderClickToggle = true;
125
+ /**
126
+ * Input property to expand the bottom part of the card header.
127
+ *
128
+ * @default false
129
+ */
82
130
  this.hasBottomExpander = false;
131
+ /**
132
+ * Input property to display the title within the full card container's width.
133
+ *
134
+ * @default false
135
+ */
83
136
  this.hasFullTitle = false;
137
+ /**
138
+ * Input property to display the title & subtitle content in multiple lines.
139
+ *
140
+ * @default false
141
+ */
84
142
  this.isHeaderMultilines = false;
143
+ /**
144
+ * Event emitted when the card header collapses.
145
+ */
85
146
  this.collapse = new EventEmitter();
86
147
  }
148
+ /**
149
+ * Fires when the icon button expander is clicked/pressed to expand/collapse the bottom expander.
150
+ *
151
+ * @param event The event that fires the toggle.
152
+ */
87
153
  onToggle(event) {
88
154
  this.uiStateService.toggleCollapsed();
89
155
  this.collapse.emit(this.uiStateService.state.isCollapsed);
90
156
  event.stopPropagation();
91
157
  }
158
+ /**
159
+ * Toggles the header when the header is clicked and emits the isCollapsed state.
160
+ *
161
+ */
92
162
  onToggleHeader() {
93
163
  if (this.hasHeaderClickToggle && this.uiStateService.state.isCollapsible) {
94
164
  this.uiStateService.toggleCollapsed();
@@ -124,8 +194,36 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImpor
124
194
  type: Output
125
195
  }] } });
126
196
 
197
+ /**
198
+ * @description
199
+ * The eui-card-header-title component projects the title for eui-card-header.
200
+ *
201
+ * @example
202
+ * ```html
203
+ * <eui-card euiCollapsible>
204
+ * <eui-card-header>
205
+ * <eui-card-header-left-content>
206
+ * <eui-icon-svg icon="home:sharp" fillColor="accent"></eui-icon-svg>
207
+ * </eui-card-header-left-content>
208
+ * <eui-card-header-title>Title</eui-card-header-title>
209
+ * <eui-card-header-right-content>
210
+ * <button euiButton euiPrimary euiSizeS>Action</button>
211
+ * </eui-card-header-right-content>
212
+ * </eui-card-header>
213
+ * <eui-card-content>
214
+ * Card content...
215
+ * </eui-card-content>
216
+ * </eui-card>
217
+ * ```
218
+ * See {@link https://eui.ecdevops.eu/eui-showcase-ux-components-19.x/style-guide/components/eui-card#card-header} for more details.
219
+ */
127
220
  class EuiCardHeaderTitleComponent {
128
221
  constructor() {
222
+ /**
223
+ * Binds the class to the component.
224
+ *
225
+ * @default 'eui-card-header__title-container-title'
226
+ */
129
227
  this.string = 'eui-card-header__title-container-title';
130
228
  }
131
229
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: EuiCardHeaderTitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
@@ -144,8 +242,36 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImpor
144
242
  args: ['class']
145
243
  }] } });
146
244
 
245
+ /**
246
+ * @description
247
+ * The eui-card-header-right-content component projects the right content for eui-card-header.
248
+ *
249
+ * @example
250
+ * ```html
251
+ * <eui-card euiCollapsible>
252
+ * <eui-card-header>
253
+ * <eui-card-header-left-content>
254
+ * <eui-icon-svg icon="home:sharp" fillColor="accent"></eui-icon-svg>
255
+ * </eui-card-header-left-content>
256
+ * <eui-card-header-title>Title</eui-card-header-title>
257
+ * <eui-card-header-right-content>
258
+ * <button euiButton euiPrimary euiSizeS>Action</button>
259
+ * </eui-card-header-right-content>
260
+ * </eui-card-header>
261
+ * <eui-card-content>
262
+ * Card content...
263
+ * </eui-card-content>
264
+ * </eui-card>
265
+ * ```
266
+ * See {@link https://eui.ecdevops.eu/eui-showcase-ux-components-19.x/style-guide/components/eui-card#card-header} for more details.
267
+ */
147
268
  class EuiCardHeaderRightContentComponent {
148
269
  constructor() {
270
+ /**
271
+ * Binds the class to the component.
272
+ *
273
+ * @default 'eui-card-header__right-content'
274
+ */
149
275
  this.string = 'eui-card-header__right-content';
150
276
  }
151
277
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: EuiCardHeaderRightContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
@@ -164,8 +290,33 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImpor
164
290
  args: ['class']
165
291
  }] } });
166
292
 
293
+ /**
294
+ * @description
295
+ * The eui-card-header-left-content component projects the left content for eui-card-header.
296
+ *
297
+ * @example
298
+ * ```html
299
+ * <eui-card euiCollapsible>
300
+ * <eui-card-header>
301
+ * <eui-card-header-left-content>
302
+ * <eui-icon-svg icon="home:sharp" fillColor="accent"></eui-icon-svg>
303
+ * </eui-card-header-left-content>
304
+ * <eui-card-header-title>Title</eui-card-header-title>
305
+ * </eui-card-header>
306
+ * <eui-card-content>
307
+ * Card content...
308
+ * </eui-card-content>
309
+ * </eui-card>
310
+ * ```
311
+ * See {@link https://eui.ecdevops.eu/eui-showcase-ux-components-19.x/style-guide/components/eui-card#card-header} for more details.
312
+ */
167
313
  class EuiCardHeaderLeftContentComponent {
168
314
  constructor() {
315
+ /**
316
+ * Binds the class to the component.
317
+ *
318
+ * @default 'eui-card-header__left-content'
319
+ */
169
320
  this.string = 'eui-card-header__left-content';
170
321
  }
171
322
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: EuiCardHeaderLeftContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
@@ -184,8 +335,35 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImpor
184
335
  args: ['class']
185
336
  }] } });
186
337
 
338
+ /**
339
+ * @description
340
+ * The eui-card-header-subtitle component projects the subtitle for eui-card-header.
341
+ *
342
+ * @example
343
+ * ```html
344
+ * <eui-card>
345
+ * <eui-card-header>
346
+ * <eui-card-header-title>
347
+ * {{ cardTitle }}
348
+ * </eui-card-header-title>
349
+ * <eui-card-header-subtitle>
350
+ * {{ cardSubtitle }}
351
+ * </eui-card-header-subtitle>
352
+ * </eui-card-header>
353
+ * <eui-card-content>
354
+ * I am the content of the card container...
355
+ * </eui-card-content>
356
+ * </eui-card>
357
+ * ```
358
+ * See {@link https://eui.ecdevops.eu/eui-showcase-ux-components-19.x/style-guide/components/eui-card} for more details.
359
+ */
187
360
  class EuiCardHeaderSubtitleComponent {
188
361
  constructor() {
362
+ /**
363
+ * Binds the class to the component.
364
+ *
365
+ * @default 'eui-card-header__title-container-subtitle'
366
+ */
189
367
  this.string = 'eui-card-header__title-container-subtitle';
190
368
  }
191
369
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: EuiCardHeaderSubtitleComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
@@ -204,8 +382,31 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImpor
204
382
  args: ['class']
205
383
  }] } });
206
384
 
385
+ /**
386
+ * @description
387
+ * The eui-card-header-body component projects the body for eui-card-header.
388
+ *
389
+ * @example
390
+ * ```html
391
+ * <eui-card>
392
+ * <eui-card-header>
393
+ * <eui-card-header-title>Title</eui-card-header-title>
394
+ * <eui-card-header-body>Body</eui-card-header-body>
395
+ * </eui-card-header>
396
+ * <eui-card-content>
397
+ * Card content...
398
+ * </eui-card-content>
399
+ * </eui-card>
400
+ * ```
401
+ * See {@link https://eui.ecdevops.eu/eui-showcase-ux-components-19.x/style-guide/components/eui-card#card-header} for more details.
402
+ */
207
403
  class EuiCardHeaderBodyComponent {
208
404
  constructor() {
405
+ /**
406
+ * Binds the class to the component.
407
+ *
408
+ * @default 'eui-card-header-body'
409
+ */
209
410
  this.string = 'eui-card-header-body';
210
411
  }
211
412
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: EuiCardHeaderBodyComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
@@ -224,9 +425,41 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImpor
224
425
  args: ['class']
225
426
  }] } });
226
427
 
428
+ /**
429
+ * @description
430
+ * The eui-card-content component projects the content for eui-card.
431
+ *
432
+ * @example
433
+ * ```html
434
+ * <eui-card>
435
+ * <eui-card-header>
436
+ * <eui-card-header-title>
437
+ * {{ cardTitle }}
438
+ * </eui-card-header-title>
439
+ * <eui-card-header-subtitle>
440
+ * {{ cardSubtitle }}
441
+ * </eui-card-header-subtitle>
442
+ * </eui-card-header>
443
+ * <eui-card-content>
444
+ * I am the content of the card container...
445
+ * </eui-card-content>
446
+ * </eui-card>
447
+ * ```
448
+ * See {@link https://eui.ecdevops.eu/eui-showcase-ux-components-19.x/style-guide/components/eui-card}.
449
+ */
227
450
  class EuiCardContentComponent {
228
451
  constructor() {
452
+ /**
453
+ * Binds the class to the component.
454
+ *
455
+ * @default 'eui-card-content'
456
+ */
229
457
  this.string = 'eui-card-content';
458
+ /**
459
+ * Binds the tabindex attribute to the component.
460
+ *
461
+ * @default 0
462
+ */
230
463
  this.tabindex = 0;
231
464
  }
232
465
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: EuiCardContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
@@ -248,10 +481,43 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImpor
248
481
  args: ['attr.tabindex']
249
482
  }] } });
250
483
 
484
+ /**
485
+ * @description
486
+ * The eui-card-header-body component projects the body for eui-card-header.
487
+ *
488
+ * @example
489
+ * ```html
490
+ * <eui-card euiNoShadow>
491
+ * <eui-card-media
492
+ * imageUrl="./assets/images/cards/home-card-eu-publications.jpg"
493
+ * imageLegend="EU Publications"
494
+ * imageClickUrl="/style-guide-next/components/eui-card"
495
+ * euiTooltip="Internal link Url defined pointing to this page">
496
+ * </eui-card-media>
497
+ * <eui-card-content style="height: 8rem;">
498
+ * Reports, studies, information booklets, magazines and other publications from the EU institutions and other bodies
499
+ * </eui-card-content>
500
+ * </eui-card>
501
+ * ```
502
+ * See {@link https://eui.ecdevops.eu/eui-showcase-ux-components-19.x/style-guide/components/eui-card#media-cards} for more details.
503
+ */
251
504
  class EuiCardMediaComponent {
252
505
  constructor() {
506
+ /**
507
+ * Option to specify an image description.
508
+ * @default 'eUI Card Image'
509
+ */
253
510
  this.imageDescription = 'eUI Card Image';
511
+ /**
512
+ * Option to specify the image height.
513
+ * @default 'auto'
514
+ */
254
515
  this.imageHeight = 'auto';
516
+ /**
517
+ * Binds the class to the component.
518
+ *
519
+ * @default 'eui-card-media'
520
+ */
255
521
  this.string = 'eui-card-media';
256
522
  }
257
523
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: EuiCardMediaComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
@@ -277,8 +543,39 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImpor
277
543
  args: ['class']
278
544
  }] } });
279
545
 
546
+ /**
547
+ * @description
548
+ * The eui-card-footer-action-buttons component projects the action buttons content for eui-card.
549
+ *
550
+ * @example
551
+ * ```html
552
+ * <eui-card euiHoverable>
553
+ * <eui-card-media
554
+ * imageUrl="./assets/images/cards/home-card-law.jpg">
555
+ * </eui-card-media>
556
+ * <eui-card-content style="max-height: 11rem; min-height: 11rem;">
557
+ * <h5 class="eui-u-f-bold eui-u-mb-s">Law | EUR Lex</h5>
558
+ * The Official Journal of the European Union, EU case law and other resources for EU law
559
+ * </eui-card-content>
560
+ * <eui-card-footer>
561
+ * <eui-card-footer-action-buttons class="eui-u-flex-justify-content-end">
562
+ * <button euiButton euiPrimary euiSizeS>
563
+ * <span euiLabel>Action</span>
564
+ * <eui-icon-svg icon="chevron-forward:sharp"></eui-icon-svg>
565
+ * </button>
566
+ * </eui-card-footer-action-buttons>
567
+ * </eui-card-footer>
568
+ * </eui-card>
569
+ * ```
570
+ * See {@link https://eui.ecdevops.eu/eui-showcase-ux-components-19.x/style-guide/components/eui-card#card-footer}.
571
+ */
280
572
  class EuiCardFooterActionButtonsComponent {
281
573
  constructor() {
574
+ /**
575
+ * Binds the class to the component.
576
+ *
577
+ * @default 'eui-card-footer-actions__buttons'
578
+ */
282
579
  this.string = 'eui-card-footer-actions__buttons';
283
580
  }
284
581
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: EuiCardFooterActionButtonsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
@@ -297,8 +594,47 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImpor
297
594
  args: ['class']
298
595
  }] } });
299
596
 
597
+ /**
598
+ * @description
599
+ * The eui-card-footer-action-icons component projects the action icons content for eui-card.
600
+ *
601
+ * @example
602
+ * ```html
603
+ * <eui-card>
604
+ * <eui-card-header>
605
+ * <eui-card-header-title>
606
+ * <strong>Default layout of a card footer</strong>
607
+ * </eui-card-header-title>
608
+ * </eui-card-header>
609
+ *
610
+ * <eui-card-content>
611
+ * <p class="eui-u-text-paragraph">Hover on footer's elements to display more information.</p>
612
+ * </eui-card-content>
613
+ *
614
+ * <eui-card-footer>
615
+ * <eui-card-footer-action-buttons euiTooltip="Here are displayed the main action buttons.&#13;It is recommended to have maximum 2 buttons.&#13;Primary action button is always displayed first.&#13;Other actions will be put in the menu.">
616
+ * <span class="eui-u-cursor-help">Action buttons</span>
617
+ * </eui-card-footer-action-buttons>
618
+ *
619
+ * <eui-card-footer-action-icons euiTooltip="Here are displayed the action icons.&#13;It is recommended to have maximum 2 icons.&#13;Other actions will be put in the menu.">
620
+ * <span class="eui-u-cursor-help">Action icons</span>
621
+ * </eui-card-footer-action-icons>
622
+ *
623
+ * <eui-card-footer-menu-content [tooltipText]="'Actions menu to propose more options'">
624
+ * <div class="m-2">Menu content here</div>
625
+ * </eui-card-footer-menu-content>
626
+ * </eui-card-footer>
627
+ * </eui-card>
628
+ * ```
629
+ * See {@link https://eui.ecdevops.eu/eui-showcase-ux-components-19.x/style-guide/components/eui-card#card-footer}.
630
+ */
300
631
  class EuiCardFooterActionIconsComponent {
301
632
  constructor() {
633
+ /**
634
+ * Binds the class to the component.
635
+ *
636
+ * @default 'eui-card-footer-actions__icons'
637
+ */
302
638
  this.string = 'eui-card-footer-actions__icons';
303
639
  }
304
640
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: EuiCardFooterActionIconsComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
@@ -317,9 +653,53 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImpor
317
653
  args: ['class']
318
654
  }] } });
319
655
 
656
+ /**
657
+ * @description
658
+ * The eui-card-footer-menu-content component projects the content of the actions menu of the eui-card.
659
+ *
660
+ * @example
661
+ * ```html
662
+ * <eui-card>
663
+ * <eui-card-header>
664
+ * <eui-card-header-title>
665
+ * <strong>Default layout of a card footer</strong>
666
+ * </eui-card-header-title>
667
+ * </eui-card-header>
668
+ *
669
+ * <eui-card-content>
670
+ * <p class="eui-u-text-paragraph">Hover on footer's elements to display more information.</p>
671
+ * </eui-card-content>
672
+ *
673
+ * <eui-card-footer>
674
+ * <eui-card-footer-action-buttons euiTooltip="Here are displayed the main action buttons.&#13;It is recommended to have maximum 2 buttons.&#13;Primary action button is always displayed first.&#13;Other actions will be put in the menu.">
675
+ * <span class="eui-u-cursor-help">Action buttons</span>
676
+ * </eui-card-footer-action-buttons>
677
+ *
678
+ * <eui-card-footer-action-icons euiTooltip="Here are displayed the action icons.&#13;It is recommended to have maximum 2 icons.&#13;Other actions will be put in the menu.">
679
+ * <span class="eui-u-cursor-help">Action icons</span>
680
+ * </eui-card-footer-action-icons>
681
+ *
682
+ * <eui-card-footer-menu-content [tooltipText]="'Actions menu to propose more options'">
683
+ * <div class="m-2">Menu content here</div>
684
+ * </eui-card-footer-menu-content>
685
+ * </eui-card-footer>
686
+ * </eui-card>
687
+ * ```
688
+ * See {@link https://eui.ecdevops.eu/eui-showcase-ux-components-19.x/style-guide/components/eui-card#card-footer}.
689
+ */
320
690
  class EuiCardFooterMenuContentComponent {
321
691
  constructor() {
692
+ /**
693
+ * Sets the tooltipText Input property.
694
+ *
695
+ * @default 'More options'
696
+ */
322
697
  this.tooltipText = 'More options';
698
+ /**
699
+ * Binds the class to the component.
700
+ *
701
+ * @default 'eui-card-footer-menu-content'
702
+ */
323
703
  this.string = 'eui-card-footer-menu-content';
324
704
  }
325
705
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: EuiCardFooterMenuContentComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
@@ -335,8 +715,73 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImpor
335
715
  args: ['class']
336
716
  }] } });
337
717
 
718
+ /**
719
+ * @description
720
+ * The eui-card-footer-menu component provides menu options for the footer of the eui-card.
721
+ *
722
+ * @example
723
+ * ```html
724
+ * <eui-card>
725
+ * <eui-card-header>
726
+ * <eui-card-header-title>
727
+ * <strong>Sample Card Title</strong>
728
+ * </eui-card-header-title>
729
+ * </eui-card-header>
730
+ *
731
+ * <eui-card-content>
732
+ * <p class="eui-u-text-paragraph">I am the content of the card container with a full default footer's layout.</p>
733
+ * </eui-card-content>
734
+ *
735
+ * <eui-card-footer>
736
+ * <eui-card-footer-action-buttons>
737
+ * <div class="eui-u-flex eui-u-flex-wrap">
738
+ * <button euiButton euiPrimary>Action 1</button>
739
+ * <button euiButton euiSecondary>Action 2</button>
740
+ * </div>
741
+ * </eui-card-footer-action-buttons>
742
+ *
743
+ * <eui-card-footer-action-icons>
744
+ * <button euiButton euiRounded euiIconButton euiBasicButton euiSecondary euiTooltip="Mark as favourite" aria-label="Mark as favourite">
745
+ * <eui-icon-svg icon="eui-star" size="l" fillColor="neutral-lighter"></eui-icon-svg>
746
+ * </button>
747
+ * <button euiButton euiRounded euiIconButton euiBasicButton euiSecondary euiTooltip="Share" aria-label="Share">
748
+ * <eui-icon-svg icon="eui-ecl-share" size="m" fillColor="neutral-lighter"></eui-icon-svg>
749
+ * </button>
750
+ * </eui-card-footer-action-icons>
751
+ *
752
+ * <eui-card-footer-menu>
753
+ * <eui-dropdown>
754
+ * <button
755
+ * euiButton
756
+ * euiRounded
757
+ * euiIconButton
758
+ * euiBasicButton
759
+ * euiSecondary
760
+ * type="button"
761
+ * euiTooltip="more options"
762
+ * [attr.aria-label]="'more options'">
763
+ * <eui-icon-svg icon="ellipsis-vertical:sharp"></eui-icon-svg>
764
+ * </button>
765
+ * <eui-dropdown-content>
766
+ * <button euiDropdownItem>Menu item 1</button>
767
+ * <button euiDropdownItem>Menu item 2</button>
768
+ * <button euiDropdownItem>Menu item 3</button>
769
+ * </eui-dropdown-content>
770
+ * </eui-dropdown>
771
+ * </eui-card-footer-menu>
772
+ *
773
+ * </eui-card-footer>
774
+ * </eui-card>
775
+ * ```
776
+ * See {@link https://eui.ecdevops.eu/eui-showcase-ux-components-19.x/style-guide/components/eui-card#card-footer}.
777
+ */
338
778
  class EuiCardFooterMenuComponent {
339
779
  constructor() {
780
+ /**
781
+ * Binds the class to the component.
782
+ *
783
+ * @default 'eui-card-footer-menu'
784
+ */
340
785
  this.string = 'eui-card-footer-menu';
341
786
  }
342
787
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: EuiCardFooterMenuComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
@@ -356,8 +801,47 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImpor
356
801
  args: ['class']
357
802
  }] } });
358
803
 
804
+ /**
805
+ * @description
806
+ * The eui-card-footer component projects the footer of the eui-card.
807
+ *
808
+ * @example
809
+ * ```html
810
+ * <eui-card>
811
+ * <eui-card-header>
812
+ * <eui-card-header-title>
813
+ * <strong>Default layout of a card footer</strong>
814
+ * </eui-card-header-title>
815
+ * </eui-card-header>
816
+ *
817
+ * <eui-card-content>
818
+ * <p class="eui-u-text-paragraph">Hover on footer's elements to display more information.</p>
819
+ * </eui-card-content>
820
+ *
821
+ * <eui-card-footer>
822
+ * <eui-card-footer-action-buttons euiTooltip="Here are displayed the main action buttons.&#13;It is recommended to have maximum 2 buttons.&#13;Primary action button is always displayed first.&#13;Other actions will be put in the menu.">
823
+ * <span class="eui-u-cursor-help">Action buttons</span>
824
+ * </eui-card-footer-action-buttons>
825
+ *
826
+ * <eui-card-footer-action-icons euiTooltip="Here are displayed the action icons.&#13;It is recommended to have maximum 2 icons.&#13;Other actions will be put in the menu.">
827
+ * <span class="eui-u-cursor-help">Action icons</span>
828
+ * </eui-card-footer-action-icons>
829
+ *
830
+ * <eui-card-footer-menu-content [tooltipText]="'Actions menu to propose more options'">
831
+ * <div class="m-2">Menu content here</div>
832
+ * </eui-card-footer-menu-content>
833
+ * </eui-card-footer>
834
+ * </eui-card>
835
+ * ```
836
+ * See {@link https://eui.ecdevops.eu/eui-showcase-ux-components-19.x/style-guide/components/eui-card#card-footer}.
837
+ */
359
838
  class EuiCardFooterComponent {
360
839
  constructor() {
840
+ /**
841
+ * Binds the class to the component.
842
+ *
843
+ * @default 'eui-card-footer'
844
+ */
361
845
  this.string = 'eui-card-footer';
362
846
  }
363
847
  static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.1", ngImport: i0, type: EuiCardFooterComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
@@ -383,21 +867,92 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.1", ngImpor
383
867
  args: [forwardRef(() => EuiCardFooterMenuComponent), { static: false }]
384
868
  }] } });
385
869
 
870
+ /**
871
+ * @description
872
+ * The eui-card component is based on Material Design and provides a content container for text, photos and actions in the context of a single subject.
873
+ *
874
+ * @example
875
+ * ```html
876
+ * <eui-card>
877
+ * <eui-card-header>
878
+ * <eui-card-header-title>
879
+ * {{ cardTitle }}
880
+ * </eui-card-header-title>
881
+ * <eui-card-header-subtitle>
882
+ * {{ cardSubtitle }}
883
+ * </eui-card-header-subtitle>
884
+ * </eui-card-header>
885
+ * <eui-card-content>
886
+ * I am the content of the card container...
887
+ * </eui-card-content>
888
+ * </eui-card>
889
+ * ```
890
+ * See {@link https://eui.ecdevops.eu/eui-showcase-ux-components-19.x/style-guide/components/eui-card}.
891
+ */
386
892
  class EuiCardComponent {
387
893
  constructor() {
894
+ /**
895
+ * Sets the `data-e2e` attribute at the host element.
896
+ *
897
+ * @default 'eui-card'
898
+ */
388
899
  this.e2eAttr = 'eui-card';
900
+ /**
901
+ * Sets the `euiSelected` attribute in order to show the card header as selected.
902
+ *
903
+ * @default false
904
+ */
389
905
  this.euiSelected = false;
906
+ /**
907
+ * Sets the `euiCollapsible` attribute which shows the collapsible toggle in the header.
908
+ *
909
+ * @default false
910
+ */
390
911
  this.euiCollapsible = false;
912
+ /**
913
+ * Sets the `euiCollapsed` attribute which collapses the card content.
914
+ *
915
+ * @default false
916
+ */
391
917
  this.euiCollapsed = false;
918
+ /**
919
+ * Sets the `euiUrgent` attribute in order to show the card header as urgent.
920
+ *
921
+ * @default false
922
+ */
392
923
  this.euiUrgent = false;
924
+ /**
925
+ * Sets the `euiNoShadow` attribute in order to remove the shadow from the card.
926
+ *
927
+ * @default false
928
+ */
393
929
  this.euiNoShadow = false;
930
+ /**
931
+ * Sets the `euiNoContentPadding` attribute in order to remove the padding from the card content.
932
+ *
933
+ * @default false
934
+ */
394
935
  this.euiNoContentPadding = false;
936
+ /**
937
+ * Sets the `euiHoverable` attribute in order to show the hover effect on the card.
938
+ *
939
+ * @default false
940
+ */
395
941
  this.euiHoverable = false;
942
+ /**
943
+ * Event emitted when the card collapses.
944
+ */
396
945
  this.collapse = new EventEmitter();
397
946
  this.uiStateService = inject(UiStateService);
398
947
  this.destroy$ = new Subject();
399
948
  this.baseStatesDirective = inject(BaseStatesDirective);
400
949
  }
950
+ /**
951
+ * @description
952
+ * Computes and returns the CSS classes for the component based on its current state.
953
+ *
954
+ * @returns {string} Space-separated string of CSS class names
955
+ */
401
956
  get cssClasses() {
402
957
  return [
403
958
  this.baseStatesDirective.getCssClasses('eui-card'),
@@ -443,6 +998,10 @@ class EuiCardComponent {
443
998
  this.destroy$.next(true);
444
999
  this.destroy$.unsubscribe();
445
1000
  }
1001
+ /**
1002
+ * Sets the card state in the UIStateService.
1003
+ * This method is called when the component is initialized and when the input properties change.
1004
+ */
446
1005
  _setCardState() {
447
1006
  const nextState = {
448
1007
  ...this.uiStateService.state,