dtable-ui-component 6.0.110-oal.2 → 6.0.110-ppy.2

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.
@@ -112,6 +112,7 @@ const MenuSelectStyle = exports.MenuSelectStyle = {
112
112
  } = state;
113
113
  return {
114
114
  ...provided,
115
+ padding: '8px',
115
116
  fontSize: '14px',
116
117
  color: '#212529',
117
118
  cursor: isDisabled ? 'default' : 'pointer',
@@ -125,6 +126,10 @@ const MenuSelectStyle = exports.MenuSelectStyle = {
125
126
  },
126
127
  '.header-icon .multicolor-icon': {
127
128
  color: '#aaa'
129
+ },
130
+ '.seatable-ui-select-tip': {
131
+ fontSize: '12px',
132
+ color: '#666666'
128
133
  }
129
134
  };
130
135
  },
@@ -137,6 +142,14 @@ const MenuSelectStyle = exports.MenuSelectStyle = {
137
142
  menuList: provided => ({
138
143
  ...provided,
139
144
  padding: '8px'
145
+ }),
146
+ valueContainer: (provided, state) => ({
147
+ ...provided,
148
+ padding: '2px 8px 2px 16px'
149
+ }),
150
+ dropdownIndicator: (provided, state) => ({
151
+ ...provided,
152
+ padding: 0
140
153
  })
141
154
  };
142
155
  const DropdownIndicator = props => {
@@ -146,7 +159,9 @@ const DropdownIndicator = props => {
146
159
  className: "dtable-font dtable-icon-down3",
147
160
  style: {
148
161
  fontSize: '12px',
149
- marginLeft: '-2px'
162
+ marginLeft: '-2px',
163
+ color: '#666666',
164
+ paddingRight: '16px'
150
165
  }
151
166
  })
152
167
  });
@@ -206,7 +221,8 @@ const Option = props => {
206
221
  className: "dtable-font dtable-icon-check",
207
222
  style: {
208
223
  fontSize: '14px',
209
- color: '#666666'
224
+ color: '#666666',
225
+ paddingLeft: '16px'
210
226
  }
211
227
  })]
212
228
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dtable-ui-component",
3
- "version": "6.0.110-oal.2",
3
+ "version": "6.0.110-ppy.2",
4
4
  "main": "./lib/index.js",
5
5
  "dependencies": {
6
6
  "@seafile/react-image-lightbox": "^5.0.4",