@antscorp/antsomi-ui 1.3.5-beta.198 → 1.3.5-beta.199

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.
@@ -19,7 +19,9 @@ export const LayoutWrapper = styled(Flex) `
19
19
  }
20
20
 
21
21
  .layout-body {
22
+ position: relative;
22
23
  width: 100%;
24
+ z-index: 10;
23
25
 
24
26
  &__menu {
25
27
  flex-shrink: 0;
@@ -1,4 +1,4 @@
1
1
  export { TemplateListing } from './TemplateListing/Loadable';
2
- export * from './Layout/Layout';
2
+ export * from './Layout';
3
3
  export * from './TemplateListing/types';
4
4
  export * from './TemplateListing/hooks';
@@ -1,6 +1,6 @@
1
1
  // Components
2
2
  export { TemplateListing } from './TemplateListing/Loadable';
3
- export * from './Layout/Layout';
3
+ export * from './Layout';
4
4
  // Types
5
5
  export * from './TemplateListing/types';
6
6
  // Hooks
@@ -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, _x, _y, _z, _0, _1;
1
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2;
2
2
  // Types
3
3
  import { theme } from 'antd';
4
4
  // Variables
@@ -167,6 +167,11 @@ THEME.components = {
167
167
  titleFontSizeLG: 14,
168
168
  titleFontSizeSM: 14,
169
169
  horizontalMargin: '0px',
170
+ colorBorderSecondary: '#E5E5E5',
171
+ lineHeight: 1.17,
172
+ lineHeightLG: 1.17,
173
+ lineHeightSM: 1.17,
174
+ itemHoverColor: (_w = THEME.token) === null || _w === void 0 ? void 0 : _w.colorPrimary,
170
175
  },
171
176
  Collapse: {
172
177
  headerBg: '#FFF',
@@ -174,22 +179,22 @@ THEME.components = {
174
179
  headerPadding: '15px 10px',
175
180
  },
176
181
  Switch: {
177
- colorTextQuaternary: (_w = THEME.token) === null || _w === void 0 ? void 0 : _w.bw0,
178
- colorTextTertiary: (_x = THEME.token) === null || _x === void 0 ? void 0 : _x.bw0,
182
+ colorTextQuaternary: (_x = THEME.token) === null || _x === void 0 ? void 0 : _x.bw0,
183
+ colorTextTertiary: (_y = THEME.token) === null || _y === void 0 ? void 0 : _y.bw0,
179
184
  handleSize: 12,
180
185
  handleSizeSM: 7,
181
186
  trackMinWidth: 30,
182
- handleBg: (_y = THEME.token) === null || _y === void 0 ? void 0 : _y.colorPrimary,
187
+ handleBg: (_z = THEME.token) === null || _z === void 0 ? void 0 : _z.colorPrimary,
183
188
  },
184
189
  Popover: {
185
- borderRadius: (_z = THEME.token) === null || _z === void 0 ? void 0 : _z.borderRadiusLG,
190
+ borderRadius: (_0 = THEME.token) === null || _0 === void 0 ? void 0 : _0.borderRadiusLG,
186
191
  },
187
192
  Dropdown: {
188
- borderRadius: (_0 = THEME.token) === null || _0 === void 0 ? void 0 : _0.borderRadiusLG,
193
+ borderRadius: (_1 = THEME.token) === null || _1 === void 0 ? void 0 : _1.borderRadiusLG,
189
194
  controlItemBgHover: '#F2F9FF',
190
195
  },
191
196
  Tooltip: {
192
- colorBgSpotlight: (_1 = THEME.token) === null || _1 === void 0 ? void 0 : _1.bw8,
197
+ colorBgSpotlight: (_2 = THEME.token) === null || _2 === void 0 ? void 0 : _2.bw8,
193
198
  },
194
199
  Menu: {
195
200
  itemHoverBg: '#F2F9FF',
@@ -11,7 +11,7 @@ import { fab } from '@fortawesome/free-brands-svg-icons';
11
11
  library.add(fas, far, fab);
12
12
  const { accent6, accent7, gray5, scrollBarSize } = THEME.token || {};
13
13
  export const GlobalStyle = () => {
14
- var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37;
14
+ var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u, _v, _w, _x, _y, _z, _0, _1, _2, _3, _4, _5, _6, _7, _8, _9, _10, _11, _12, _13, _14, _15, _16, _17, _18, _19, _20, _21, _22, _23, _24, _25, _26, _27, _28, _29, _30, _31, _32, _33, _34, _35, _36, _37, _38;
15
15
  return (React.createElement(Global, { styles: css `
16
16
  @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@100;300;400;500;700;900&display=swap');
17
17
 
@@ -849,6 +849,16 @@ export const GlobalStyle = () => {
849
849
  .antsomi-tabs {
850
850
  .antsomi-tabs-tab {
851
851
  font-weight: bold;
852
+
853
+ &:not(.antsomi-tabs-tab-active):hover {
854
+ background-color: ${(_37 = THEME.token) === null || _37 === void 0 ? void 0 : _37.blue};
855
+ }
856
+ }
857
+ .antsomi-tabs-tab-active {
858
+ z-index: 2;
859
+ }
860
+ .antsomi-tabs-nav::before {
861
+ z-index: 1;
852
862
  }
853
863
  }
854
864
 
@@ -883,7 +893,7 @@ export const GlobalStyle = () => {
883
893
  .antsomi-menu {
884
894
  .antsomi-menu-submenu.antsomi-menu-submenu-selected {
885
895
  .antsomi-menu-item.antsomi-menu-item-selected {
886
- background-color: ${(_37 = THEME.token) === null || _37 === void 0 ? void 0 : _37.blue};
896
+ background-color: ${(_38 = THEME.token) === null || _38 === void 0 ? void 0 : _38.blue};
887
897
  }
888
898
  }
889
899
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@antscorp/antsomi-ui",
3
- "version": "1.3.5-beta.198",
3
+ "version": "1.3.5-beta.199",
4
4
  "description": "An enterprise-class UI design language and React UI library.",
5
5
  "sideEffects": [
6
6
  "dist/*",