@@ -13,17 +13,6 @@ import styles from './pf-hint.css';
1313 *
1414 * @summary Provides inline contextual help or information to users
1515 * @alias Hint
16- *
17- * @slot - Body content of the hint
18- * @slot title - Optional title for the hint
19- * @slot footer - Optional footer content, typically containing action links or buttons
20- * @slot actions - Optional actions menu (e.g., kebab menu)
21- *
22- * @csspart container - The hint container element
23- * @csspart title - The title element
24- * @csspart body - The body element
25- * @csspart footer - The footer element
26- * @csspart actions - The actions element
2716 */
2817@customElement ( 'pf-hint' )
2918export class PfHint extends LitElement {
@@ -44,23 +33,27 @@ export class PfHint extends LitElement {
4433 part ="actions "
4534 class ="pf-c-hint__actions "
4635 ?hidden =${ this . #slots. isEmpty ( 'actions' ) } >
36+ <!-- summary: Actions menu (e.g., kebab dropdown) -->
4737 < slot name ="actions "> </ slot >
4838 </ div >
4939 < div id ="title "
5040 part ="title "
5141 class ="pf-c-hint__title "
5242 ?hidden =${ this . #slots. isEmpty ( 'title' ) } >
43+ <!-- summary: Optional title for the hint -->
5344 < slot name ="title "> </ slot >
5445 </ div >
5546 < div id ="body "
5647 part ="body "
5748 class ="pf-c-hint__body ">
49+ <!-- summary: Body content of the hint. Main informational text. -->
5850 < slot > </ slot >
5951 </ div >
6052 < div id ="footer "
6153 part ="footer "
6254 class ="pf-c-hint__footer "
6355 ?hidden =${ this . #slots. isEmpty ( 'footer' ) } >
56+ <!-- summary: Optional footer content, typically containing action links or buttons -->
6457 < slot name ="footer "> </ slot >
6558 </ div >
6659 </ div >
0 commit comments