11< h2 > Hint with title</ h2 >
22
33< pf-hint >
4- < button slot ="actions " class ="pf-c-dropdown__toggle pf-m-plain " aria-label ="Actions ">
5- < svg fill ="currentColor " height ="1em " width ="1em " viewBox ="0 0 192 512 " aria-hidden ="true " role ="img " style ="vertical-align: -0.125em; ">
6- < path d ="M96 184c39.8 0 72 32.2 72 72s-32.2 72-72 72-72-32.2-72-72 32.2-72 72-72zM24 80c0 39.8 32.2 72 72 72s72-32.2 72-72S135.8 8 96 8 24 40.2 24 80zm0 352c0 39.8 32.2 72 72 72s72-32.2 72-72-32.2-72-72-72-72 32.2-72 72z "> </ path >
7- </ svg >
8- </ button >
4+ < pf-dropdown slot ="actions ">
5+ < pf-button slot ="toggle " plain icon ="ellipsis-v " aria-label ="Actions "> </ pf-button >
6+ < pf-dropdown-menu slot ="menu ">
7+ < pf-dropdown-item > Link</ pf-dropdown-item >
8+ < pf-dropdown-item > Action</ pf-dropdown-item >
9+ < pf-dropdown-item disabled > Disabled Link</ pf-dropdown-item >
10+ < pf-dropdown-item disabled > Disabled Action</ pf-dropdown-item >
11+ < hr >
12+ < pf-dropdown-item > Separated Link</ pf-dropdown-item >
13+ < pf-dropdown-item > Separated Action</ pf-dropdown-item >
14+ </ pf-dropdown-menu >
15+ </ pf-dropdown >
916 < span slot ="title "> Do more with Find it Fix it capabilities</ span >
1017 Upgrade to Red Hat Smart Management to remediate all your systems across regions and geographies.
1118</ pf-hint >
1219
1320< pf-hint >
14- < button slot ="actions " class ="pf-c-dropdown__toggle pf-m-plain " aria-label ="Actions ">
15- < svg fill ="currentColor " height ="1em " width ="1em " viewBox ="0 0 192 512 " aria-hidden ="true " role ="img " style ="vertical-align: -0.125em; ">
16- < path d ="M96 184c39.8 0 72 32.2 72 72s-32.2 72-72 72-72-32.2-72-72 32.2-72 72-72zM24 80c0 39.8 32.2 72 72 72s72-32.2 72-72S135.8 8 96 8 24 40.2 24 80zm0 352c0 39.8 32.2 72 72 72s72-32.2 72-72-32.2-72-72-72-72 32.2-72 72z "> </ path >
17- </ svg >
18- </ button >
21+ < pf-dropdown slot ="actions ">
22+ < pf-button slot ="toggle " plain icon ="ellipsis-v " aria-label ="Actions "> </ pf-button >
23+ < pf-dropdown-menu slot ="menu ">
24+ < pf-dropdown-item > Link</ pf-dropdown-item >
25+ < pf-dropdown-item > Action</ pf-dropdown-item >
26+ < pf-dropdown-item disabled > Disabled Link</ pf-dropdown-item >
27+ < pf-dropdown-item disabled > Disabled Action</ pf-dropdown-item >
28+ < hr >
29+ < pf-dropdown-item > Separated Link</ pf-dropdown-item >
30+ < pf-dropdown-item > Separated Action</ pf-dropdown-item >
31+ </ pf-dropdown-menu >
32+ </ pf-dropdown >
1933 < span slot ="title "> Do more with Find it Fix it capabilities</ span >
2034 Upgrade to Red Hat Smart Management to remediate all your systems across regions and geographies.
2135 < a slot ="footer " href ="# "> Try it for 90 days</ a >
2236</ pf-hint >
2337
2438< script type ="module ">
2539 import '@patternfly/elements/pf-hint/pf-hint.js' ;
40+ import '@patternfly/elements/pf-dropdown/pf-dropdown.js' ;
41+ import '@patternfly/elements/pf-button/pf-button.js' ;
2642</ script >
2743
2844< style >
@@ -40,20 +56,4 @@ <h2>Hint with title</h2>
4056 h2 : first-child {
4157 margin-block-start : 0 ;
4258 }
43-
44- .pf-c-dropdown__toggle {
45- background : transparent;
46- border : none;
47- padding : 0.25rem 0.5rem ;
48- cursor : pointer;
49- color : var (--pf-global--Color--100 , # 151515 );
50- }
51-
52- .pf-c-dropdown__toggle : hover {
53- background-color : var (--pf-global--BackgroundColor--200 , # f0f0f0 );
54- }
55-
56- .pf-m-plain {
57- border : none;
58- }
5959</ style >
0 commit comments