@dloizides/ui-layout 1.26.3 → 1.26.4

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
@@ -144,11 +144,14 @@ var styles3 = reactNative.StyleSheet.create({
144
144
  paddingHorizontal: DEFAULT_PADDING_H,
145
145
  paddingVertical: DEFAULT_PADDING_V,
146
146
  borderRadius: DEFAULT_BORDER_RADIUS,
147
- alignSelf: "flex-start"
147
+ alignSelf: "flex-start",
148
+ // Never wider than the container: a long label wraps inside the pill instead of being clipped.
149
+ maxWidth: "100%"
148
150
  },
149
151
  text: {
150
152
  fontSize: DEFAULT_FONT_SIZE,
151
- fontWeight: "600"
153
+ fontWeight: "600",
154
+ flexShrink: 1
152
155
  }
153
156
  });
154
157
  var StatusBadge = ({