You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 376d59f
Browse filesBrowse the repository at this point in the historyBrowse files
refactor!: make four Radix and sonner peers optional (CL-9109, CL-9318)
@radix-ui/react-dialog, @radix-ui/react-dropdown-menu,
@radix-ui/react-tooltip and sonner are imported only by subpath-only
modules kept out of the root barrel. dep-guard reads the optional
peers from peerDependenciesMeta.
@@ -70,7 +80,7 @@ export function NotFoundPage() {
70
80
}
71
81
```
72
82
73
-
Every component is importable by subpath (`@corbits/react-ui/ui/button`) or from the root (`@corbits/react-ui`).
83
+
Every component is importable by subpath (`@corbits/react-ui/ui/button`); all but the optional-peer modules above are also exported from the root (`@corbits/react-ui`).
74
84
75
85
The brand faces (Red Hat Display, Space Mono) are named by the theme but not bundled. Load them yourself, or the stack falls through to system fonts; to use a face loaded under a generated name, override `--font-sans` / `--font-mono`.
0 commit comments