dtable-ui-component 5.2.5-alpha2 → 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
- }),
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
+ // },
109
121
  IndicatorsContainer: () => ({
110
- padding: '8px 4px'
122
+ padding: '8px 6px'
111
123
  })
112
124
  };
113
125
  const DropdownIndicator = props => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-ui-component",
3
- "version": "5.2.5-alpha2",
3
+ "version": "5.2.5-alpha3",
4
4
  "main": "./lib/index.js",
5
5
  "dependencies": {
6
6
  "@seafile/react-image-lightbox": "3.0.1",