@vtx/components 4.0.0-beta.39 → 4.0.0-beta.40

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.
@@ -84,7 +84,7 @@ var genVtxStyle = function genVtxStyle(token) {
84
84
  borderInlineColor: 'transparent !important',
85
85
  borderBottomColor: 'transparent !important'
86
86
  }
87
- }))))), "".concat(componentCls, "-striped"), _defineProperty({}, "".concat(antCls, "-table-wrapper"), _defineProperty({}, "".concat(antCls, "-table"), _defineProperty({}, '>.ant-table-container', _defineProperty({}, '.ant-table-body', {
87
+ }))))), "".concat(componentCls, "-striped"), _defineProperty({}, "".concat(antCls, "-table-wrapper"), _defineProperty({}, "".concat(antCls, "-table"), _defineProperty({}, '>.ant-table-container', _defineProperty(_defineProperty({}, '.ant-table-body', {
88
88
  '>table >tbody>tr:nth-child(odd)>td': {
89
89
  backgroundColor: token.colorBgLayoutTable,
90
90
  '&.ant-table-cell-row-hover': {
@@ -100,6 +100,22 @@ var genVtxStyle = function genVtxStyle(token) {
100
100
  backgroundColor: token.controlItemBgActiveHover
101
101
  }
102
102
  }
103
+ }), '.ant-table-tbody', {
104
+ '>tr:nth-child(odd)>td': {
105
+ backgroundColor: token.colorBgLayoutTable,
106
+ '&.ant-table-cell-row-hover': {
107
+ backgroundColor: token.colorFillAlterSolid
108
+ }
109
+ },
110
+ '>tr:nth-child(odd)>td.ant-table-column-sort': {
111
+ backgroundColor: token.colorFillAlterSolid
112
+ },
113
+ '>tr.ant-table-row-selected:nth-child(odd)>td': {
114
+ backgroundColor: token.controlItemBgActive,
115
+ '&.ant-table-cell-row-hover': {
116
+ backgroundColor: token.controlItemBgActiveHover
117
+ }
118
+ }
103
119
  }))))), "".concat(componentCls, "-header-background"), _defineProperty({}, "".concat(antCls, "-table-wrapper"), _defineProperty({}, '.ant-table', _defineProperty({}, '.ant-table-header', _defineProperty({}, '.ant-table-thead', {
104
120
  '>tr>th': {
105
121
  background: token.colorBgLayoutTable
@@ -178,7 +178,9 @@ var VtxTreeSelect = function VtxTreeSelect(_ref) {
178
178
  width: '100%'
179
179
  },
180
180
  children: [/*#__PURE__*/_jsx(TreeSelect, _objectSpread(_objectSpread({
181
- showSearch: true,
181
+ showSearch: {
182
+ treeNodeFilterProp: fieldNames.label
183
+ },
182
184
  placeholder: placeholder,
183
185
  treeData: treeData,
184
186
  treeLine: {
@@ -90,7 +90,7 @@ var genVtxStyle = function genVtxStyle(token) {
90
90
  borderInlineColor: 'transparent !important',
91
91
  borderBottomColor: 'transparent !important'
92
92
  }
93
- }))))), "".concat(componentCls, "-striped"), _defineProperty({}, "".concat(antCls, "-table-wrapper"), _defineProperty({}, "".concat(antCls, "-table"), _defineProperty({}, '>.ant-table-container', _defineProperty({}, '.ant-table-body', {
93
+ }))))), "".concat(componentCls, "-striped"), _defineProperty({}, "".concat(antCls, "-table-wrapper"), _defineProperty({}, "".concat(antCls, "-table"), _defineProperty({}, '>.ant-table-container', _defineProperty(_defineProperty({}, '.ant-table-body', {
94
94
  '>table >tbody>tr:nth-child(odd)>td': {
95
95
  backgroundColor: token.colorBgLayoutTable,
96
96
  '&.ant-table-cell-row-hover': {
@@ -106,6 +106,22 @@ var genVtxStyle = function genVtxStyle(token) {
106
106
  backgroundColor: token.controlItemBgActiveHover
107
107
  }
108
108
  }
109
+ }), '.ant-table-tbody', {
110
+ '>tr:nth-child(odd)>td': {
111
+ backgroundColor: token.colorBgLayoutTable,
112
+ '&.ant-table-cell-row-hover': {
113
+ backgroundColor: token.colorFillAlterSolid
114
+ }
115
+ },
116
+ '>tr:nth-child(odd)>td.ant-table-column-sort': {
117
+ backgroundColor: token.colorFillAlterSolid
118
+ },
119
+ '>tr.ant-table-row-selected:nth-child(odd)>td': {
120
+ backgroundColor: token.controlItemBgActive,
121
+ '&.ant-table-cell-row-hover': {
122
+ backgroundColor: token.controlItemBgActiveHover
123
+ }
124
+ }
109
125
  }))))), "".concat(componentCls, "-header-background"), _defineProperty({}, "".concat(antCls, "-table-wrapper"), _defineProperty({}, '.ant-table', _defineProperty({}, '.ant-table-header', _defineProperty({}, '.ant-table-thead', {
110
126
  '>tr>th': {
111
127
  background: token.colorBgLayoutTable
@@ -185,7 +185,9 @@ var VtxTreeSelect = exports.VtxTreeSelect = function VtxTreeSelect(_ref) {
185
185
  width: '100%'
186
186
  },
187
187
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_antd.TreeSelect, _objectSpread(_objectSpread({
188
- showSearch: true,
188
+ showSearch: {
189
+ treeNodeFilterProp: fieldNames.label
190
+ },
189
191
  placeholder: placeholder,
190
192
  treeData: treeData,
191
193
  treeLine: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vtx/components",
3
- "version": "4.0.0-beta.39",
3
+ "version": "4.0.0-beta.40",
4
4
  "description": "React components for Vortex",
5
5
  "keywords": [
6
6
  "react",