Skip to content

feat(print): introduce PrintingProvider + context-based usePrint #99#497

Merged
airikej merged 6 commits into
rcfrom
feat/99-useprint-nested-usage-returns-false
Apr 14, 2026
Merged

feat(print): introduce PrintingProvider + context-based usePrint #99#497
airikej merged 6 commits into
rcfrom
feat/99-useprint-nested-usage-returns-false

Conversation

@airikej
Copy link
Copy Markdown
Contributor

@airikej airikej commented Feb 2, 2026

No description provided.

@airikej airikej linked an issue Feb 2, 2026 that may be closed by this pull request
@codecov
Copy link
Copy Markdown

codecov Bot commented Feb 2, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

BREAKING CHANGE: usePrint hook removed.
Replace with usePrint from the new PrintingProvider context.
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 14, 2026

Warning

Rate limit exceeded

@airikej has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 29 minutes and 28 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 29 minutes and 28 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: 4963ac51-64b3-4407-8c23-5176545bff7b

📥 Commits

Reviewing files that changed from the base of the PR and between 5e20a70 and 5751957.

📒 Files selected for processing (14)
  • .storybook/preview.tsx
  • src/community/components/accordion/accordion-item-content/accordion-item-content.tsx
  • src/community/components/table/table.tsx
  • src/community/components/tabs/tabs/tabs.tsx
  • src/tedi/components/buttons/collapse/collapse.spec.tsx
  • src/tedi/components/buttons/collapse/collapse.tsx
  • src/tedi/components/layout/sidenav/components/sidenav-item/sidenav-item.spec.tsx
  • src/tedi/components/misc/print/printing.mdx
  • src/tedi/helpers/hooks/use-print.ts
  • src/tedi/helpers/index.ts
  • src/tedi/index.ts
  • src/tedi/providers/printing-provider/index.ts
  • src/tedi/providers/printing-provider/printing-provider.spec.tsx
  • src/tedi/providers/printing-provider/printing-provider.tsx
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/99-useprint-nested-usage-returns-false

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@airikej airikej merged commit a58cb70 into rc Apr 14, 2026
22 checks passed
@airikej airikej deleted the feat/99-useprint-nested-usage-returns-false branch April 14, 2026 08:21
github-actions Bot pushed a commit that referenced this pull request Apr 14, 2026
# [17.0.0-rc.1](react-16.2.0-rc.1...react-17.0.0-rc.1) (2026-04-14)

### Features

* **print:** introduce PrintingProvider + context-based usePrint [#99](#99) ([#497](#497)) ([a58cb70](a58cb70))

### BREAKING CHANGES

* **print:** usePrint hook removed.
Replace with usePrint from the new PrintingProvider context.
github-actions Bot pushed a commit that referenced this pull request Apr 29, 2026
# [17.0.0](react-16.1.0...react-17.0.0) (2026-04-29)

### Bug Fixes

* **checkbox:** invalid indicator hover border fix [#605](#605) ([#609](#609)) ([f1d62c6](f1d62c6))
* **select:** select placeholder no longer blocks context menu interactions [#584](#584) ([#585](#585)) ([e8d86ab](e8d86ab))
* **variables:** update core version, update variable names [#592](#592) ([#598](#598)) ([1f15b36](1f15b36))

### Features

* **button-group:** add mobile variant [#448](#448) ([#606](#606)) ([54dee90](54dee90)), closes [#94](#94) [#94](#94) [#94](#94) [#94](#94) [#94](#94) [#94](#94) [#94](#94) [#94](#94) [#94](#94) [#94](#94) [#94](#94) [#94](#94) [#94](#94) [#94](#94)
* **card:** add more control to borderRadius usage, add examples [#444](#444) ([#597](#597)) ([deac9db](deac9db))
* **print:** introduce PrintingProvider + context-based usePrint [#99](#99) ([#497](#497)) ([a58cb70](a58cb70))
* **spinner:** add new sizes [#586](#586) ([#589](#589)) ([fbea0c3](fbea0c3))
* **tabs:** new tedi-ready component [#555](#555) ([#557](#557)) ([9c06c51](9c06c51))
* **textarea:** add autoGrow, height and maxHeight props [#588](#588) ([#593](#593)) ([2c86740](2c86740))
* **toggle:** new TEDI-Ready component [#305](#305) ([#594](#594)) ([6f28045](6f28045))

### BREAKING CHANGES

* **print:** usePrint hook removed.
Replace with usePrint from the new PrintingProvider context.
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.

[usePrint]: Nested usage returns false

2 participants