tntd 2.8.0-beta.7 → 2.8.0-beta.8

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.
@@ -170,8 +170,7 @@
170
170
 
171
171
  // Reset Select's style in addon
172
172
  .@{ant-prefix}-select {
173
- margin: calc(1px - @input-padding-vertical-base) (-@input-padding-horizontal-base);
174
-
173
+ margin: calc(-1px - @input-padding-vertical-base) (-@input-padding-horizontal-base);
175
174
  .@{ant-prefix}-select-selection {
176
175
  margin: -1px;
177
176
  background-color: inherit;
@@ -12,14 +12,18 @@ import LocaleReceiver from 'antd/es/locale-provider/LocaleReceiver';
12
12
  import './index.less';
13
13
  export default (props => {
14
14
  const {
15
- className
15
+ className,
16
+ version
16
17
  } = props,
17
- other = __rest(props, ["className"]);
18
+ other = __rest(props, ["className", "version"]);
19
+ const currentVersion = version || localStorage.getItem('app_version') || 'v2';
18
20
  return React.createElement(LocaleReceiver, {
19
21
  componentName: "PageLoading"
20
22
  }, (locale, localeCode) => {
21
23
  return React.createElement("div", Object.assign({
22
- className: cn('tnt-page-loading-container', className)
23
- }, other), React.createElement("span", null, locale.text));
24
+ className: cn('tnt-page-loading-container', 'tnt-current-' + currentVersion, className)
25
+ }, other), React.createElement("div", {
26
+ className: "tnt-page-loading-bg"
27
+ }, React.createElement("span", null, locale.text)));
24
28
  });
25
29
  });
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/page-loading/index.js"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,MAAM,YAAY,CAAA;AAC3B,OAAO,cAAc,MAAM,wCAAwC,CAAA;AAEnE,OAAO,cAAc,CAAA;AAErB,eAAe,CAAC,KAAK,EAAE,EAAE;IACrB,MAAM,EAAE,SAAS,KAAe,KAAK,EAAf,KAAK,UAAK,KAAK,EAA/B,aAAuB,CAAQ,CAAA;IACrC,OAAO,CACH,oBAAC,cAAc,IAAC,aAAa,EAAC,aAAa,IACxC,CAAC,MAAM,EAAE,UAAU,EAAE,EAAE;QACtB,OAAO,CACH,2CAAK,SAAS,EAAE,EAAE,CAAC,4BAA4B,EAAE,SAAS,CAAC,IAAM,KAAK;YACtE,kCAAO,MAAM,CAAC,IAAI,CAAQ,CACxB,CACL,CAAA;IACH,CAAC,CACc,CAClB,CAAA;AACP,CAAC,CAAC","sourcesContent":["import React from 'react'\nimport cn from 'classnames'\nimport LocaleReceiver from 'antd/es/locale-provider/LocaleReceiver'\n\nimport './index.less'\n\nexport default (props) => {\n const { className, ...other } = props\n return (\n <LocaleReceiver componentName=\"PageLoading\">\n {(locale, localeCode) => {\n return (\n <div className={cn('tnt-page-loading-container', className)} {...other}>\n <span>{locale.text}</span>\n </div>\n )\n }}\n </LocaleReceiver>\n ) \n};\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/page-loading/index.js"],"names":[],"mappings":";;;;;;;;;;;AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,MAAM,YAAY,CAAA;AAC3B,OAAO,cAAc,MAAM,wCAAwC,CAAA;AAEnE,OAAO,cAAc,CAAA;AAErB,eAAe,CAAC,KAAK,EAAE,EAAE;IACvB,MAAM,EAAE,SAAS,EAAE,OAAO,KAAe,KAAK,EAAf,KAAK,UAAK,KAAK,EAAxC,wBAAgC,CAAQ,CAAA;IAC9C,MAAM,cAAc,GAAG,OAAO,IAAI,YAAY,CAAC,OAAO,CAAC,aAAa,CAAC,IAAI,IAAI,CAAA;IAC7E,OAAO,CACL,oBAAC,cAAc,IAAC,aAAa,EAAC,aAAa,IACxC,CAAC,MAAM,EAAE,UAAU,EAAE,EAAE;QACtB,OAAO,CACL,2CAAK,SAAS,EAAE,EAAE,CAAC,4BAA4B,EAAE,cAAc,GAAG,cAAc,EAAE,SAAS,CAAC,IAAM,KAAK;YACrG,6BAAK,SAAS,EAAC,qBAAqB;gBAClC,kCAAO,MAAM,CAAC,IAAI,CAAQ,CACtB,CACF,CACP,CAAA;IACH,CAAC,CACc,CAClB,CAAA;AACH,CAAC,CAAC","sourcesContent":["import React from 'react'\nimport cn from 'classnames'\nimport LocaleReceiver from 'antd/es/locale-provider/LocaleReceiver'\n\nimport './index.less'\n\nexport default (props) => {\n const { className, version, ...other } = props\n const currentVersion = version || localStorage.getItem('app_version') || 'v2'\n return (\n <LocaleReceiver componentName=\"PageLoading\">\n {(locale, localeCode) => {\n return (\n <div className={cn('tnt-page-loading-container', 'tnt-current-' + currentVersion, className)} {...other}>\n <div className=\"tnt-page-loading-bg\">\n <span>{locale.text}</span>\n </div>\n </div>\n )\n }}\n </LocaleReceiver>\n )\n};\n"]}
@@ -1,22 +1,38 @@
1
1
  .tnt-page-loading-container {
2
- position: fixed;
3
- top: 140px;
4
- left: 50%;
5
- width: 70px;
6
- height: 70px;
7
- background-size: 100% 100%;
8
- transform: translate(-50%, 0);
9
- background-repeat: no-repeat;
10
- background-image: url("./loading.gif");
11
- z-index: 99999999999;
12
- text-align: center;
13
- span {
2
+ position: relative;
3
+ &.tnt-current-v2 {
4
+ height: calc(-50px + 100vh) !important;
5
+ }
6
+ &.tnt-current-v3 {
7
+ height: calc(-60px + 100vh) !important;
8
+ }
9
+ .tnt-page-loading-bg {
14
10
  position: absolute;
11
+ top: 45%;
15
12
  left: 50%;
16
- bottom: 0;
17
- transform: translate(-50%, 0);
18
- width: 100%;
19
- font-size: 12px;
20
- color: #17233D;
13
+ width: 70px;
14
+ height: 70px;
15
+ background-size: 100% 100%;
16
+ transform: translate(-50%, -50%);
17
+ background-repeat: no-repeat;
18
+ background-image: url("./loading.gif");
19
+ z-index: 99999999999;
20
+ text-align: center;
21
+ span {
22
+ position: absolute;
23
+ left: 50%;
24
+ bottom: 0;
25
+ transform: translate(-50%, 0);
26
+ width: 100%;
27
+ font-size: 12px;
28
+ color: #17233D;
29
+ }
30
+ }
31
+ }
32
+ .tnt-themeS2,.tnt-themeS3 {
33
+ .tnt-current-v3.tnt-page-loading-container {
34
+ span {
35
+ color: #fff;
36
+ }
21
37
  }
22
38
  }
@@ -3,7 +3,7 @@
3
3
  background: #fff;
4
4
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.05);
5
5
  padding: 20px 16px 16px 16px;
6
- height: calc(-84px + 100vh) !important;
6
+ max-height: calc(-84px + 100vh) !important;
7
7
  overflow-y: auto;
8
8
 
9
9
  .tnt-querylistscene-content {
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import cn from 'classnames';
2
3
  import './index.less';
3
4
  export default ((WrappedComponent, options = {}) => {
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/tabs-container/index.js"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,YAAY,CAAA;AAE3B,OAAO,cAAc,CAAC;AAEtB,eAAe,CAAC,gBAAgB,EAAE,OAAO,GAAG,EAAE,EAAE,EAAE;IAC9C,MAAM,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAE,GAAG,OAAO,CAAA;IAC3C,MAAM,cAAc,GAAG,OAAO,IAAI,YAAY,CAAC,OAAO,CAAC,aAAa,CAAC,IAAI,IAAI,CAAC;IAE9E,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CACd,6BAAK,SAAS,EAAE,EAAE,CAAC,sBAAsB,EAAE,cAAc,GAAG,cAAc,EAAE,SAAS,CAAC;QAClF,oBAAC,gBAAgB,oBAAK,KAAK,EAAM,OAAO,EAAI,CAC1C,CACT,CAAC;AACN,CAAC,CAAC","sourcesContent":["import cn from 'classnames'\n\nimport './index.less';\n\nexport default (WrappedComponent, options = {}) => {\n const { version, className = '' } = options\n const currentVersion = version || localStorage.getItem('app_version') || 'v2';\n\n return (props) => (\n <div className={cn('tnt-tabs-v-container', 'tnt-current-' + currentVersion, className)}>\n <WrappedComponent {...props} {...options} />\n </div>\n );\n};\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/tabs-container/index.js"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAA;AACzB,OAAO,EAAE,MAAM,YAAY,CAAA;AAE3B,OAAO,cAAc,CAAC;AAEtB,eAAe,CAAC,gBAAgB,EAAE,OAAO,GAAG,EAAE,EAAE,EAAE;IAC9C,MAAM,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAE,GAAG,OAAO,CAAA;IAC3C,MAAM,cAAc,GAAG,OAAO,IAAI,YAAY,CAAC,OAAO,CAAC,aAAa,CAAC,IAAI,IAAI,CAAC;IAE9E,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CACd,6BAAK,SAAS,EAAE,EAAE,CAAC,sBAAsB,EAAE,cAAc,GAAG,cAAc,EAAE,SAAS,CAAC;QAClF,oBAAC,gBAAgB,oBAAK,KAAK,EAAM,OAAO,EAAI,CAC1C,CACT,CAAC;AACN,CAAC,CAAC","sourcesContent":["import React from 'react'\nimport cn from 'classnames'\n\nimport './index.less';\n\nexport default (WrappedComponent, options = {}) => {\n const { version, className = '' } = options\n const currentVersion = version || localStorage.getItem('app_version') || 'v2';\n\n return (props) => (\n <div className={cn('tnt-tabs-v-container', 'tnt-current-' + currentVersion, className)}>\n <WrappedComponent {...props} {...options} />\n </div>\n );\n};\n"]}
@@ -12,7 +12,7 @@
12
12
  }
13
13
  .ant-tabs-nav .ant-tabs-tab {
14
14
  padding: 9px 15px 10px;
15
- margin-right: 0;
15
+ // margin-right: 0;
16
16
  }
17
17
  .ant-tabs-nav-wrap,
18
18
  .ant-tabs-nav-container {
@@ -22,7 +22,7 @@
22
22
  bottom: 0;
23
23
  }
24
24
  .tnt-querylistscene-content {
25
- height: calc(100vh - 90px);
25
+ max-height: calc(100vh - 90px);
26
26
  overflow: hidden auto;
27
27
  }
28
28
  }
@@ -42,7 +42,7 @@
42
42
  }
43
43
  }
44
44
  .tnt-querylistscene-content {
45
- height: calc(100vh - 131px);
45
+ max-height: calc(100vh - 131px);
46
46
  overflow: hidden auto;
47
47
  background-color: transparent;
48
48
  padding: 20px 16px 16px 16px;
@@ -170,8 +170,7 @@
170
170
 
171
171
  // Reset Select's style in addon
172
172
  .@{ant-prefix}-select {
173
- margin: calc(1px - @input-padding-vertical-base) (-@input-padding-horizontal-base);
174
-
173
+ margin: calc(-1px - @input-padding-vertical-base) (-@input-padding-horizontal-base);
175
174
  .@{ant-prefix}-select-selection {
176
175
  margin: -1px;
177
176
  background-color: inherit;
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/page-loading/index.js"],"names":[],"mappings":"AAMe,yDAad"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/page-loading/index.js"],"names":[],"mappings":"AAMe,yDAgBd"}
@@ -19,12 +19,16 @@ var __rest = void 0 && (void 0).__rest || function (s, e) {
19
19
  };
20
20
  var _default = exports["default"] = function _default(props) {
21
21
  var className = props.className,
22
- other = __rest(props, ["className"]);
22
+ version = props.version,
23
+ other = __rest(props, ["className", "version"]);
24
+ var currentVersion = version || localStorage.getItem('app_version') || 'v2';
23
25
  return _react["default"].createElement(_LocaleReceiver["default"], {
24
26
  componentName: "PageLoading"
25
27
  }, function (locale, localeCode) {
26
28
  return _react["default"].createElement("div", Object.assign({
27
- className: (0, _classnames["default"])('tnt-page-loading-container', className)
28
- }, other), _react["default"].createElement("span", null, locale.text));
29
+ className: (0, _classnames["default"])('tnt-page-loading-container', 'tnt-current-' + currentVersion, className)
30
+ }, other), _react["default"].createElement("div", {
31
+ className: "tnt-page-loading-bg"
32
+ }, _react["default"].createElement("span", null, locale.text)));
29
33
  });
30
34
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/page-loading/index.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAyB;AACzB,4DAA2B;AAC3B,4FAAmE;AAEnE,wBAAqB;AAErB,kBAAe,CAAC,KAAK,EAAE,EAAE;IACrB,MAAM,EAAE,SAAS,KAAe,KAAK,EAAf,KAAK,UAAK,KAAK,EAA/B,aAAuB,CAAQ,CAAA;IACrC,OAAO,CACH,8BAAC,wBAAc,IAAC,aAAa,EAAC,aAAa,IACxC,CAAC,MAAM,EAAE,UAAU,EAAE,EAAE;QACtB,OAAO,CACH,qDAAK,SAAS,EAAE,IAAA,oBAAE,EAAC,4BAA4B,EAAE,SAAS,CAAC,IAAM,KAAK;YACtE,4CAAO,MAAM,CAAC,IAAI,CAAQ,CACxB,CACL,CAAA;IACH,CAAC,CACc,CAClB,CAAA;AACP,CAAC,CAAC","sourcesContent":["import React from 'react'\nimport cn from 'classnames'\nimport LocaleReceiver from 'antd/lib/locale-provider/LocaleReceiver'\n\nimport './index.less'\n\nexport default (props) => {\n const { className, ...other } = props\n return (\n <LocaleReceiver componentName=\"PageLoading\">\n {(locale, localeCode) => {\n return (\n <div className={cn('tnt-page-loading-container', className)} {...other}>\n <span>{locale.text}</span>\n </div>\n )\n }}\n </LocaleReceiver>\n ) \n};\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/page-loading/index.js"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,kDAAyB;AACzB,4DAA2B;AAC3B,4FAAmE;AAEnE,wBAAqB;AAErB,kBAAe,CAAC,KAAK,EAAE,EAAE;IACvB,MAAM,EAAE,SAAS,EAAE,OAAO,KAAe,KAAK,EAAf,KAAK,UAAK,KAAK,EAAxC,wBAAgC,CAAQ,CAAA;IAC9C,MAAM,cAAc,GAAG,OAAO,IAAI,YAAY,CAAC,OAAO,CAAC,aAAa,CAAC,IAAI,IAAI,CAAA;IAC7E,OAAO,CACL,8BAAC,wBAAc,IAAC,aAAa,EAAC,aAAa,IACxC,CAAC,MAAM,EAAE,UAAU,EAAE,EAAE;QACtB,OAAO,CACL,qDAAK,SAAS,EAAE,IAAA,oBAAE,EAAC,4BAA4B,EAAE,cAAc,GAAG,cAAc,EAAE,SAAS,CAAC,IAAM,KAAK;YACrG,uCAAK,SAAS,EAAC,qBAAqB;gBAClC,4CAAO,MAAM,CAAC,IAAI,CAAQ,CACtB,CACF,CACP,CAAA;IACH,CAAC,CACc,CAClB,CAAA;AACH,CAAC,CAAC","sourcesContent":["import React from 'react'\nimport cn from 'classnames'\nimport LocaleReceiver from 'antd/lib/locale-provider/LocaleReceiver'\n\nimport './index.less'\n\nexport default (props) => {\n const { className, version, ...other } = props\n const currentVersion = version || localStorage.getItem('app_version') || 'v2'\n return (\n <LocaleReceiver componentName=\"PageLoading\">\n {(locale, localeCode) => {\n return (\n <div className={cn('tnt-page-loading-container', 'tnt-current-' + currentVersion, className)} {...other}>\n <div className=\"tnt-page-loading-bg\">\n <span>{locale.text}</span>\n </div>\n </div>\n )\n }}\n </LocaleReceiver>\n )\n};\n"]}
@@ -1,22 +1,38 @@
1
1
  .tnt-page-loading-container {
2
- position: fixed;
3
- top: 140px;
4
- left: 50%;
5
- width: 70px;
6
- height: 70px;
7
- background-size: 100% 100%;
8
- transform: translate(-50%, 0);
9
- background-repeat: no-repeat;
10
- background-image: url("./loading.gif");
11
- z-index: 99999999999;
12
- text-align: center;
13
- span {
2
+ position: relative;
3
+ &.tnt-current-v2 {
4
+ height: calc(-50px + 100vh) !important;
5
+ }
6
+ &.tnt-current-v3 {
7
+ height: calc(-60px + 100vh) !important;
8
+ }
9
+ .tnt-page-loading-bg {
14
10
  position: absolute;
11
+ top: 45%;
15
12
  left: 50%;
16
- bottom: 0;
17
- transform: translate(-50%, 0);
18
- width: 100%;
19
- font-size: 12px;
20
- color: #17233D;
13
+ width: 70px;
14
+ height: 70px;
15
+ background-size: 100% 100%;
16
+ transform: translate(-50%, -50%);
17
+ background-repeat: no-repeat;
18
+ background-image: url("./loading.gif");
19
+ z-index: 99999999999;
20
+ text-align: center;
21
+ span {
22
+ position: absolute;
23
+ left: 50%;
24
+ bottom: 0;
25
+ transform: translate(-50%, 0);
26
+ width: 100%;
27
+ font-size: 12px;
28
+ color: #17233D;
29
+ }
30
+ }
31
+ }
32
+ .tnt-themeS2,.tnt-themeS3 {
33
+ .tnt-current-v3.tnt-page-loading-container {
34
+ span {
35
+ color: #fff;
36
+ }
21
37
  }
22
38
  }
@@ -3,7 +3,7 @@
3
3
  background: #fff;
4
4
  box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.05);
5
5
  padding: 20px 16px 16px 16px;
6
- height: calc(-84px + 100vh) !important;
6
+ max-height: calc(-84px + 100vh) !important;
7
7
  overflow-y: auto;
8
8
 
9
9
  .tnt-querylistscene-content {
@@ -1,3 +1,4 @@
1
- declare function _default(WrappedComponent: any, options?: {}): (props: any) => import("react").JSX.Element;
1
+ declare function _default(WrappedComponent: any, options?: {}): (props: any) => React.JSX.Element;
2
2
  export default _default;
3
+ import React from "react";
3
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tabs-container/index.js"],"names":[],"mappings":"AAIe,4GASd"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/tabs-container/index.js"],"names":[],"mappings":"AAKe,kGASd"}
@@ -4,6 +4,7 @@ Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
6
  exports["default"] = void 0;
7
+ var _react = _interopRequireDefault(require("react"));
7
8
  var _classnames = _interopRequireDefault(require("classnames"));
8
9
  require("./index.less");
9
10
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { "default": obj }; }
@@ -14,8 +15,8 @@ var _default = exports["default"] = function _default(WrappedComponent) {
14
15
  className = _options$className === void 0 ? '' : _options$className;
15
16
  var currentVersion = version || localStorage.getItem('app_version') || 'v2';
16
17
  return function (props) {
17
- return React.createElement("div", {
18
+ return _react["default"].createElement("div", {
18
19
  className: (0, _classnames["default"])('tnt-tabs-v-container', 'tnt-current-' + currentVersion, className)
19
- }, React.createElement(WrappedComponent, Object.assign({}, props, options)));
20
+ }, _react["default"].createElement(WrappedComponent, Object.assign({}, props, options)));
20
21
  };
21
22
  };
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/tabs-container/index.js"],"names":[],"mappings":";;;;;AAAA,4DAA2B;AAE3B,wBAAsB;AAEtB,kBAAe,CAAC,gBAAgB,EAAE,OAAO,GAAG,EAAE,EAAE,EAAE;IAC9C,MAAM,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAE,GAAG,OAAO,CAAA;IAC3C,MAAM,cAAc,GAAG,OAAO,IAAI,YAAY,CAAC,OAAO,CAAC,aAAa,CAAC,IAAI,IAAI,CAAC;IAE9E,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CACd,6BAAK,SAAS,EAAE,IAAA,oBAAE,EAAC,sBAAsB,EAAE,cAAc,GAAG,cAAc,EAAE,SAAS,CAAC;QAClF,oBAAC,gBAAgB,oBAAK,KAAK,EAAM,OAAO,EAAI,CAC1C,CACT,CAAC;AACN,CAAC,CAAC","sourcesContent":["import cn from 'classnames'\n\nimport './index.less';\n\nexport default (WrappedComponent, options = {}) => {\n const { version, className = '' } = options\n const currentVersion = version || localStorage.getItem('app_version') || 'v2';\n\n return (props) => (\n <div className={cn('tnt-tabs-v-container', 'tnt-current-' + currentVersion, className)}>\n <WrappedComponent {...props} {...options} />\n </div>\n );\n};\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/tabs-container/index.js"],"names":[],"mappings":";;;;;AAAA,kDAAyB;AACzB,4DAA2B;AAE3B,wBAAsB;AAEtB,kBAAe,CAAC,gBAAgB,EAAE,OAAO,GAAG,EAAE,EAAE,EAAE;IAC9C,MAAM,EAAE,OAAO,EAAE,SAAS,GAAG,EAAE,EAAE,GAAG,OAAO,CAAA;IAC3C,MAAM,cAAc,GAAG,OAAO,IAAI,YAAY,CAAC,OAAO,CAAC,aAAa,CAAC,IAAI,IAAI,CAAC;IAE9E,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CACd,uCAAK,SAAS,EAAE,IAAA,oBAAE,EAAC,sBAAsB,EAAE,cAAc,GAAG,cAAc,EAAE,SAAS,CAAC;QAClF,8BAAC,gBAAgB,oBAAK,KAAK,EAAM,OAAO,EAAI,CAC1C,CACT,CAAC;AACN,CAAC,CAAC","sourcesContent":["import React from 'react'\nimport cn from 'classnames'\n\nimport './index.less';\n\nexport default (WrappedComponent, options = {}) => {\n const { version, className = '' } = options\n const currentVersion = version || localStorage.getItem('app_version') || 'v2';\n\n return (props) => (\n <div className={cn('tnt-tabs-v-container', 'tnt-current-' + currentVersion, className)}>\n <WrappedComponent {...props} {...options} />\n </div>\n );\n};\n"]}
@@ -12,7 +12,7 @@
12
12
  }
13
13
  .ant-tabs-nav .ant-tabs-tab {
14
14
  padding: 9px 15px 10px;
15
- margin-right: 0;
15
+ // margin-right: 0;
16
16
  }
17
17
  .ant-tabs-nav-wrap,
18
18
  .ant-tabs-nav-container {
@@ -22,7 +22,7 @@
22
22
  bottom: 0;
23
23
  }
24
24
  .tnt-querylistscene-content {
25
- height: calc(100vh - 90px);
25
+ max-height: calc(100vh - 90px);
26
26
  overflow: hidden auto;
27
27
  }
28
28
  }
@@ -42,7 +42,7 @@
42
42
  }
43
43
  }
44
44
  .tnt-querylistscene-content {
45
- height: calc(100vh - 131px);
45
+ max-height: calc(100vh - 131px);
46
46
  overflow: hidden auto;
47
47
  background-color: transparent;
48
48
  padding: 20px 16px 16px 16px;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tntd",
3
- "version": "2.8.0-beta.7",
3
+ "version": "2.8.0-beta.8",
4
4
  "license": "MIT",
5
5
  "scripts": {
6
6
  "start": "heft start --storybook",