@dloizides/ui-feedback 1.19.0 → 1.19.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
@@ -154,7 +154,8 @@ var MONO_FONT = reactNative.Platform.select({
154
154
  default: "monospace"
155
155
  });
156
156
  var styles = reactNative.StyleSheet.create({
157
- row: { flexDirection: "row", flexWrap: "wrap", alignItems: "center", columnGap: ROW_GAP },
157
+ row: { flexDirection: "row", alignItems: "center", maxWidth: "100%" },
158
+ reference: { flexDirection: "row", flexWrap: "wrap", flexShrink: 1, alignItems: "center", columnGap: ROW_GAP },
158
159
  label: { fontSize: REFERENCE_FONT_SIZE },
159
160
  id: { fontSize: REFERENCE_FONT_SIZE, fontFamily: MONO_FONT },
160
161
  copy: {
@@ -177,8 +178,10 @@ var Reference = ({ traceId, color, actionColor, testID, style }) => {
177
178
  const { status, copy } = useCopyToClipboard(traceId);
178
179
  const copyLabel = t(STATUS_KEY[status]);
179
180
  return /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: [styles.row, style], testID, children: [
180
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles.label, { color }], children: t("common.errorReference") }),
181
- /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { selectable: true, style: [styles.id, { color }], testID: `${testID}-id`, children: traceId }),
181
+ /* @__PURE__ */ jsxRuntime.jsxs(reactNative.View, { style: styles.reference, children: [
182
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { style: [styles.label, { color }], children: t("common.errorReference") }),
183
+ /* @__PURE__ */ jsxRuntime.jsx(reactNative.Text, { selectable: true, style: [styles.id, { color }], testID: `${testID}-id`, children: traceId })
184
+ ] }),
182
185
  /* @__PURE__ */ jsxRuntime.jsx(
183
186
  reactNative.TouchableOpacity,
184
187
  {