@dloizides/ui-tables 3.5.0 → 3.6.0

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
@@ -1616,7 +1616,7 @@ function BooleanField({ field, barTestID, value, onChange }) {
1616
1616
  const { theme } = useUi();
1617
1617
  const { colors, palette } = theme;
1618
1618
  const testID = field.testID ?? fieldTestID(barTestID, field.key);
1619
- return /* @__PURE__ */ jsxs(View, { style: filterStyles.switchRow, testID, children: [
1619
+ return /* @__PURE__ */ jsxs(View, { style: filterStyles.switchRow, testID: field.wrapperTestID ?? testID, children: [
1620
1620
  /* @__PURE__ */ jsx(Text, { style: [controlStyles.subLabel, { color: colors.text }], children: field.label }),
1621
1621
  /* @__PURE__ */ jsx(
1622
1622
  Pressable,
@@ -1864,7 +1864,7 @@ function FilterFieldView({ field, barTestID, values, setField, onSubmit, strings
1864
1864
  error: field.kind === "dateRange" ? field.error : void 0,
1865
1865
  label: field.label,
1866
1866
  labelVariant: "control",
1867
- testID,
1867
+ testID: field.wrapperTestID ?? testID,
1868
1868
  children: body
1869
1869
  }
1870
1870
  );