-
Notifications
You must be signed in to change notification settings - Fork 1.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(floating-ui): add feature flag for dynamic floating-ui styles #17446
feat(floating-ui): add feature flag for dynamic floating-ui styles #17446
Conversation
✅ Deploy Preview for carbon-elements ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for v11-carbon-react ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for carbon-elements ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
✅ Deploy Preview for v11-carbon-react ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #17446 +/- ##
==========================================
+ Coverage 77.13% 77.19% +0.06%
==========================================
Files 409 409
Lines 14024 14048 +24
Branches 4355 4326 -29
==========================================
+ Hits 10818 10845 +27
Misses 3035 3035
+ Partials 171 168 -3 ☔ View full report in Codecov by Sentry. |
* test: added tests for FluiTimePicker * fix: changed from fireevent to userevent
…on-design-system#17563) * fix: renamed js files to tsx for fluid combobox components * fix: added typescript types to fluid combobox * fix: snapshots * Update packages/react/src/components/FluidComboBox/FluidComboBox.tsx --------- Co-authored-by: Gururaj J <[email protected]> Co-authored-by: Taylor Jones <[email protected]> Co-authored-by: Alison Joseph <[email protected]>
Bumps [rollup](https://github.com/rollup/rollup) from 4.14.0 to 4.24.0. - [Release notes](https://github.com/rollup/rollup/releases) - [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md) - [Commits](rollup/rollup@v4.14.0...v4.24.0) --- updated-dependencies: - dependency-name: rollup dependency-type: indirect ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…bon-design-system#17568) Co-authored-by: Alison Joseph <[email protected]>
…ign-system#17268) * feat: autocomplete is fked * feat: autoComplete typeahead feature fixed * feat: added tests for autocomplete * feat: adds functionality test cases * feat: matcsh case exactly with option list when Tab is pressed * feat: adds tests, refines functions * feat: updated prop name to component and tests * refactor: fixed conflict * test: covered allowcustomValue prop --------- Co-authored-by: Nikhil Tomar <[email protected]> Co-authored-by: Nikhil Tomar <[email protected]>
…system#17669) * fix(date-picker): keep open when clearing input * fix(date-picker): add type single to condition
Co-authored-by: alisonjoseph <[email protected]>
) * test: increase test coverage to 100% for Tag * refactor: spyOn updated * refactor: removed unused import --------- Co-authored-by: Preeti Bansal <[email protected]>
* fix: increase test coverage for ToggleTip * refactor: userEvent over fireEvent --------- Co-authored-by: Alison Joseph <[email protected]>
…n-system#17681) * chore(issue-templates): always apply needs triage label * chore: add web components package to package selection dropdown
* fix(tabs): add icon only 1px spacing * chore: cleanup story updates
…bon-design-system#17684) * ci(actions): add workflow to calculate and surface PR merge rate * ci(actions): add workflow to calculate and surface PR merge rate --------- Co-authored-by: Nikhil Tomar <[email protected]> Co-authored-by: Alison Joseph <[email protected]>
…m#17630) * fix(TreeNode): preserve nested node expand state * fix(TreeView): prevent focus on hidden child nodes
* feat(tabs): added hover and active styles * feat(tabs): revert test style * feat(tabs): active tab style order fix * feat(tabs): issue fix :last tab is being partially hidden * feat(tabs): issue fix :last tab is being partially hidden * feat(tabs): added to contributors list * feat(tabs): rebase --------- Co-authored-by: Soumya Raju <[email protected]> Co-authored-by: Alison Joseph <[email protected]>
…design-system#17657) Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Guilherme Datilio Ribeiro <[email protected]>
* fix(combobox): rendering aria-label * test(combobox): update tests with aria-label and titleText
carbon-design-system#17651) * fix: implement unique dynamic id generation for FileUploader component * test(FileUploader): fix failing tests and update snapshot
Ran into some weirdness when trying to resolve merge conflicts locally, pulling in all the commits - opening a new PR to clean the commits clean here |
Closes #17018
This PR introduces a new feature flag (
enable-v12-dynamic-floating-styles
) to separate the@floating-ui
logic. By turning on the flag, components will have dynamically positioned floating styles without the collision detection currently in place.To have the collision detect logic, adopter will set the
autoAlign
prop to true which will automatically include the dynamic styling - so the feature flag is not necessary in this case.Changelog
New
enable-v12-dynamic-floating-styles
feature flagChanged
@floating-ui
to separate out the style and middleware logicTesting / Reviewing
Feature flags
sectionDynamic floating styles
folder and inspect the components and see that the styles are set dynamically