@cambly/syntax-core 4.3.0 → 4.4.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
@@ -324,7 +324,7 @@ function Box(props) {
324
324
  }, (_c = dangerouslySetInlineStyle == null ? void 0 : dangerouslySetInlineStyle.__style) != null ? _c : {})
325
325
  };
326
326
  const passthroughProps = Object.entries(maybePassThroughProps).reduce((acc, [key]) => {
327
- if (key === "id" || key.startsWith("aria-") || key.startsWith("data-testid")) {
327
+ if (key === "id" || key === "role" || key.startsWith("aria-") || key.startsWith("data-testid")) {
328
328
  acc[key] = maybePassThroughProps[key];
329
329
  }
330
330
  return acc;