Transition refactor for Material

pull/6537/head
Cagatay Civici 2024-10-04 10:33:34 +03:00
parent 742d781227
commit d4d0ece671
3 changed files with 15 additions and 3 deletions

View File

@ -53,7 +53,7 @@ const theme = ({ dt }) => `
left: ${dt('toggleswitch.gap')};
margin-top: calc(-1 * calc(${dt('toggleswitch.handle.size')} / 2));
border-radius: ${dt('toggleswitch.handle.border.radius')};
transition: background ${dt('toggleswitch.transition.duration')}, color ${dt('toggleswitch.transition.duration')}, left ${dt('toggleswitch.slide.duration')};
transition: background ${dt('toggleswitch.transition.duration')}, color ${dt('toggleswitch.transition.duration')}, left ${dt('toggleswitch.slide.duration')}, box-shadow ${dt('toggleswitch.slide.duration')};
}
.p-toggleswitch.p-toggleswitch-checked .p-toggleswitch-slider {

View File

@ -165,5 +165,11 @@ export default {
selectedBorderColor: '{primary.900}'
}
}
}
},
style: ({ dt }) => `
.p-datatable-header-cell,
.p-datatable-tbody > tr {
transition: none;
}
`
};

View File

@ -119,5 +119,11 @@ export default {
selectedBorderColor: '{primary.900}'
}
}
}
},
style: ({ dt }) => `
.p-treetable-header-cell,
.p-treetable-tbody > tr {
transition: none;
}
`
};