Skip to content

chore: move type guards - #10832

Merged
reidbarber merged 1 commit into
adobe:mainfrom
nwidynski:chore-type-helpers
Oct 23, 2026
Merged

reidbarber merged 1 commit into
adobe:mainfrom
nwidynski:chore-type-helpers

Conversation

@nwidynski

Copy link
Copy Markdown
Contributor

RE: #10556 (comment)

Splits chores from scroll utils PR to aid with review. [2/3]

✅ Pull Request Checklist:

  • Included link to corresponding React Spectrum GitHub Issue.
  • Added/updated unit tests and storybook for this change (for new code or code which already has tests).
  • Filled out test instructions.
  • Updated documentation (if it already exists for this component).
  • Looked at the Accessibility Practices for this feature - Aria Practices
  • I understand every change in this PR and can explain why it's there.
  • If AI-assisted, I followed our AI contribution guidance and pointed my assistant at AGENTS.md.

📝 Test Instructions:

N/A

🧢 Your Project:

N/A

@snowystinger snowystinger added small review Easy to review PR ready for review no testing Does not require manual testing during testing session labels Oct 23, 2026
isShadowRoot
} from '../../../src/utils/domHelpers';
export {addEvent, getOwnerDocument, getOwnerWindow} from '../../../src/utils/domHelpers';
export {isDocument, isShadowRoot} from '../../../src/utils/typeHelpers';

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not strictly necessary, but I think it's a nice bit of reorganisation. Technically theses are on private paths, so we could just omit them from re-export here, but this seems like a nice thing to do

@reidbarber
reidbarber added this pull request to the merge queue Oct 23, 2026
Merged via the queue into adobe:main with commit 338cf2e Oct 23, 2026
30 checks passed
@nwidynski
nwidynski deleted the chore-type-helpers branch October 23, 2026 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

no testing Does not require manual testing during testing session ready for review small review Easy to review PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants