Skip to content

Merge 'main' into 'develop'#52

Merged
Arthurk12 merged 14 commits into
developfrom
main
Jul 2, 2026
Merged

Merge 'main' into 'develop'#52
Arthurk12 merged 14 commits into
developfrom
main

Conversation

@Arthurk12

Copy link
Copy Markdown
Member

What does this PR do?

Manual merge since the sync workflow didn't run correctly.

Arthurk12 and others added 14 commits June 22, 2026 18:22
Merge develop into main: BBBSearch
fix: sync package-lock.json with package.json
fix: sync package-lock.json with package.json again
ci: add .nvmrc to centralize the node version definition; move sync-develop trigger to tag_and_release and fix tag ref
Build an ESM output alongside the existing UMD bundle and expose
it through the package export map, with per-component subpaths
(./Button, ./Modal, etc.) while preserving the legacy
dist/components paths for CommonJS consumers.

Add "sideEffects": ["**/*.css"] so bundlers can safely drop unused
components, and a "node" condition so plain Node module resolution
(SSR scripts, native test runners) falls back to the CJS build
instead of failing on the ESM's extensionless imports.

Extend the base tsconfig from tsconfig.esm.json to avoid duplicating
compiler options between the two build targets.
- Bundle @tippyjs/react and tippy.js as direct dependencies, since
  they're required unconditionally by the internal Tooltip
  implementation, not something consumers choose to install.
- Drop the duplicate @mui/icons-material entry from dependencies
  (already declared as a peer dependency).
- Remove @mui/styles from peerDependencies; it's unused in src/.
- Widen @mui/material and @mui/icons-material peer ranges to also
  accept ^7.0.0.
Modal was importing BBButton through the root barrel (../..),
which drags the entire component tree into any bundle that
includes Modal, defeating tree-shaking for consumers who only
need this component.
fix: add tree-shakeable package exports
@Arthurk12 Arthurk12 merged commit 8099988 into develop Jul 2, 2026
2 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants