@ccs-ui/rc-pro 1.1.24-beta-14 → 1.1.24-beta-16

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,4 +1,4 @@
1
- import CCS from '../';
1
+ import CCS from '..';
2
2
  import './index.less';
3
3
  type PropsType = {
4
4
  maxLen?: number;
@@ -20,7 +20,7 @@ import ResizeObserver from 'rc-resize-observer';
20
20
  import { useEffect, useMemo, useRef } from 'react';
21
21
  import { useLocation } from 'react-router';
22
22
  import { useOutlet } from 'react-router-dom';
23
- import { CcsUtils } from "../";
23
+ import { CcsUtils } from '..';
24
24
  import "./index.less";
25
25
  import Page from "./page";
26
26
  import { jsx as _jsx } from "react/jsx-runtime";
@@ -1,6 +1,6 @@
1
- import { PageContext } from "../es/context";
2
1
  import { memo, useRef } from 'react';
3
2
  import Scrollbars from 'react-custom-scrollbars';
3
+ import { PageContext } from "../context";
4
4
  import { jsx as _jsx } from "react/jsx-runtime";
5
5
  export default /*#__PURE__*/memo(function (props) {
6
6
  var locationRef = useRef(props.location);
@@ -4,6 +4,7 @@ function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { va
4
4
  function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
5
5
  function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return _typeof(key) === "symbol" ? key : String(key); }
6
6
  function _toPrimitive(input, hint) { if (_typeof(input) !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (_typeof(res) !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
7
+ import { theme } from 'antd';
7
8
  import { noAddData, noData, notFoundIcon } from "./icon";
8
9
  import { jsx as _jsx } from "react/jsx-runtime";
9
10
  import { jsxs as _jsxs } from "react/jsx-runtime";
@@ -14,6 +15,8 @@ function Basic(_ref) {
14
15
  _ref$iconWidth = _ref.iconWidth,
15
16
  iconWidth = _ref$iconWidth === void 0 ? 140 : _ref$iconWidth,
16
17
  icon = _ref.icon;
18
+ var _theme$useToken = theme.useToken(),
19
+ token = _theme$useToken.token;
17
20
  return /*#__PURE__*/_jsxs("div", {
18
21
  style: _objectSpread({
19
22
  textAlign: 'center',
@@ -24,7 +27,7 @@ function Basic(_ref) {
24
27
  width: iconWidth
25
28
  }), /*#__PURE__*/_jsx("p", {
26
29
  style: _objectSpread({
27
- color: 'rgba(0,0,0,0.45',
30
+ color: token.colorText,
28
31
  fontSize: 16
29
32
  }, textStyle),
30
33
  children: text
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccs-ui/rc-pro",
3
- "version": "1.1.24-beta-14",
3
+ "version": "1.1.24-beta-16",
4
4
  "description": "修复table双滚动条问题;修复modal按钮无间距问题;修改antd组件过期参数使用问题;修复ccs date-picker插件bug;colorful 主题组件样式调整",
5
5
  "license": "MIT",
6
6
  "author": {