@hanwenbo/x-taro-ui 0.0.2 → 0.0.3

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.
@@ -227,6 +227,10 @@ export var SearchBar = /*#__PURE__*/React.forwardRef(function (props, ref) {
227
227
  width: '100%',
228
228
  flex: 1,
229
229
  height: '100%',
230
+ // H5 renders a Taro host around the shorter native input. Center that
231
+ // input inside the full-height host, as well as centering the host itself.
232
+ display: 'flex',
233
+ alignItems: 'center',
230
234
  boxSizing: 'border-box',
231
235
  padding: 0,
232
236
  margin: 0,
@@ -233,6 +233,10 @@ var SearchBar = import_react.default.forwardRef((props, ref) => {
233
233
  width: "100%",
234
234
  flex: 1,
235
235
  height: "100%",
236
+ // H5 renders a Taro host around the shorter native input. Center that
237
+ // input inside the full-height host, as well as centering the host itself.
238
+ display: "flex",
239
+ alignItems: "center",
236
240
  boxSizing: "border-box",
237
241
  padding: 0,
238
242
  margin: 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hanwenbo/x-taro-ui",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "A Taro mini-program UI library based on x-design-system",
5
5
  "author": "9476400@qq.com",
6
6
  "license": "MIT",