@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, _b;
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
- /* color: ${(_a = THEME === null || THEME === void 0 ? void 0 : THEME.token) === null || _a === void 0 ? void 0 : _a.bw8}; */
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: ${(_b = THEME === null || THEME === void 0 ? void 0 : THEME.token) === null || _b === void 0 ? void 0 : _b.bw8}; */
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;
@@ -211,7 +211,7 @@ THEME.components = {
211
211
  itemHoverBg: '#F2F9FF',
212
212
  activeBarBorderWidth: 0,
213
213
  itemMarginInline: 0,
214
- itemMarginBlock: 0,
214
+ itemMarginBlock: 5,
215
215
  itemBorderRadius: 5,
216
216
  subMenuItemBg: 'transparent',
217
217
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/antsomi-ui",
3
- "version": "1.3.5-beta.308",
3
+ "version": "1.3.5-beta.309",
4
4
  "description": "An enterprise-class UI design language and React UI library.",
5
5
  "sideEffects": [
6
6
  "dist/*",