@hw-component/table 1.10.42 → 1.10.43

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.
@@ -53,7 +53,8 @@ var Text = function Text(_ref) {
53
53
  }
54
54
  },
55
55
  style: {
56
- paddingRight: closable ? 17 : 0
56
+ paddingRight: closable ? 17 : 0,
57
+ color: "inherit"
57
58
  },
58
59
  children: children
59
60
  });
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: () => JSX.Element;
2
3
  export default _default;
@@ -56,7 +56,8 @@ var Text = function Text(_ref) {
56
56
  }
57
57
  },
58
58
  style: {
59
- paddingRight: closable ? 17 : 0
59
+ paddingRight: closable ? 17 : 0,
60
+ color: "inherit"
60
61
  },
61
62
  children: children
62
63
  });
@@ -1,2 +1,3 @@
1
+ /// <reference types="react" />
1
2
  declare const _default: () => JSX.Element;
2
3
  export default _default;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hw-component/table",
3
- "version": "1.10.42",
3
+ "version": "1.10.43",
4
4
  "description": "基于antd二次开发table组件",
5
5
  "keywords": [
6
6
  "table"
@@ -52,7 +52,7 @@ export const Text: React.FC<TextProps> = ({ children, closable }) => {
52
52
  return (
53
53
  <Typography.Text
54
54
  ellipsis={{ tooltip: { title: children, placement: "topLeft" } }}
55
- style={{ paddingRight: closable ? 17 : 0 }}
55
+ style={{ paddingRight: closable ? 17 : 0 ,color:"inherit"}}
56
56
  >
57
57
  {children}
58
58
  </Typography.Text>
@@ -130,7 +130,7 @@ const TagsComponent = (props: IProps) => {
130
130
  ...itemProps,
131
131
  };
132
132
  const cuKey = tagValue || indexKey;
133
- const tagNode = <Text closable={closable}>{tagLabel}</Text>;
133
+ const tagNode = <Text closable={closable} >{tagLabel}</Text>;
134
134
  return (
135
135
  <Tooltip {...tooltipProps}>
136
136
  <Tag