@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 +6 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -152,7 +152,8 @@ var MONO_FONT = Platform.select({
|
|
|
152
152
|
default: "monospace"
|
|
153
153
|
});
|
|
154
154
|
var styles = StyleSheet.create({
|
|
155
|
-
row: { flexDirection: "row",
|
|
155
|
+
row: { flexDirection: "row", alignItems: "center", maxWidth: "100%" },
|
|
156
|
+
reference: { flexDirection: "row", flexWrap: "wrap", flexShrink: 1, alignItems: "center", columnGap: ROW_GAP },
|
|
156
157
|
label: { fontSize: REFERENCE_FONT_SIZE },
|
|
157
158
|
id: { fontSize: REFERENCE_FONT_SIZE, fontFamily: MONO_FONT },
|
|
158
159
|
copy: {
|
|
@@ -175,8 +176,10 @@ var Reference = ({ traceId, color, actionColor, testID, style }) => {
|
|
|
175
176
|
const { status, copy } = useCopyToClipboard(traceId);
|
|
176
177
|
const copyLabel = t(STATUS_KEY[status]);
|
|
177
178
|
return /* @__PURE__ */ jsxs(View, { style: [styles.row, style], testID, children: [
|
|
178
|
-
/* @__PURE__ */
|
|
179
|
-
|
|
179
|
+
/* @__PURE__ */ jsxs(View, { style: styles.reference, children: [
|
|
180
|
+
/* @__PURE__ */ jsx(Text, { style: [styles.label, { color }], children: t("common.errorReference") }),
|
|
181
|
+
/* @__PURE__ */ jsx(Text, { selectable: true, style: [styles.id, { color }], testID: `${testID}-id`, children: traceId })
|
|
182
|
+
] }),
|
|
180
183
|
/* @__PURE__ */ jsx(
|
|
181
184
|
TouchableOpacity,
|
|
182
185
|
{
|