Commit 69db7da
authored
chore: exporting missing types from index (#464)
## **Description**
This PR adds missing type exports to the design-system-react package's
main index.ts file. During an audit of component exports, we identified
that some types and enums were defined but not properly exported, which
could prevent consumers from accessing these types.
## **Related issues**
Fixes: N/A
## **Manual testing steps**
1. Import the newly exported types in a consuming project:
```typescript
import { AvatarBaseShape, ButtonIconSize } from '@metamask/design-system-react';
```
2. Verify the types are properly resolved and available
3. Verify existing type exports continue to work as expected
## **Screenshots/Recordings**
N/A - Type system changes only
## **Pre-merge author checklist**
- [x] I've followed MetaMask Contributor Docs
- [x] I've completed the PR template to the best of my ability
- [x] I've included tests if applicable
- [x] I've documented my code using JSDoc format if applicable
- [x] I've applied the right labels on the PR
## **Pre-merge reviewer checklist**
- [ ] I've manually tested the PR (e.g. pull and build branch, run the
app, test code being changed).
- [ ] I confirm that this PR addresses all acceptance criteria described
in the ticket it closes and includes the necessary testing evidence such
as recordings and or screenshots.1 parent 7162a4b commit 69db7da
1 file changed
+2
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | | - | |
| 36 | + | |
37 | 37 | | |
38 | 38 | | |
39 | | - | |
| 39 | + | |
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
| |||
0 commit comments