Skip to content

fix(CalendarIcon): Replace CalendarIcon with RhUiCalendarFillIcon#12461

Open
rebeccaalpert wants to merge 1 commit into
patternfly:mainfrom
rebeccaalpert:cursor/replace-calendar-icon-with-rh-ui-calendar-fill
Open

fix(CalendarIcon): Replace CalendarIcon with RhUiCalendarFillIcon#12461
rebeccaalpert wants to merge 1 commit into
patternfly:mainfrom
rebeccaalpert:cursor/replace-calendar-icon-with-rh-ui-calendar-fill

Conversation

@rebeccaalpert

@rebeccaalpert rebeccaalpert commented Jun 12, 2026

Copy link
Copy Markdown
Member

What:
This is one piece of #12400. Breaking it up by icon so it is easier to review.

Additional issues:

Summary by CodeRabbit

Documentation

  • Updated TextInput component examples to use an updated calendar icon implementation across custom icon and invalid state variations.

Co-authored-by: Cursor <cursoragent@cursor.com>
@coderabbitai

coderabbitai Bot commented Jun 12, 2026

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: eaa652a3-759b-4ab9-8dfe-189bac9e29a8

📥 Commits

Reviewing files that changed from the base of the PR and between 8b528bb and 72a83e4.

📒 Files selected for processing (3)
  • packages/react-core/src/components/TextInput/examples/TextInput.md
  • packages/react-core/src/components/TextInput/examples/TextInputCustomIcon.tsx
  • packages/react-core/src/components/TextInput/examples/TextInputCustomIconInvalid.tsx

Walkthrough

This pull request updates three TextInput example files to consistently use RhUiCalendarFillIcon instead of CalendarIcon. The documentation and component examples (TextInputCustomIcon and TextInputCustomIconInvalid) are modified to import and render the new icon.

Changes

TextInput icon examples update

Layer / File(s) Summary
Icon replacement in TextInput examples and documentation
packages/react-core/src/components/TextInput/examples/TextInput.md, packages/react-core/src/components/TextInput/examples/TextInputCustomIcon.tsx, packages/react-core/src/components/TextInput/examples/TextInputCustomIconInvalid.tsx
Documentation import and two example component files are updated to use RhUiCalendarFillIcon instead of CalendarIcon for both imports and the customIcon prop rendering.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Suggested labels

Needs design review

Suggested reviewers

  • kmcfaul
  • nicolethoen
  • thatblindgeye
🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change across all three modified files: replacing CalendarIcon with RhUiCalendarFillIcon in TextInput examples.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

@patternfly-build

patternfly-build commented Jun 12, 2026

Copy link
Copy Markdown
Collaborator

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