diff --git a/CHANGELOG.en-US.md b/CHANGELOG.en-US.md
index 19996b7cf4..556fd96934 100644
--- a/CHANGELOG.en-US.md
+++ b/CHANGELOG.en-US.md
@@ -15,6 +15,16 @@ timeline: true
---
+## 0.4.2
+
+`2018-11-13`
+
+- 🌟 `Icon`: Add new icons.
+- 🌟 `Table`: Add `noFilters`, Used to block the default filtering.
+- 🌟 `Table.Column`: Add `disableClick` to disable the check for the `Table` filter.
+- 💄 `Tag`: Fix hot label display issues.
+- 💄 `Select`: all-select and no logic optimization.
+
## 0.4.1
`2018-10-26`
diff --git a/CHANGELOG.zh-CN.md b/CHANGELOG.zh-CN.md
index d7c4d0ede6..c7f8807bba 100644
--- a/CHANGELOG.zh-CN.md
+++ b/CHANGELOG.zh-CN.md
@@ -15,6 +15,16 @@ timeline: true
---
+## 0.4.2
+
+`2018-11-13`
+
+- 🌟 `Icon`: 增加新的图标。
+- 🌟 `Table`: 增加`noFilters`,用于阻止默认的过滤筛选功能。
+- 🌟 `Table.Column`: 增加`disableClick`, 用于 `Table` 筛选项禁用勾选。
+- 💄 `Tag`: 修复热门标签显示问题。
+- 💄 `Select`: Select全选和无的逻辑优化。
+
## 0.4.1
`2018-10-26`
diff --git a/components/icon/icons.tsx b/components/icon/icons.tsx
index 2a8cc87a15..267eccc432 100644
--- a/components/icon/icons.tsx
+++ b/components/icon/icons.tsx
@@ -1,5 +1,6 @@
const icons = {
default: [
+ 'cluster', 'kubernetes_cluster', 'disconnect', 'running', 'notification_setting',
'authority', 'develop_console', 'frame', 'record_test',
'agile_epic', 'agile_fault', 'agile_story', 'agile_subtask', 'agile_task', 'auto_test', 'devops_chart',
'agile_chart', 'test_chart', 'bar_chart', 'unlock', 'classname',
diff --git a/components/rc-components/menu/MenuItem.jsx b/components/rc-components/menu/MenuItem.jsx
index f4f208fbe6..c26e3c3166 100644
--- a/components/rc-components/menu/MenuItem.jsx
+++ b/components/rc-components/menu/MenuItem.jsx
@@ -154,7 +154,7 @@ const MenuItem = createReactClass({
}
const notFound = props.eventKey === 'NOT_FOUND';
- const checkbox = props.multiple && !notFound ? : null;
+ const checkbox = props.multiple && !notFound ? : null;
return (
{
+ return getValuePropValue(option);
+ });
if (name === 'check-all') {
- const values = this._options.map((option) => {
- return getValuePropValue(option);
- });
- this.fireChange(values);
+ newValues = new Set(state.value.concat(values));
+ this.fireChange(Array.from(newValues));
} else if (name === 'check-none') {
- this.fireChange([]);
+ newValues = state.value.filter((e) => values.indexOf(e) < 0);
+ this.fireChange(newValues);
this.focus();
}
};
diff --git a/components/style/core/iconfont.less b/components/style/core/iconfont.less
index ff1965b11f..6a88c623b7 100644
--- a/components/style/core/iconfont.less
+++ b/components/style/core/iconfont.less
@@ -23,6 +23,23 @@
height: @icon-font-size-sm;
}
}
+// 11.09
+
+.@{iconfont-css-prefix}-cluster:before {
+ content: "\e9c1";
+}
+.@{iconfont-css-prefix}-kubernetes_cluster:before {
+ content: "\e9c4";
+}
+.@{iconfont-css-prefix}-disconnect:before {
+ content: "\e9c5";
+}
+.@{iconfont-css-prefix}-running:before {
+ content: "\e9c6";
+}
+.@{iconfont-css-prefix}-notification_setting:before {
+ content: "\e9c7";
+}
// 10.24
diff --git a/components/table/ColumnFilter.tsx b/components/table/ColumnFilter.tsx
index 1029c5f118..c6287805be 100644
--- a/components/table/ColumnFilter.tsx
+++ b/components/table/ColumnFilter.tsx
@@ -79,6 +79,7 @@ export default class ColumnFilter extends React.Component {
const item = column.title ? (