@ccs-ui/rc-pro 1.1.1-rc13 → 1.1.1-rc15

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.
@@ -459,8 +459,9 @@ var ProTable = function ProTable(props) {
459
459
  loading: loading || data.loading || false
460
460
  }));
461
461
  };
462
+ var isDark = token._appTheme === 'dark';
462
463
  var render = /*#__PURE__*/_jsxs("div", {
463
- className: classNames(classPrefix, className, _defineProperty({}, 'dark-table', token._appTheme === 'dark')),
464
+ className: classNames(classPrefix, className, _defineProperty({}, 'dark-table', isDark)),
464
465
  style: style,
465
466
  children: [!(!formItems.length && !toolbar) && isAuth && /*#__PURE__*/_jsx(SearchComponent, {
466
467
  form: form,
@@ -25,7 +25,7 @@
25
25
  }
26
26
 
27
27
  &-icon {
28
- color: rgb(0 0 0 / 75%);
28
+ // color: rgb(0 0 0 / 75%);
29
29
  font-size: 16;
30
30
  }
31
31
 
@@ -3,6 +3,7 @@ import { FormInstance } from 'antd/lib/form';
3
3
  import { ReactElement } from 'react';
4
4
  import { CcsProTableProps } from './';
5
5
  interface PropsType<T> extends Pick<CcsProTableProps<T>, 'toolbar' | 'formItems' | 'formInitValues' | 'expandForm' | 'disableCollapseForm'> {
6
+ /** 显示列 */
6
7
  columns?: any;
7
8
  /** 更多查询条件 */
8
9
  hasMore?: boolean;
@@ -204,7 +204,6 @@ function SearchComponent(_ref) {
204
204
  var renderOperation = /*#__PURE__*/_jsxs("div", {
205
205
  className: "".concat(classPrefix, "-header-buttons"),
206
206
  children: [hasMore && !disableCollapseForm && /*#__PURE__*/_jsx(Button, {
207
- className: "ccs-pl-expbtn",
208
207
  onClick: function onClick() {
209
208
  return setIsShowMore(!isShowMore);
210
209
  },
@@ -220,7 +219,6 @@ function SearchComponent(_ref) {
220
219
  }), /*#__PURE__*/_jsx(Tooltip, {
221
220
  title: "\u91CD\u7F6E",
222
221
  children: /*#__PURE__*/_jsx(Button, {
223
- className: "ccs-pl-rstbtn",
224
222
  onClick: onReset,
225
223
  icon: /*#__PURE__*/_jsx(RedoOutlined, {
226
224
  className: "".concat(classPrefix, "-icon")
@@ -239,7 +237,6 @@ function SearchComponent(_ref) {
239
237
  onOpenChange: function onOpenChange(flag) {
240
238
  return setDropdownVisible(flag);
241
239
  },
242
- className: "ccs-pl-setbtn",
243
240
  children: /*#__PURE__*/_jsx(Tooltip, {
244
241
  title: "\u5217\u8BBE\u7F6E",
245
242
  children: /*#__PURE__*/_jsx(Button, {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ccs-ui/rc-pro",
3
- "version": "1.1.1-rc13",
3
+ "version": "1.1.1-rc15",
4
4
  "description": "A react pro components",
5
5
  "license": "MIT",
6
6
  "module": "es/index.js",