File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed
polaris-react/src/components/Tooltip
components/TooltipOverlay Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' @shopify/polaris ' : patch
3+ ---
4+
5+ Updated the animation duration and box-shadow for the ` Tooltip `
Original file line number Diff line number Diff line change @@ -232,7 +232,7 @@ export function ActivatorAsDiv() {
232232
233233export function WithSuffix ( ) {
234234 return (
235- < Box padding = "16" >
235+ < Box padding = "16" background = "surface" >
236236 < LegacyStack >
237237 < ButtonGroup segmented fullWidth >
238238 < Tooltip content = "Bold" suffix = "⌘B" activatorWrapper = "div" >
Original file line number Diff line number Diff line change 77 // stylelint-disable-next-line -- generated by polaris-migrator DO NOT COPY
88 margin : var (--pc-tooltip-overlay-offset ) var (--p-space-4 ) var (--p-space-4 );
99 opacity : 1 ;
10- box-shadow : var (--p-shadow-popover );
10+ box-shadow : var (--p-shadow-popover ), var ( --p-shadow-lg ) ;
1111 // stylelint-disable-next-line -- Polaris component custom properties
1212 border-radius : var (--pc-tooltip-border-radius );
1313 pointer-events : none ;
4848}
4949
5050.measured :not (.instant ) {
51- animation : var (--p-keyframes-appear-below ) var (--p-duration-200 )
51+ animation : var (--p-keyframes-appear-below ) var (--p-duration-50 )
5252 var (--p-ease-in ) var (--p-duration-100 ) 1 both ;
5353
5454 // stylelint-disable-next-line -- Not a breakpoint
5858}
5959
6060.measured.positionedAbove :not (.instant ) {
61- animation : var (--p-keyframes-appear-above ) var (--p-duration-200 )
61+ animation : var (--p-keyframes-appear-above ) var (--p-duration-50 )
6262 var (--p-ease-in ) var (--p-duration-100 ) 1 both ;
6363
6464 // stylelint-disable-next-line -- Not a breakpoint
You can’t perform that action at this time.
0 commit comments