@dloizides/ui-layout 1.22.0 → 1.22.1

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.
package/dist/index.js CHANGED
@@ -674,7 +674,12 @@ var styles7 = reactNative.StyleSheet.create({
674
674
  borderWidth: BORDER_WIDTH4,
675
675
  borderRadius: BORDER_RADIUS3,
676
676
  paddingHorizontal: CONTAINER_PADDING_H,
677
- paddingVertical: CONTAINER_PADDING_V
677
+ paddingVertical: CONTAINER_PADDING_V,
678
+ // Match the shared control height used by @dloizides/ui-forms inputs (same MIN_TOUCH_TARGET_PX
679
+ // floor from @dloizides/a11y), so a select trigger and a text/typeahead field sitting side by
680
+ // side in a filter bar are exactly the same height. Centre the label within that floor.
681
+ minHeight: a11y.MIN_TOUCH_TARGET_PX,
682
+ justifyContent: "center"
678
683
  },
679
684
  // Caret variant: a row with the label leading and the caret pinned to the trailing edge, at a
680
685
  // phone-friendly minimum height. Only applied when `showCaret` is set, so field dropdowns are