chore: update ant-design dependencies and add new icon types

This commit is contained in:
Luiz Costa
2025-11-18 09:39:51 -03:00
parent 775e562fe9
commit 5c0094d74e
22648 changed files with 2140248 additions and 29 deletions
+26
View File
@@ -0,0 +1,26 @@
import { unit } from '@ant-design/cssinjs';
const getRTLStyle = ({
componentCls,
menuArrowOffset,
calc
}) => ({
[`${componentCls}-rtl`]: {
direction: 'rtl'
},
[`${componentCls}-submenu-rtl`]: {
transformOrigin: '100% 0'
},
// Vertical Arrow
[`${componentCls}-rtl${componentCls}-vertical,
${componentCls}-submenu-rtl ${componentCls}-vertical`]: {
[`${componentCls}-submenu-arrow`]: {
'&::before': {
transform: `rotate(-45deg) translateY(${unit(calc(menuArrowOffset).mul(-1).equal())})`
},
'&::after': {
transform: `rotate(45deg) translateY(${unit(menuArrowOffset)})`
}
}
}
});
export default getRTLStyle;