dtable-ui-component 5.2.5-alpha1 → 5.2.5-alpha3

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.
@@ -102,12 +102,24 @@ const MenuSelectStyle = exports.MenuSelectStyle = {
102
102
  zIndex: 9999
103
103
  }),
104
104
  indicatorSeparator: () => {},
105
- clearIndicator: () => ({
106
- // 仅用于测试
107
- color: 'pink'
108
- }),
109
- indicatorContainer: () => ({
110
- padding: '8px 4px'
105
+ // dropdownIndicator: (provided, state) => {
106
+ // const { isDisabled, isFocused } = state;
107
+ // return ({
108
+ // ...provided,
109
+ // cursor: isDisabled ? 'default' : 'pointer',
110
+ // backgroundColor: isFocused ? '#f5f5f5' : '#fff',
111
+ // });
112
+ // },
113
+ // clearIndicator: (provided, state) => {
114
+ // const { isDisabled, isFocused } = state;
115
+ // return ({
116
+ // ...provided,
117
+ // cursor: isDisabled ? 'default' : 'pointer',
118
+ // backgroundColor: isFocused ? '#f5f5f5' : '#fff',
119
+ // });
120
+ // },
121
+ IndicatorsContainer: () => ({
122
+ padding: '8px 6px'
111
123
  })
112
124
  };
113
125
  const DropdownIndicator = props => {
@@ -132,7 +144,12 @@ const ClearIndicator = _ref => {
132
144
  ...innerProps,
133
145
  onMouseDown
134
146
  };
135
- return /*#__PURE__*/_react.default.createElement(_reactSelect.components.ClearIndicator, props);
147
+ return /*#__PURE__*/_react.default.createElement(_reactSelect.components.ClearIndicator, props, /*#__PURE__*/_react.default.createElement("span", {
148
+ className: "dtable-font dtable-icon-fork-number",
149
+ style: {
150
+ fontSize: '12px'
151
+ }
152
+ }));
136
153
  };
137
154
  exports.ClearIndicator = ClearIndicator;
138
155
  const MenuList = props => /*#__PURE__*/_react.default.createElement("div", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-ui-component",
3
- "version": "5.2.5-alpha1",
3
+ "version": "5.2.5-alpha3",
4
4
  "main": "./lib/index.js",
5
5
  "dependencies": {
6
6
  "@seafile/react-image-lightbox": "3.0.1",