@antscorp/antsomi-ui 1.3.5-beta.308 → 1.3.5-beta.309
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
var _a
|
|
1
|
+
var _a;
|
|
2
2
|
import styled from 'styled-components';
|
|
3
3
|
import { Typography } from '../../../../atoms';
|
|
4
|
-
import { THEME } from '@antscorp/antsomi-ui/es/constants';
|
|
4
|
+
import { THEME, globalToken } from '@antscorp/antsomi-ui/es/constants';
|
|
5
5
|
const { Text } = Typography;
|
|
6
6
|
export const MenuWrapper = styled.div `
|
|
7
7
|
position: relative;
|
|
@@ -43,6 +43,11 @@ export const MenuWrapper = styled.div `
|
|
|
43
43
|
.ant-menu-submenu-title {
|
|
44
44
|
height: 30px !important;
|
|
45
45
|
}
|
|
46
|
+
|
|
47
|
+
.antsomi-menu-submenu-title {
|
|
48
|
+
margin-top: 10px;
|
|
49
|
+
margin-bottom: 10px;
|
|
50
|
+
}
|
|
46
51
|
}
|
|
47
52
|
|
|
48
53
|
.category-loading {
|
|
@@ -88,15 +93,16 @@ export const CustomLabelStyled = styled.div `
|
|
|
88
93
|
flex-shrink: 0;
|
|
89
94
|
font-size: 13px;
|
|
90
95
|
font-weight: 400;
|
|
91
|
-
|
|
96
|
+
color: ${globalToken === null || globalToken === void 0 ? void 0 : globalToken.bw8};
|
|
92
97
|
line-height: 1 !important;
|
|
98
|
+
font-size: 11px;
|
|
93
99
|
height: fit-content;
|
|
94
100
|
}
|
|
95
101
|
`;
|
|
96
102
|
export const CustomRootLabel = styled.div `
|
|
97
103
|
font-size: 13px !important;
|
|
98
104
|
font-weight: 400;
|
|
99
|
-
/* color: ${(
|
|
105
|
+
/* color: ${(_a = THEME === null || THEME === void 0 ? void 0 : THEME.token) === null || _a === void 0 ? void 0 : _a.bw8}; */
|
|
100
106
|
height: 100%;
|
|
101
107
|
display: flex;
|
|
102
108
|
align-items: center;
|
package/es/constants/theme.js
CHANGED