@antscorp/antsomi-ui 1.3.5-beta.139 → 1.3.5-beta.140

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,10 +1,11 @@
1
- var _a, _b, _c, _d;
1
+ var _a, _b, _c;
2
2
  // Libraries
3
3
  import styled from 'styled-components';
4
4
  // Drawer
5
5
  import { Drawer } from '../Drawer';
6
6
  // Constants
7
7
  import { THEME } from '@antscorp/antsomi-ui/es/constants';
8
+ const { token } = THEME || {};
8
9
  export const StyledDrawer = styled(Drawer) `
9
10
  &.antsomi-drawer-content {
10
11
  .drawer-detail-body {
@@ -24,6 +25,7 @@ export const StyledDrawer = styled(Drawer) `
24
25
  justify-content: center;
25
26
  color: ${(_a = THEME.token) === null || _a === void 0 ? void 0 : _a.bw8};
26
27
  transition: all 0.3s;
28
+ z-index: 100;
27
29
  cursor: pointer;
28
30
 
29
31
  &:hover {
@@ -33,6 +35,8 @@ export const StyledDrawer = styled(Drawer) `
33
35
  }
34
36
  `;
35
37
  export const Content = styled.div `
38
+ position: relative;
39
+ overflow: auto;
36
40
  flex: 1 1 0%;
37
41
  `;
38
42
  export const LeftMenu = styled.div `
@@ -83,12 +87,19 @@ export const MenuItem = styled.div `
83
87
  width: 24px;
84
88
  }
85
89
 
86
- &.active,
87
90
  &:hover {
91
+ background-color: ${token === null || token === void 0 ? void 0 : token.bw0};
92
+
93
+ * {
94
+ color: ${token === null || token === void 0 ? void 0 : token.colorPrimary};
95
+ }
96
+ }
97
+
98
+ &.active {
88
99
  background-color: #d3e3fd;
89
100
 
90
101
  * {
91
- color: ${(_d = THEME.token) === null || _d === void 0 ? void 0 : _d.colorPrimary};
102
+ color: ${token === null || token === void 0 ? void 0 : token.colorPrimary};
92
103
  }
93
104
  }
94
105
  `;
@@ -1,4 +1,4 @@
1
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w;
1
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x;
2
2
  // Types
3
3
  import { theme } from 'antd';
4
4
  // Variables
@@ -176,4 +176,7 @@ THEME.components = {
176
176
  itemHoverBg: '#F2F9FF',
177
177
  activeBarBorderWidth: 0,
178
178
  },
179
+ Tooltip: {
180
+ colorBgSpotlight: (_x = THEME.token) === null || _x === void 0 ? void 0 : _x.bw8,
181
+ },
179
182
  };
package/es/test.js CHANGED
@@ -5,7 +5,7 @@ import '@antscorp/icons/main.css';
5
5
  import { ConfigProvider, InputDynamic, SettingWrapper, UploadImage, } from './components';
6
6
  // Queries configs
7
7
  import ContentSource from './components/organism/ContentSources';
8
- import { queryClientAntsomiUI, QueryClientProviderAntsomiUI } from './queries';
8
+ import { QueryClientProviderAntsomiUI, queryClientAntsomiUI } from './queries';
9
9
  export const BACKGROUND_COLOR_STYLE = {
10
10
  SOLID: {
11
11
  value: 'color',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/antsomi-ui",
3
- "version": "1.3.5-beta.139",
3
+ "version": "1.3.5-beta.140",
4
4
  "description": "An enterprise-class UI design language and React UI library.",
5
5
  "sideEffects": [
6
6
  "dist/*",