react-spectrum
react-spectrum copied to clipboard
[@react-spectrum/icon] peer dependencies
-
add
@adobe/react-spectrumas a peer dependency -
mark both
@adobe/react-spectrumand@react-spectrum/provideras optional peer dependencies
Closes #1713
✅ Pull Request Checklist:
- [x] Included link to corresponding React Spectrum GitHub Issue.
- (n/a) Added/updated unit tests and storybook for this change (for new code or code which already has tests).
- [x] Filled out test instructions.
- (n/a) Updated documentation (if it already exists for this component).
- (n/a) Looked at the Accessibility Practices for this feature - Aria Practices
📝 Test Instructions:
- Use a package manager that is strict about peer dependencies (e.g. PNPM)
- Create a project that has
@adobe/react-spectrumas a dependency - Add
@react-spectrum/iconas another dependency - Confirm there are no peer dependency errors
🧢 Your Project:
Adobe / Adobe Research / internal project