@antscorp/antsomi-ui 1.3.5-beta.686 → 1.3.5-beta.687

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,5 @@
1
- var _a, _b, _c;
2
1
  import styled from 'styled-components';
3
- import { THEME } from '@antscorp/antsomi-ui/es/constants';
4
- // const token = theme.getDesignToken(THEME);
2
+ import { globalToken } from '@antscorp/antsomi-ui/es/constants';
5
3
  export const EditorTabStyled = styled.div `
6
4
  position: relative;
7
5
  height: 40px;
@@ -17,7 +15,7 @@ export const EditorTabStyled = styled.div `
17
15
  width: 20px !important;
18
16
  height: 20px !important;
19
17
  &:hover {
20
- background-color: ${(_a = THEME.token) === null || _a === void 0 ? void 0 : _a.blue} !important;
18
+ background-color: ${globalToken === null || globalToken === void 0 ? void 0 : globalToken.blue} !important;
21
19
  }
22
20
  }
23
21
 
@@ -54,17 +52,19 @@ export const EditorTabStyled = styled.div `
54
52
  height: 40px;
55
53
  padding: 0 10px;
56
54
  overflow: hidden;
57
- background-color: ${(_b = THEME.token) === null || _b === void 0 ? void 0 : _b.bw2};
55
+ background-color: ${globalToken === null || globalToken === void 0 ? void 0 : globalToken.bw2};
58
56
 
59
57
  /* &.active button, */
60
58
  & button {
61
- display: none !important;
59
+ /* display: none !important; */
60
+ visibility: hidden;
62
61
  }
63
62
 
64
63
  &:hover {
65
- background-color: ${(_c = THEME.token) === null || _c === void 0 ? void 0 : _c.blue};
64
+ background-color: ${globalToken === null || globalToken === void 0 ? void 0 : globalToken.blue};
66
65
  & button {
67
- display: flex !important;
66
+ /* display: flex !important; */
67
+ visibility: visible;
68
68
  }
69
69
  }
70
70
 
@@ -132,15 +132,22 @@ export const EditorTabStyled = styled.div `
132
132
  display: flex;
133
133
  align-items: center;
134
134
  justify-content: center;
135
- /* border-right: 1px solid #e0e0e0; */
135
+ color: ${globalToken === null || globalToken === void 0 ? void 0 : globalToken.blue7};
136
+ border-radius: ${globalToken === null || globalToken === void 0 ? void 0 : globalToken.borderRadius}px;
137
+ border: 5px solid transparent;
136
138
 
137
139
  /* Typography Block */
138
140
  font-size: 12px;
139
141
 
140
142
  cursor: pointer;
141
143
 
142
- &:last-child {
144
+ /* &:last-child {
143
145
  border-right: 1px solid #e0e0e0;
146
+ } */
147
+
148
+ &:hover {
149
+ border: 5px solid transparent;
150
+ background-color: ${globalToken === null || globalToken === void 0 ? void 0 : globalToken.blue};
144
151
  }
145
152
 
146
153
  /* &.--disabled {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/antsomi-ui",
3
- "version": "1.3.5-beta.686",
3
+ "version": "1.3.5-beta.687",
4
4
  "description": "An enterprise-class UI design language and React UI library.",
5
5
  "sideEffects": [
6
6
  "dist/*",