Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 1 addition & 7 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 'lts/*'
node-version-file: '.nvmrc'
registry-url: 'https://registry.npmjs.org'

- name: Install Dependencies
Expand All @@ -32,9 +32,3 @@ jobs:
- name: Publish to NPM
run: npm publish --provenance --access public

sync:
needs: publish
uses: ./.github/workflows/sync-develop.yml
permissions:
contents: write
pull-requests: write
2 changes: 1 addition & 1 deletion .github/workflows/storybook-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
node-version-file: '.nvmrc'
cache: 'npm'

- name: Install dependencies
Expand Down
7 changes: 4 additions & 3 deletions .github/workflows/sync-develop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ jobs:
uses: actions/github-script@v7
with:
script: |
const tag = context.ref.replace('refs/tags/', '');
const isTag = context.ref.startsWith('refs/tags/');
const tag = isTag ? context.ref.replace('refs/tags/', '') : null;
const { owner, repo } = context.repo;

// Check if develop branch exists
Expand Down Expand Up @@ -64,8 +65,8 @@ jobs:
await github.rest.pulls.create({
owner,
repo,
title: `chore: sync ${tag} from main into develop`,
title: tag ? `chore: sync ${tag} from main into develop` : 'chore: sync main into develop',
head: 'main',
base: 'develop',
body: `Automated back-merge after release ${tag}.`,
body: tag ? `Automated back-merge after release ${tag}.` : 'Automated back-merge from main into develop.',
});
9 changes: 8 additions & 1 deletion .github/workflows/tag_and_release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
node-version-file: '.nvmrc'

- name: Generate Changelog and Tag
id: changelog
Expand All @@ -46,3 +46,10 @@ jobs:
tag_name: ${{ steps.changelog.outputs.tag }}
body: ${{ steps.changelog.outputs.clean_changelog }}
generate_release_notes: true

sync:
needs: release
uses: ./.github/workflows/sync-develop.yml
permissions:
contents: write
pull-requests: write
2 changes: 1 addition & 1 deletion .github/workflows/ts-code-compilation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- name: install node
uses: actions/setup-node@v4
with:
node-version: 20.x
node-version-file: '.nvmrc'
- name: run npm install
shell: bash
run: npm install
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ts-code-validation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: install node
uses: actions/setup-node@v4
with:
node-version: 20.x
node-version-file: '.nvmrc'
- name: run npm install
shell: bash
run: npm install
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
22
54 changes: 25 additions & 29 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,61 +1,57 @@
## [2.1.0](https://github.com/bigbluebutton/bbb-ui-components-react/compare/v2.0.2...v2.1.0) (2026-05-12)
## [2.3.0](https://github.com/bigbluebutton/bbb-ui-components-react/compare/v2.2.0...v2.3.0) (2026-07-02)


### Features

* expose underlying element props for BBBModal and BBBToggle ([9f67041](https://github.com/bigbluebutton/bbb-ui-components-react/commit/9f67041fe02339ee1bf5aa544f9ccd50bdc8583e))
* add tree-shakeable package exports ([b3bf149](https://github.com/bigbluebutton/bbb-ui-components-react/commit/b3bf1497b9b022acdcd823ff1f07dd3df0924d5a))


### Bug Fixes

* **BBBAccordion:** set tooltipLabel default to undefined ([6aa276f](https://github.com/bigbluebutton/bbb-ui-components-react/commit/6aa276ff7926b46a7964276e0edbd251b18ce85f))
* **BBButton:** prevent size change on hover for tertiary variant when focused ([62b3f8c](https://github.com/bigbluebutton/bbb-ui-components-react/commit/62b3f8ca71aa301038192d0bbe08d2153429a752))

## [2.0.2](https://github.com/bigbluebutton/bbb-ui-components-react/compare/v2.0.1...v2.0.2) (2026-04-08)
* **BBBModal:** import Button from its own module in Modal ([8890915](https://github.com/bigbluebutton/bbb-ui-components-react/commit/889091550f0a08c058d9d341992803ae4361b135))
* **deps:** correct peer/direct dependency classification ([7153226](https://github.com/bigbluebutton/bbb-ui-components-react/commit/71532264d44842897b1a84379cacaa68f8169f64))

## [2.2.0](https://github.com/bigbluebutton/bbb-ui-components-react/compare/v2.1.0...v2.2.0) (2026-06-22)

### Bug Fixes

* **toggle:** id mismatch between toggle and its label ([fa115e0](https://github.com/bigbluebutton/bbb-ui-components-react/commit/fa115e0175ce6f5f5de2a97a68355805657d046a))
### Features

## [2.0.1](https://github.com/bigbluebutton/bbb-ui-components-react/compare/v2.0.0...v2.0.1) (2026-01-20)
* **BBBModal:** add `testId` and `closeButtonDataTest` props ([062959a](https://github.com/bigbluebutton/bbb-ui-components-react/commit/062959a7f5e61ed152b3040798fa464154f1afef))
* **BBBSearch:** add search component ([4182a58](https://github.com/bigbluebutton/bbb-ui-components-react/commit/4182a586ff38d4e0dbceb173522cef12701c8e93))


### Bug Fixes

* move '@mui/icons-material' to `peerDependencies` as intended in v2.0.0 ([035f426](https://github.com/bigbluebutton/bbb-ui-components-react/commit/035f426bfe780d560aa46f34d6e5e9372f24e951))
* **BBBModal:** enforce footer hide when noFooter is true ([3af4bf9](https://github.com/bigbluebutton/bbb-ui-components-react/commit/3af4bf920b69279c5c419f9ca0a7f0004b7af0d8))
* **BBBModal:** make stickyFooter: false position footer below ([109b745](https://github.com/bigbluebutton/bbb-ui-components-react/commit/109b745b846fbe2d7d8aec7a015ce529d567057e))
* **BBBModal:** replace hardcoded [#fff](https://github.com/bigbluebutton/bbb-ui-components-react/issues/fff) with colorWhite CSS variable ([6cd4e43](https://github.com/bigbluebutton/bbb-ui-components-react/commit/6cd4e43c0e3fd632c49451890f6e3bac980c541d))
* sync package-lock.json with package.json ([2ff2bbb](https://github.com/bigbluebutton/bbb-ui-components-react/commit/2ff2bbb617197a4af5495961d57c17ca11d13356))
* sync package-lock.json with package.json again ([398bcb1](https://github.com/bigbluebutton/bbb-ui-components-react/commit/398bcb14f74c6ddddbeab0fae1684c9b52108788))

## [2.0.0](https://github.com/bigbluebutton/bbb-ui-components-react/compare/v1.0.1...v2.0.0) (2026-01-19)
## [2.1.0](https://github.com/bigbluebutton/bbb-ui-components-react/compare/v2.0.2...v2.1.0) (2026-05-12)


### ⚠ BREAKING CHANGES
### Features

* expose underlying element props for BBBModal and BBBToggle ([9f67041](https://github.com/bigbluebutton/bbb-ui-components-react/commit/9f67041fe02339ee1bf5aa544f9ccd50bdc8583e))

* **deps:** @mui/icons-material has been moved from `dependencies` to
`peerDependencies` to prevent version conflicts and reduced bundle size.
Consumers must now install this package manually in their host
application.

### Bug Fixes

* **BBBAccordion:** prevent `scrollHeight` prop leakage to DOM ([b77d979](https://github.com/bigbluebutton/bbb-ui-components-react/commit/b77d979a5e388da7c31afa3e2ba60c5888da54bb))
* **ci:** use NPM access token instead ([36c7eee](https://github.com/bigbluebutton/bbb-ui-components-react/commit/36c7eee62dfc8a289d1ec791523a542a7fa1a735))
* **BBBAccordion:** set tooltipLabel default to undefined ([6aa276f](https://github.com/bigbluebutton/bbb-ui-components-react/commit/6aa276ff7926b46a7964276e0edbd251b18ce85f))
* **BBButton:** prevent size change on hover for tertiary variant when focused ([62b3f8c](https://github.com/bigbluebutton/bbb-ui-components-react/commit/62b3f8ca71aa301038192d0bbe08d2153429a752))

## [2.0.2](https://github.com/bigbluebutton/bbb-ui-components-react/compare/v2.0.1...v2.0.2) (2026-04-08)

### Miscellaneous Chores

* **deps:** move dependencies to peer/dev and fix audit issues ([6009287](https://github.com/bigbluebutton/bbb-ui-components-react/commit/6009287fcd62570421d69dee1526ca5c721aaac2))
### Bug Fixes

## [1.0.1](https://github.com/bigbluebutton/bbb-ui-components-react/compare/v1.0.0...v1.0.1) (2025-12-17)
* **toggle:** id mismatch between toggle and its label ([fa115e0](https://github.com/bigbluebutton/bbb-ui-components-react/commit/fa115e0175ce6f5f5de2a97a68355805657d046a))

## [2.0.1](https://github.com/bigbluebutton/bbb-ui-components-react/compare/v2.0.0...v2.0.1) (2026-01-20)


### Bug Fixes

* **BBButton:** ensure acessibility and stacked layout displacement ([ddd9cb5](https://github.com/bigbluebutton/bbb-ui-components-react/commit/ddd9cb599ca45dc21eb8e09fa696fa50f5d26714))
* **BBButton:** missing import from last commit ([2cf2d3d](https://github.com/bigbluebutton/bbb-ui-components-react/commit/2cf2d3d071ebc7c4bac7ae768c1f9f34a7f661ec))
* **build:** externalize mui and emotion dependencies ([7981a3a](https://github.com/bigbluebutton/bbb-ui-components-react/commit/7981a3a393a4ce273df892cb4293a94d97929dcc))
* **build:** switch to UMD and externalize dependencies ([3009b1e](https://github.com/bigbluebutton/bbb-ui-components-react/commit/3009b1e38d0d84e32ae7c63448313e0bd48e0371))
* main file entry point path ([d8546d4](https://github.com/bigbluebutton/bbb-ui-components-react/commit/d8546d4fd20ef1c5c32e1339a4b18c56f0d997b3))
* prevent props leaking to DOM ([cc174f3](https://github.com/bigbluebutton/bbb-ui-components-react/commit/cc174f3461e26dd49925935d32c899c57384550e))
* **spinner:** wrong prop logic ([728b9cb](https://github.com/bigbluebutton/bbb-ui-components-react/commit/728b9cb1ee900c39d2366cbb833ae6a8ecfc2519))
* **tooltips:** adds missing tippy styles ([44bd58c](https://github.com/bigbluebutton/bbb-ui-components-react/commit/44bd58c1a5f4b3ef832d3814bc3b7d64a85ef3df))
* move '@mui/icons-material' to `peerDependencies` as intended in v2.0.0 ([035f426](https://github.com/bigbluebutton/bbb-ui-components-react/commit/035f426bfe780d560aa46f34d6e5e9372f24e951))

11 changes: 6 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,22 +32,22 @@ styled-components >=5.3.0
react-modal >=3.16.1
@emotion/react ^11.13.0
@emotion/styled ^11.13.0
@mui/material ^6.1.4
@mui/styles ^6.4.8
@mui/material ^6.1.4 || ^7.0.0
@mui/icons-material ^6.1.4 || ^7.0.0
prop-types ^15.8.1
react-icons ^5.5.0
@tippyjs/react ^4.2.6
tippy.js ^6.3.7
```

Make sure to install these dependencies to avoid runtime errors and ensure compatibility.

You can install all of them with the following command:

```bash
npm install react react-dom styled-components react-modal @emotion/react @emotion/styled @mui/material @mui/styles prop-types react-icons @tippyjs/react tippy.js
npm install react react-dom styled-components react-modal @emotion/react @emotion/styled @mui/material @mui/icons-material prop-types react-icons
```

**Note**: `@tippyjs/react` and `tippy.js` (used internally by the Tooltip) ship as regular dependencies of this library, so they're installed automatically — no need to add them yourself.

## Color Customization with CSS Variables

This library supports overriding component colors using CSS custom properties (variables). You can define these variables in your project's global CSS or stylesheets to customize the appearance of components without modifying the library code. This is particularly useful for theming and maintaining consistency with your application's design system.
Expand Down Expand Up @@ -121,6 +121,7 @@ If you want to build the library locally or contribute:
### Building the bundle

```
nvm use
npm install
npm run build
```
Expand Down
Loading
Loading