@dloizides/ui-layout 1.12.0 → 1.12.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.mjs CHANGED
@@ -1240,13 +1240,12 @@ var TruncatedText = ({
1240
1240
  const budget = charBudget(width, fontSize);
1241
1241
  return budget === UNMEASURED ? source : truncateMiddle(source, budget);
1242
1242
  }, [value, isUrl, width, fontSize]);
1243
- return /* @__PURE__ */ jsx(
1243
+ return /* @__PURE__ */ jsx(View, { style: styles12.fill, onLayout, children: /* @__PURE__ */ jsx(
1244
1244
  Text,
1245
1245
  {
1246
1246
  ref: attachTooltip,
1247
- onLayout,
1248
1247
  numberOfLines: 1,
1249
- style: [styles12.base, styles12.fill, style],
1248
+ style: [styles12.base, style],
1250
1249
  testID,
1251
1250
  accessibilityRole: onPress !== void 0 || href !== void 0 ? "link" : "text",
1252
1251
  accessibilityLabel,
@@ -1255,7 +1254,7 @@ var TruncatedText = ({
1255
1254
  ...Platform.OS === "web" && href !== void 0 ? { href } : {},
1256
1255
  children: display
1257
1256
  }
1258
- );
1257
+ ) });
1259
1258
  };
1260
1259
 
1261
1260
  export { Accordion, AccordionItem, DEFAULT_BILLING_ROUTE, DropdownVariant, ELLIPSIS, Heading, LAYOUT_I18N, LAYOUT_TEST_IDS, ModalDropdown, ModalShell, Section, SegmentedControl, StatusBadge, TruncatedText, UpgradePrompt, formatUrlForDisplay, truncateMiddle, useFocusTrap };