File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- < pf-v5 -tooltip >
1+ < pf-v6 -tooltip >
22 < pf-v5-chip id ="longchip "> Really long chip that goes on and on</ pf-v5-chip >
33 < span slot ="content "> Really long chip that goes on and on</ span >
4- </ pf-v5 -tooltip >
4+ </ pf-v6 -tooltip >
55
66< style >
77 # longchip ::part (text ) {
1616
1717< script type ="module ">
1818 import '@patternfly/elements/pf-v5-chip/pf-v5-chip.js' ;
19- import '@patternfly/elements/pf-v5 -tooltip/pf-v5 -tooltip.js' ;
19+ import '@patternfly/elements/pf-v6 -tooltip/pf-v6 -tooltip.js' ;
2020</ script >
2121
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ import formControlStyles from '../form-control.css';
99
1010import '@patternfly/elements/pf-v5-button/pf-v5-button.js' ;
1111import '@patternfly/elements/pf-v5-icon/pf-v5-icon.js' ;
12- import '@patternfly/elements/pf-v5 -tooltip/pf-v5 -tooltip.js' ;
12+ import '@patternfly/elements/pf-v6 -tooltip/pf-v6 -tooltip.js' ;
1313
1414const sleep = ( ms ?: number ) => new Promise ( r => setTimeout ( r , ms ) ) ;
1515
@@ -112,7 +112,7 @@ export class PfV5ClipboardCopy extends LitElement {
112112 ?disabled ="${ expanded || readonly } "
113113 .value ="${ this . value } "
114114 @input ="${ this . #onChange} ">
115- < pf-v5 -tooltip >
115+ < pf-v6 -tooltip >
116116 < pf-v5-button id ="copy-button "
117117 icon ="copy "
118118 ?plain ="${ inline || compact } "
@@ -121,7 +121,7 @@ export class PfV5ClipboardCopy extends LitElement {
121121 @click ="${ this . copy } ">
122122 </ pf-v5-button >
123123 < span slot ="content "> ${ this . #copied ? this . clickTip : this . hoverTip } </ span >
124- </ pf-v5 -tooltip >
124+ </ pf-v6 -tooltip >
125125 <!-- Place additional action buttons here -->
126126 < slot name ="actions "> </ slot >
127127 </ div >
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ <h1>Default Icon Sets</h1>
1313
1414< script type ="module ">
1515 import '@patternfly/elements/pf-v5-icon/pf-v5-icon.js' ;
16- import '@patternfly/elements/pf-v5 -tooltip/pf-v5 -tooltip.js' ;
16+ import '@patternfly/elements/pf-v6 -tooltip/pf-v6 -tooltip.js' ;
1717
1818 import { render , html } from 'lit' ;
1919 import { repeat } from 'lit/directives/repeat.js' ;
Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ export class PfV5Progress extends LitElement {
7474 import ( '@patternfly/elements/pf-v5-icon/pf-v5-icon.js' ) ;
7575 }
7676 if ( this . descriptionTruncated ) {
77- import ( '@patternfly/elements/pf-v5 -tooltip/pf-v5 -tooltip.js' ) ;
77+ import ( '@patternfly/elements/pf-v6 -tooltip/pf-v6 -tooltip.js' ) ;
7878 }
7979 }
8080
@@ -97,8 +97,8 @@ export class PfV5Progress extends LitElement {
9797 < div id ="description " aria-hidden ="true "> ${ description ?? '' } </ div >
9898
9999 ${ ! descriptionTruncated ? '' : html `
100- < pf-v5 -tooltip content ="${ this . description ?? '' } "
101- trigger ="description "> </ pf-v5 -tooltip >
100+ < pf-v6 -tooltip content ="${ this . description ?? '' } "
101+ trigger ="description "> </ pf-v6 -tooltip >
102102 ` }
103103
104104 ${ measureLocation === 'none' ? '' : html `
Original file line number Diff line number Diff line change 11< section >
22 < p >
3- < pf-v5 -tooltip >
3+ < pf-v6 -tooltip >
44 < pf-v5-timestamp date ="Tue Aug 09 2022 14:57:00 GMT-0400 (Eastern Daylight Time) "> </ pf-v5-timestamp >
55 < span slot ="content "> Last updated on < pf-v5-timestamp date ="Tue Aug 09 2022 14:57:00 GMT-0400 (Eastern Daylight Time) " date-format ="long " time-format ="short " utc > </ pf-v5-timestamp > </ span >
6- </ pf-v5 -tooltip >
6+ </ pf-v6 -tooltip >
77 </ p >
88 < p >
9- < pf-v5 -tooltip >
9+ < pf-v6 -tooltip >
1010 Halloween
1111 < pf-v5-timestamp slot ="content " date ="Mon Oct 31 2022 00:00:00 GMT-0400 (Eastern Daylight Time) " date-format ="medium "> </ pf-v5-timestamp >
12- </ pf-v5 -tooltip >
12+ </ pf-v6 -tooltip >
1313 </ p >
1414</ section >
1515
1616< script type ="module ">
1717 import '@patternfly/elements/pf-v5-timestamp/pf-v5-timestamp.js' ;
18- import '@patternfly/elements/pf-v5 -tooltip/pf-v5 -tooltip.js' ;
18+ import '@patternfly/elements/pf-v6 -tooltip/pf-v6 -tooltip.js' ;
1919</ script >
2020
2121< style >
Original file line number Diff line number Diff line change 11< section >
22 < p >
3- < pf-v5 -tooltip >
3+ < pf-v6 -tooltip >
44 < pf-v5-timestamp date ="Tue Aug 09 2022 14:57:00 GMT-0400 (Eastern Daylight Time) " relative > </ pf-v5-timestamp >
55 < pf-v5-timestamp slot ="content " date ="Tue Aug 09 2022 14:57:00 GMT-0400 (Eastern Daylight Time) "> </ pf-v5-timestamp >
6- </ pf-v5 -tooltip >
6+ </ pf-v6 -tooltip >
77 </ p >
88 < p >
9- < pf-v5 -tooltip >
9+ < pf-v6 -tooltip >
1010 < pf-v5-timestamp date ="Aug 09 2024 14:57:00 GMT-0400 (Eastern Daylight Time) " relative > </ pf-v5-timestamp >
1111 < pf-v5-timestamp slot ="content " date ="Aug 09 2024 14:57:00 GMT-0400 (Eastern Daylight Time) "> </ pf-v5-timestamp >
12- </ pf-v5 -tooltip >
12+ </ pf-v6 -tooltip >
1313 </ p >
1414</ section >
1515
1616< script type ="module ">
1717 import '@patternfly/elements/pf-v5-timestamp/pf-v5-timestamp.js' ;
18- import '@patternfly/elements/pf-v5 -tooltip/pf-v5 -tooltip.js' ;
18+ import '@patternfly/elements/pf-v6 -tooltip/pf-v6 -tooltip.js' ;
1919</ script >
2020
2121< style >
Original file line number Diff line number Diff line change 11< section >
22 < p >
3- < pf-v5 -tooltip >
3+ < pf-v6 -tooltip >
44 < pf-v5-timestamp > </ pf-v5-timestamp >
55 < pf-v5-timestamp slot ="content " utc > </ pf-v5-timestamp >
6- </ pf-v5 -tooltip >
6+ </ pf-v6 -tooltip >
77 </ p >
88 < p >
9- < pf-v5 -tooltip >
9+ < pf-v6 -tooltip >
1010 < pf-v5-timestamp > </ pf-v5-timestamp >
1111 < pf-v5-timestamp slot ="content " utc display-suffix ="Coordinated Universal Time "> </ pf-v5-timestamp >
12- </ pf-v5 -tooltip >
12+ </ pf-v6 -tooltip >
1313 </ p >
1414</ section >
1515
1616< script type ="module ">
1717 import '@patternfly/elements/pf-v5-timestamp/pf-v5-timestamp.js' ;
18- import '@patternfly/elements/pf-v5 -tooltip/pf-v5 -tooltip.js' ;
18+ import '@patternfly/elements/pf-v6 -tooltip/pf-v6 -tooltip.js' ;
1919</ script >
2020
2121< style >
You can’t perform that action at this time.
0 commit comments