Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: rsuite/rsuite
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v6.0.1
Choose a base ref
...
head repository: rsuite/rsuite
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v6.1.0
Choose a head ref
  • 14 commits
  • 116 files changed
  • 4 contributors

Commits on Dec 9, 2025

  1. fix(rate): prevent name prop from overriding internal component styli…

    …ng (#4455)
    
    * fix(rate): prevent name prop from overriding internal component styling
    
    - Extract name prop in Rate component to prevent it from being passed to StyledBox
    - Add data-name attribute to preserve form field name for debugging
    - Rename internal name prop to componentName in StyledBox to avoid conflicts
    - Add comprehensive tests for Rate component with Form.Control integration
    - Update form documentation example to use field- prefix for all field names
    
    Fixes the issue where size prop was not applied correctly when Rate is used
    with Form.Control, similar to the previous Picker components fix.
    
    * Update src/Rate/test/Rate.spec.tsx
    
    Co-authored-by: Copilot <[email protected]>
    
    ---------
    
    Co-authored-by: Copilot <[email protected]>
    simonguo and Copilot authored Dec 9, 2025
    Configuration menu
    Copy the full SHA
    f803d01 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    170ad4f View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    7006a5a View commit details
    Browse the repository at this point in the history

Commits on Dec 10, 2025

  1. fix(CheckTree): allow parent nodes to be selected when all children a…

    …re disabled (#4446)
    
    * fix(CheckTree): allow parent nodes to be selected when all children are disabled
    
    - Modified isEveryChildChecked to ignore disabled children
      and return parent's own check state when all children are disabled
    - Modified isSomeChildChecked to skip disabled children
    - Added disabledItemValues parameter to getNodeCheckState,
      getFormattedTree, and useVirtualizedTreeData
    - Fixed issue where clicking parent node would incorrectly
      select disabled children
    - Fixed issue where parent nodes with all disabled children
      could not be selected
    - Added test cases to verify the behavior
    
    Fixes #4346
    
    * fix(CheckTree): use shallowEqual and improve disabled state logic
    simonguo authored Dec 10, 2025
    Configuration menu
    Copy the full SHA
    63e76e4 View commit details
    Browse the repository at this point in the history
  2. fix(Form): call onChange when reset() is invoked on controlled form (#…

    …4444)
    
    * fix(Form): call onChange when reset() is invoked on controlled form (#4394)
    
    * fix(Form): call onChange when resetting controlled form
    simonguo authored Dec 10, 2025
    Configuration menu
    Copy the full SHA
    acb0e59 View commit details
    Browse the repository at this point in the history
  3. fix(Breadcrumb): forward props correctly when using as prop in Breadc…

    …rumbItem (#4450)
    
    * fix(Breadcrumb): forward props correctly when using as prop in BreadcrumbItem
    
    - Separate BoxProps and component props using extractBoxProps/omitBoxProps
    - BoxProps are applied to wrapper element to support layout properties
    - Component props (like 'to' for react-router Link) are forwarded to inner element
    - Align prop forwarding behavior with NavItem and DropdownItem
    - Add test cases for custom component prop forwarding and BoxProps support
    - Update composition docs to show direct react-router-dom usage
    
    Fixes #4427
    
    * refactor(Breadcrumb): rename WrapperComponent to Wrapper in BreadcrumbItem (#4463)
    
    * Initial plan
    
    * refactor(Breadcrumb): rename WrapperComponent to Wrapper in BreadcrumbItem
    
    Co-authored-by: simonguo <[email protected]>
    
    ---------
    
    Co-authored-by: copilot-swe-agent[bot] <[email protected]>
    Co-authored-by: simonguo <[email protected]>
    
    * test: add coverage for active BreadcrumbItem with custom component (#4462)
    
    * Initial plan
    
    * test: add test for active breadcrumb item with custom component
    
    Co-authored-by: simonguo <[email protected]>
    
    ---------
    
    Co-authored-by: copilot-swe-agent[bot] <[email protected]>
    Co-authored-by: simonguo <[email protected]>
    
    ---------
    
    Co-authored-by: Copilot <[email protected]>
    Co-authored-by: simonguo <[email protected]>
    3 people authored Dec 10, 2025
    Configuration menu
    Copy the full SHA
    1c39f37 View commit details
    Browse the repository at this point in the history
  4. fix(Checkbox): set indeterminate property for screen reader support (#…

    …4448)
    
    * fix(Checkbox): set indeterminate property for screen reader support
    
    - Create useIndeterminateCheckbox hook to manage indeterminate state
    - Set native checkbox indeterminate property via useLayoutEffect
    - Add test to verify indeterminate property is set correctly
    - Add comprehensive CheckTree tests for indeterminate state
    
    Fixes #4345
    
    Screen readers (NVDA, JAWS, VoiceOver) require the native checkbox
    indeterminate property to be set via JavaScript, not just aria-checked.
    This ensures proper announcement of 'mixed' or 'partially checked' state.
    
    * Update src/Checkbox/hooks/useIndeterminateCheckbox.ts
    
    Co-authored-by: Copilot <[email protected]>
    
    * Update src/Checkbox/hooks/useIndeterminateCheckbox.ts
    
    Co-authored-by: Copilot <[email protected]>
    
    ---------
    
    Co-authored-by: Copilot <[email protected]>
    simonguo and Copilot authored Dec 10, 2025
    Configuration menu
    Copy the full SHA
    0bcdd9e View commit details
    Browse the repository at this point in the history

Commits on Dec 11, 2025

  1. chore(docs): integrate next-sitemap for sitemap.xml (#4464)

    * chore(docs): integrate next-sitemap for sitemap.xml
    
    * chore(docs): integrate next-sitemap with zh hreflang
    simonguo authored Dec 11, 2025
    Configuration menu
    Copy the full SHA
    24da158 View commit details
    Browse the repository at this point in the history
  2. feat(DateInput): support AM/PM toggle with 'a' and 'p' keys (#4443)

    - Add onAmPmToggle handler in DateInput component
    - Add onAmPmToggle handler in DateRangeInput component
    - Update useKeyboardInputEvent to allow 'a' and 'p' keys for AM/PM field
    - Add unit tests for AM/PM toggle functionality in both components
    - Pressing 'a' key switches to AM when in PM
    - Pressing 'p' key switches to PM when in AM
    simonguo authored Dec 11, 2025
    Configuration menu
    Copy the full SHA
    d56468c View commit details
    Browse the repository at this point in the history
  3. feat(build): export SCSS source files to npm package (#4445)

    - Add copyScssFiles function to copy all SCSS files to lib directory
    - Set sass field to 'styles/index.scss' in lib/package.json
    - Add validation tests for SCSS files in validateBuilds.spec.ts
    - Fixes #4437
    simonguo authored Dec 11, 2025
    Configuration menu
    Copy the full SHA
    edac8e6 View commit details
    Browse the repository at this point in the history
  4. feat(Tree): add Home and End keyboard support for accessibility (#4449)

    * feat(Tree): add Home and End keyboard support for accessibility
    
    - Add Home and End key handlers to onMenuKeyDown function
    - Implement focusFirstItem and focusLastItem utilities in Tree
    - Add keyboard event handlers in useFocusTree hook
    - Add comprehensive test cases for Home/End keys (normal and virtualized modes)
    - Update documentation for Tree, CheckTree, TreePicker, and CheckPicker components
    - Complies with WCAG 2.1 and WAI-ARIA TreeView design pattern
    
    Fixes #4344
    
    * Update docs/pages/components/check-picker/en-US/index.md
    
    Co-authored-by: Copilot <[email protected]>
    
    * Update docs/pages/components/check-picker/zh-CN/index.md
    
    Co-authored-by: Copilot <[email protected]>
    
    * docs(CheckTreePicker): update a11y
    
    * test(Tree): add Home/End key accessibility tests
    
    ---------
    
    Co-authored-by: Copilot <[email protected]>
    simonguo and Copilot authored Dec 11, 2025
    Configuration menu
    Copy the full SHA
    9f54089 View commit details
    Browse the repository at this point in the history
  5. build: bump 6.1.0

    simonguo committed Dec 11, 2025
    Configuration menu
    Copy the full SHA
    57915fe View commit details
    Browse the repository at this point in the history
  6. Configuration menu
    Copy the full SHA
    275b7ca View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    3ac53cc View commit details
    Browse the repository at this point in the history
Loading