Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

rsuite

rsuite422.5kMIT5.82.0TypeScript support: included

A suite of react components

react, rsuite, component, react-component

readme

React Suite logo

English | 中文版

npm GitHub Actions npm bundle size codecov Discord Gitter Gitter Gitpod ready-to-code

React Suite is a set of React components. It is committed to providing high-quality and comprehensive React components to help developers quickly build web applications.

Supported Platforms

Browser

React Suite supports the latest, stable releases of all major browsers and platforms. IE<=10 is no longer supported since React Suite 5.0. React Suite is designed and implemented for use on modern desktop browsers rather than mobile browsers.

IE Edge Firefox Chrome Safari
>=11 >=14 >= 45 >= 49 >= 10

Server

React Suite supports server side rendering. Support Next.js to build applications.

Installation

React Suite is available as an npm package.

# with npm
npm install rsuite

# with Yarn
yarn add rsuite

# with pnpm
pnpm add rsuite

# with Bun
bun add rsuite

Usage

import { Button } from 'rsuite';
import 'rsuite/styles/index.less'; // or 'rsuite/dist/rsuite.min.css'

function App() {
  return <Button appearance="primary">Hello World</Button>;
}

More guides on how to get started are available here.

Documentation

It's the https://rsuitejs.com website for the latest version of React Suite. For older versions head over here:

The previous major version 4.x will no longer receive new features, and it is recommended to upgrade to the latest 5.x releases. Bug fixes for 4.x are still being supported for a period of time, and security fixes are supported until 6.x is in progress.

Framework Guides

React Suite can be used in your favorite framework. We have prepared step-by-step guides for these frameworks:

Changelog

Detailed changes for each release are documented in the release notes.

Contribution

Make sure you've read the guidelines before you start contributing.

Sponsoring services

These great services help us to build and maintain the project.

Service Description
GitHub Github lets us host the Git repository and coordinate contributions.
Vercel Vercel provides the hosting for the documentation site.
CodeCov CodeCov lets us monitor test coverage.
Gitee Gitee grants us GVP - Gitee Most Valuable Open Source Project.
CodeSandbox CodeSandbox lets us provide live previews of the components.
Stackblitz Stackblitz lets us provide live previews of the components.

Supporting React Suite

If you like React Suite, you can show your support by:

This project exists thanks to all the people who contribute.

opencollective-now

License

React Suite is MIT licensed.

changelog

5.82.0 (2025-05-29)

Features

  • locale: add support for Thai (th_TH) (#4299) (91a7a45)
  • locales: add Ukrainian (uk-UA) localization for DateRangePicker and other components (#4288) (b8789ec)

5.81.0 (2025-05-23)

Bug Fixes

  • toaster: fix issue where delayed closing affects state (#4294) (3279371)

Features

  • CheckTreePicker: support onCascadeChange prop (#4287) (48c5a9b)

5.80.3 (2025-05-17)

Bug Fixes

  • examples/with-electron/package.json & examples/with-electron/package-lock.json to reduce vulnerabilities (#4282) (6891756)
  • examples/with-parcel/package.json & examples/with-parcel/package-lock.json to reduce vulnerabilities (#4281) (07b6922)
  • examples/with-preact/package.json & examples/with-preact/package-lock.json to reduce vulnerabilities (#4276) (10d9e0d)
  • examples/with-umi/package.json & examples/with-umi/package-lock.json to reduce vulnerabilities (#4277) (ede8f51)
  • InlineEdit: reset input value to original on cancel instead of preserving edited value (#4283) (c1d98b5)

5.80.2 (2025-05-09)

Bug Fixes

  • DateInput: ignore function keys (F1–F12) to prevent NaN input (#4272) (42899bf)
  • DateRangeInput: ignore function keys (F1–F12) to prevent NaN input (#4263) (3fd1516)

5.80.1 (2025-04-25)

Bug Fixes

  • locale: fixed some minor issue with dutch locale (#4257) (79a6de6)

5.80.0 (2025-04-18)

Bug Fixes

  • calendar: adjust priority of weekStart over isoWeek (#4234) (4697f22)
  • vite: resolve circular dependency between chunks (#4246) (9dca238)

Features

  • InlineEdit: enhance focus handling with TAB navigation support (#4226) (18d4f6a)

5.79.1 (2025-04-03)

Bug Fixes

  • List: fix sorting issue on mobile devices (#4215) (5b74d8b)

5.79.0 (2025-03-26)

Bug Fixes

  • Form: support explicit type of array type when use rule of formControl (#4165) (55df308)
  • useToaster: fix the incorrect @see link in the useToaster comment (#4200) (cd8087a)

Features

  • Slider,RangeSlider: add support for keepTooltipOpen prop (#4186) (a1bdea4)

5.78.1 (2025-03-14)

Bug Fixes

  • Uploader: refine children prop type and improve class handling (#4175) (58d3eea)

5.78.0 (2025-02-21)

Bug Fixes

  • pickers: improve pickers renderValue property type definition (#4144) (a6abf28)

Features

5.77.1 (2025-02-07)

Bug Fixes

  • DateRangePicker: allow ranges option value to be null (#4141) (32017c4)
  • Dropdown: prevent focus moving to first item when focusing on disabled item (#4142) (caa4a9a)
  • Form: validation for nested array fields (#4139) (dbf15cb)
  • prevent duplicate className in DatePicker and DateRangePicker components (#4140) (fa3f40d)

5.77.0 (2025-01-21)

Bug Fixes

  • Form: support deeply nested object validation (#4125) (2de3f90)
  • InputPicker: do not trigger clean when clicking delete with search keyword (#4124) (98a0019)

Features

  • DateRangePicker: support custom render calendar cell content (#4126) (74171d1)

5.76.3 (2025-01-10)

Bug Fixes

  • FormControl: show correct error when the value of filed is an array (#4112) (a30c990)
  • Picker: fix loader icon position in different sizes (#4114) (7c03307)
  • styles: fix system font stack reference and configuration (#4110) (6952ce4)

5.76.2 (2025-01-01)

Bug Fixes

  • ToastContainer: fix the server-side rendering error (#4099) (e5113a2)

5.76.1 (2024-12-30)

Bug Fixes

  • useToaster: support dynamic container of useToaster with correct styles (#4088) (62b1a12)

5.76.0 (2024-12-20)

Features

5.75.0 (2024-12-06)

Bug Fixes

  • useToaster: fix the container parameter of toaster.push does not work (#4057) (c0073c3)

Features

5.74.2 (2024-11-08)

Bug Fixes

  • CSS: fix the problem of failing to load index.css.map (#4041) (f7ac0a9)
  • DateRangePicker: fix the date range is not restored after deselecting (#4039) (ecc71fa)
  • Panel: fix AccordionButton missing type causing form submission (#4044) (56672fd)
  • Table: fix the problem that the global locale configuration cannot be overridden (#4037) (31d5b99)

5.74.1 (2024-11-01)

Bug Fixes

  • CustomProvider: fix CustomContext is undefined after Babel compiles commonjs module (#4032) (beec3e1)

5.74.0 (2024-11-01)

Bug Fixes

  • Form: add missing event object to onSubmit callback (#4026) (1a80d3f)

Features

  • CustomProvider: support setting the default value of the component props globally (#4012) (b845907)

5.73.1 (2024-10-25)

Bug Fixes

  • Calendar: fix not triggering the onToggleTimeDropdown event when collapsing the time panel (#4009) (9e2d69e)
  • CheckTree: fix focus lost when search keyword matches selected item (#4017) (119fed2)
  • Modal: the style of Modal is messy when it's rendered inside of a Drawer (#4016) (922ab04)

Features

  • FormErrorMessage: support display react element (#4013) (50f22fc)

5.73.0 (2024-10-18)

Bug Fixes

  • bump @rsuite/icons 1.2.0 and replace deprecated icons (#4002) (2a287c1)
  • Calendar: fix the week not aligning in the cell (#3994) (14ae7a4)
  • examples/custom-multiple-themes/package.json to reduce vulnerabilities (#3962) (16bc650)

Features

  • Calendar: support localized month calendar (#3995) (b4f80d8)
  • CustomProvider: add support for csp and disableInlineStyles (#4004) (84b6e98)

5.72.0 (2024-10-11)

Bug Fixes

  • DateInput,DateRangeInput: fix the issue that the value cannot be cleared by the Backspace key (#3987) (7a25979)
  • InlineEdit: ix the issue that InputPicker needs to be clicked twice to focus (#3990) (7d123b0)
  • SelectPicker,CheckPicker: fix the virtual list option text being wrapped (#3988) (c8f39ef)

Features

  • add support for TimePicker and TimeRangePicker (#3984) (6cadccf)
  • Animation.Fade: add support for CSS variable control animation duration (#3989) (3952929)

5.71.0 (2024-09-27)

Bug Fixes

  • Form: fix can't get form data in addRule callback (#3980) (26417ef)

Features

  • DateRangePicker: add support for hideHours, hideMinutes, hideSeconds (#3979) (1d48589)

5.70.3 (2024-09-20)

Bug Fixes

  • CheckTree: fix the incorrect check state after loading child nodes through getChildren (#3974) (afaaf2d)
  • docs/package.json & docs/package-lock.json to reduce vulnerabilities (#3972) (41d5334)
  • Form: clear error caused by uncontrolled form state (#3971) (dbc75fd)

5.70.2 (2024-09-13)

Bug Fixes

  • Form: fix the error message of the nested field not displayed when the form is submitted (#3960) (384dd70)

5.70.1 (2024-09-06)

Bug Fixes

  • Breadcrumb: fix the rendering exception of the child node separator (#3948) (7d54cc9)
  • Calendar: fix the problem of displaying the first week of the year incorrectly (#3951) (a2c6891)

5.70.0 (2024-08-24)

Bug Fixes

  • Cascader,MultiCascader: fix locale property can't override global config (#3928) (31abca8)
  • MultiCascadeTree,MultiCascader: fix parent node is not in a mixed state when searching (#3931) (5ec0be5)
  • Table: fix border style when rowSpan is used (#3940) (9677303)
  • TreePicker,MultiCascader: fix not focusing on the search box when typing characters (#3930) (4f3b8e3)
  • use useLayoutEffect instead of useEffect in useEventCallback (#3921) (6396b3e)

5.69.0 (2024-08-09)

Bug Fixes

  • DatePicker, DateRangePicker: fix the component crash due to invalid format (#3910) (ed8f9b0)
  • useMediaQuery: fix media query change cannot be listened to when using multiple useMediaQuery (#3909) (63d50e2)

Features

  • Calendar, DatePicker, DateRangePicker: add support for monthDropdownProps prop (#3913) (9025bbe)
  • DateRangePicker: add support for calendarSnapping prop (#3911) (4b3a669)
  • InputNumber: add support for decimalSeparator prop (#3907) (58212fa)

5.68.1 (2024-08-02)

Bug Fixes

  • CheckTree: fix uncontrolled component default value (#3906) (01aab7d)

5.68.0 (2024-07-26)

Bug Fixes

  • DateInput,DateRangeInput: fix the date in the text box cannot be copied (#3888) (1d95107)
  • Form: fix proxy function in schema-typed not work in form (#3863) (63c0e3a)
  • Stack: fix the compatibility of spacing in Linux Firefox (#3889) (44ed16f)
  • Whisper: fix Whisper children not support string and other basic types (#3893) (70fb61d)

Features

  • Nav,Tabs: add pills value to the appearance property (#3890) (eae279f)

5.67.0 (2024-07-19)

Bug Fixes

  • Button: fix the misalignment of icons and text in block buttons (#3880) (aa4f02b)
  • NavItem: fix NavItem cannot be used in Navbar and Sidenav (#3882) (be6b2b1)
  • Stack: fix StackItem cannot be rendered correctly in server-side rendering (#3884) (a552e35)

Features

  • locales: add support for Catalan (#3878) (c0bae4d)
  • Uploader: add event parameter to onChange callback (#3881) (a1c1667)

5.66.0 (2024-07-12)

Bug Fixes

  • accessibility: improve font color contrast (#3877) (105b6c6)
  • TreePicker, CheckTreePicker: fix locale cannot override default localization configuration (#3873) (01ac8c5)

Features

  • Loader: add paused value to the speed property to control the animation pause (#3875) (85326c5)

5.65.1 (2024-07-05)

Bug Fixes

  • Deno: prevent ReferenceError in Deno environments (#3865) (02cf882)
  • Drawer: remove the max-height that should not exist in Drawer.Body (#3868) (7526b35)
  • errorMessage isn't shown when using ArrayType().of (#3867) (16668a1)
  • progress: consistent spacing between label/icon & progress line (Vertical) (#3862) (672c63b)

5.65.0 (2024-06-28)

Bug Fixes

  • DatePicker,DateRangePicker: fix the priority of the style in the error state (#3854) (36cb376)
  • Divider: fix Stack horizontal divider not working (#3856) (678876b)
  • Table: fix table row border not full (#3858) (2a2bdb9)
  • theme: add less variable to opt-out of high-contrast theme bundling (#3861) (0db8cb9)
  • uploader: background color on hover when disabled (#3852) (29e79a5)

Features

  • add support for HStack and VStack (#3857) (ddbe3ca)
  • useToaster: add support for mouseReset parameter in push method (#3846) (7361e40)

5.64.2 (2024-06-21)

Bug Fixes

5.64.1 (2024-06-14)

Bug Fixes

  • DateInput,DateRangeInput: fix date input error when manually input date (#3832) (40db883)
  • Modal: fix overflow not working when Modal is in Drawer (#3839) (d65b28d)

5.64.0 (2024-05-30)

Bug Fixes

  • RSC: fix unable to access component via dot notation (#3827) (cd04fd2)
  • useMediaQuery: fix components not rendering due to non-immutable data (#3825) (3c8656c)

Features

  • Toggle: add support for color and children (#3824) (5f5c973)
  • useBreakpointValue: add a hook to get the value of the current breakpoint (#3826) (aac93e8)

5.62.1 (2024-05-24)

Bug Fixes

  • build: fix the path not being converted in the .d.ts file (#3820) (68d126a)

5.62.0 (2024-05-24)

Bug Fixes

  • DatePicker: fix calendar component style issue (#3816) (f455182)
  • DatePicker,DateRangePicker: fix renderValue and editable can't coexist (#3815) (20d4a81)

Features

  • Calendar,DatePicker,DateRangePicker: add support for weekStart (#3814) (9edbbcd)
  • Panel, Tree, CheckTree: add support for scrollShadow (#3818) (8183e92)

5.61.0 (2024-05-17)

Bug Fixes

  • Steps: center align inner icon/text (#3811) (1f284ea)
  • fix the color contrast of form controls in disabled state (#3809) (211ce5f)
  • DatePicker, DateRangePicker: block pointer events when disabled (#3797) (166fb45)
  • DatePicker,DateRangePicker: fix the issue that renderValue does not work (#3798) (494c9c6)
  • DateRangePicker: fix calendar panel vertical display (#3806) (0da17e9)
  • Placeholder.Grid: fix active not working (#3805) (2e1a4ce)

Features

  • Highlight: add support for Highlight component (#3810) (876377b)
  • option group of the picker supports sticking to the top of container (#3807) (157a2bf)

Performance Improvements

  • DateRangePicker: improve the performance when typing the date (#3803) (a384bd0)

5.60.2 (2024-05-10)

Bug Fixes

  • date-picker: cursor pointer on icon hover (#3789) (fb85faa)
  • DateInput,DateRangeInput: fix the issue of incorrect cursor position in the input box (#3785) (d606944)
  • Slider: block pointer events when disabled (#3788) (2470f77)
  • toggle: center align inner text/icon (#3787) (c2a8fb1)

5.60.1 (2024-05-03)

Bug Fixes

  • DateRangePicker: fix not auto switching to the end calendar when only one calendar is displayed (#3781) (5322f9c)
  • DateRangePicker: fix not updating time on calendar when typing to change time (#3777) (d1a7350)
  • toggle: block pointer events when disabled (#3774) (d833a0a)
  • Toggle: fix the height problem of the switch element (#3780) (ff1570c)

5.60.0 (2024-04-26)

Bug Fixes

  • Fade: fix Picker not working in Drawer without backdrop (#3759) (930a321)
  • TagPicker: fix misalignment of large size tag with textbox (#3755) (2bcd793)
  • TagPicker: fix text flicker when entering (#3758) (f7058d1)

Features

  • Form: add support for onSubmit and onReset (#3750) (d9b747e)

5.59.2 (2024-04-19)

Bug Fixes

  • DatePicker: fix disabled date and month can be selected (#3747) (c3d8765)
  • DateRangePicker: fix oneTap not working when there is a default value (#3745) (478894e)
  • DateRangePicker: fix the end time cannot be changed when only one calendar is displayed (#3743) (a5affd9)
  • Form: fix nestedField will auto trigger validation for other sibling fields (#3741) (dbe1ae2)

5.59.1 (2024-04-12)

Bug Fixes

5.59.0 (2024-04-03)

Bug Fixes

  • DatePicker,DateRangePicker: fix the date change when the input date is incomplete (#3719) (24f162f)
  • Drawer: fix the focus cannot be moved to elements outside the Drawer when backdrop=false (#3716) (f044445)

Features

  • Avatar: add support for bordered and color props (#3711) (3ca7dc1)

5.58.1 (2024-03-28)

Bug Fixes

5.58.0 (2024-03-28)

Bug Fixes

Features

  • Dropdown: add support for shortcut on <Dropdown.Item> (#3704) (2edac54)
  • Picker's onOpen & onClose should decouple with onEnter & onExit (#3228) (09db561)
  • Typography: add support for Heading and Text (#3693) (b278b4e)

5.57.0 (2024-03-22)

Bug Fixes

  • InlineEdit: fix type conflict for defined children (#3685) (619c455)
  • Loader: set correct ARIA properties for Loader (#3691) (92505e2)
  • fix the problem that useToaster cannot be imported on demand and update the docs directory (#3689) (1e4f4e3)

Features

  • add support for CascadeTree and MultiCascadeTree (#3563) (524fc7a)

5.56.0 (2024-03-15)

Bug Fixes

  • examples/with-gatsby/package.json to reduce vulnerabilities (#3583) (2f10776)
  • Checkbox: listen for click events on the correct element (#3666) (cd43df5)
  • TagGroup: fix css entry in nested children (#3663) (fc59018)

Features

  • Checkbox: add support for color on <Checkbox> (#3670) (a9e14ee)
  • Radio: add support for color on <Radio> (#3672) (9406886)

5.55.1 (2024-03-08)

Bug Fixes

  • Calendar: fix misalignment of month selection menu layout (#3655) (eff9702)
  • DatePicker,DateRangePicker: fix the problem of padding (#3659) (47f84f4)
  • Message: fix the z-index issue of Message in full screen state (#3658) (f899b92)
  • nav: default appearance doesn't show an active background when focused (#3654) (3dcf943)

5.55.0 (2024-03-01)

Bug Fixes

  • DateRangePicker: fix time picker does not update when clicking the shortcut item (#3647) (00c9eaa)
  • Pagination: fix SelectPicker rendering misalignment (#3643) (044c48f)
  • Slider,RangeSlider: fix touch event not working (#3653) (3d57ebc)

Features

  • added czech locale (#3649) (f589257)
  • DatePicker: add support renderCell on <DatePicker> (#3641) (b63d1a3)
  • InputNumber: add support for formatter on <InputNumber> (#3642) (d457d3a)

5.54.0 (2024-02-22)

Bug Fixes

  • DatePicker: fix style error of the bottom button in the datePicker (#3634) (536ad7e)
  • DateRangePicker: fix error state when value is empty array (#3631) (f8778f5)
  • InputGroup: fix Input padding issue in InputGroup (#3600) (56b3792)
  • TagPicker: fix the margin issue between tags in plaintext mode (#3638) (61f343b)
  • fixed issue with install guide page (#3619) (#3620) (33159b6)

Features

5.53.2 (2024-02-06)

Bug Fixes

  • CheckPicker: remove debug script (#3615) (62285da)
  • Tree,CheckTree: fix classPrefix and className not working correctly (#3616) (c82cb91)

5.53.1 (2024-02-06)

Bug Fixes

  • supports Fragment children component (#3607) (299b951)
  • Panel: fix uncontrolled re-rendering of Panel children (#3610) (8f9a8a8)

5.53.0 (2024-02-02)

Bug Fixes

  • DateRangePicker: fix incorrect static method type definition (#3598) (68b3afb)
  • InputGroup: fix that the bg color of InputGroup.Addon is inconsistent with Input (#3595) (a6bb6b0)
  • Menu: fix the menuitem cannot be closed correctly when it contains child elements (#3599) (5f08313)
  • Message: make the visual style of Message more prominent (#3603) (114013f)
  • tree: improve the hover and focus status of Tree nodes (#3594) (559b837)

Features

  • Message: add support for bordered and centered props on Message (#3605) (2e0f2ec)
  • Tabs: add support for Tabs (#3597) (303350f)

5.52.0 (2024-01-26)

Bug Fixes

  • DatePicker: fix DatePicker can't select after typing with keyboard (#3589) (d70d883)
  • pickers: fix the spacing of the searchbox is not uniform in all pickers (#3565) (4c90a03)
  • useUniqueId: use toString instead of an empty string (#3591) (d80914c)
  • NavItem and DropDownItem rendering icon without overriding className (#3561) (6a8e81f)

Features

  • Accordion: add support for Accordion (#3575) (1c81777)
  • CSS: export individual CSS files for all components (#3588) (616deff)
  • DateRangePicker: add support for showHeader on DateRangePicker (#3590) (1203c34)
  • storybook: add storybook examples for all components (#3585) (48df8a9)
  • VisuallyHidden: add support for VisuallyHidden (#3571) (43544a0)

5.51.0 (2024-01-19)

Bug Fixes

  • InputGroup: fix style conflict caused by zIndex set in InputGoup (#3552) (f874edf)

Features

  • Form: add support for nestedField prop on Form (#3568) (47fce55)
  • improve accessibility of all pickers (#3558) (8ad3cfd)

5.50.0 (2024-01-12)

Bug Fixes

Features

  • cra: supports using CRA to install javascript template (#3538) (1b697f4)
  • cra: supports using CRA to install typescript template (#3540) (bbe3609)
  • DateRangePicker: supports date selection by using keyboard (#3554) (2c8d197)
  • FormControl: added support for name setting path of object (#3511) (03d5396)

5.49.0 (2023-12-29)

Bug Fixes

  • CSS Reset: fix rsuite-no-reset.css overrides the default styles of the app (#3527) (dff5804)
  • CustomProvider: fix the flicker when initializing in Dark mode (#3528) (2bd67fd)
  • DateRangePicker: fix layout misalignment due to missing min-width (#3523) (464af79)

Features

  • DatePicker: supports date selection by using keyboard (#3515) (bc56cb3)
  • DateRangeInput: add support for DateRangeInput (#3525) (074245a)
  • Input: add support for htmlSize prop (#3526) (62de8ca)

5.48.1 (2023-12-22)

Bug Fixes

  • build: fix environment variable undefined error when building (#3521) (8efa27b)
  • DatePicker: fix menuStyle prop not working (#3509) (aa816be)
  • useMediaQuery: fix MediaQueryList not updating status when triggering change event (#3503) (06b79dd)

5.48.0 (2023-12-14)

Bug Fixes

  • Whisper: fix delay and other related props not working (#3499) (a54aee1)

Features

  • DateInput: add support for DateInput (#3492) (3095c03)
  • useMediaQuery: add a CSS media query hook (#3234) (d2bfdd6)
  • add annotations and link for components using JSDoc format (#3498) (39d4e5f)

5.47.0 (2023-12-08)

Bug Fixes

  • CloseButton: fix close label translation string (#3483) (feedbde)
  • CloseButton: improve CloseButton accessibility (#3488) (92ed9a5)

Features

  • TagPicker: add support for renderMenuItemCheckbox (#3481) (6b044e9)

5.46.1 (2023-12-01)

Bug Fixes

  • Calendar: fix incorrect week numbers calculation (#3471) (646e728)
  • CSS: fix CSS calc syntax compatibility issue (#3474) (88021ee)
  • Slider,RangeSlider: fix onChangeCommitted not triggered when the… (#3472) (18a6e17)

5.46.0 (2023-11-24)

Bug Fixes

  • DatePicker: improve DatePicker accessibility (#3464) (63ac804)
  • improve accessibility of picker related components (#3463) (1cc5481)
  • AutoComplete,Loader: fix CSS relative colors causing test errors (#3460) (f9b1244)
  • Cascader: fix bug in value selection via Enter key (#3461) (4266e79)

Features

  • CSS: add compatibility for relative color syntax (#3462) (a02eaa9)

5.45.0 (2023-11-17)

Bug Fixes

  • Button: fix button radius using wrong less variable (#3451) (037a2b3)
  • formControll will pass undefined as value when value is null defaultValue is undefined (#3456) (cde5a88)

Features

  • Drawer: add support for closeButton (#3450) (90f25d0)
  • Modal,Drawer: size prop supports number and string values (#3103) (39741b7)

5.44.0 (2023-11-10)

Bug Fixes

  • DatePicker,DateRangePicker: fix inability to clear values via Backspace key (#3446) (ca7dcdd)
  • toaster: fix useToaster not keep same reference when re-renders (#3440) (a603033)

Features

  • add loading prop for all pickers (#3444) (3c5b2af)
  • DatePicker,DateRangePicker: add support for onShortcutClick (#3439) (ae00f90)

5.43.0 (2023-11-03)

Bug Fixes

  • AutoComplete: fix AutoComplete plaintext mode not working (#3436) (72b79e7)
  • Drawer: change Drawer title font-size to 18px (#3430) (3eff439)

Features

  • CSS: use CSS custom properties instead of less variables (#3428) (f6474e4)

5.42.0 (2023-10-29)

Bug Fixes

  • form: form doesn't pass correct formValue to context (#3426) (0ade0dc)

Features

  • TagPicker,TagInput: add support for onTagRemove (#3413) (96f96ab)

5.41.0 (2023-10-20)

Bug Fixes

  • add a safety check for the deprecated findDOMNode (#3362) (a20d77e)
  • InputGroup: fix child element's event not firing after InputGroup is disabled (#3398) (3170408)
  • Modal,Drawer: fix Modal and Drawer being automatically closed when clicked (#3400) (b4c6222)
  • Navbar: fix background color of the subtle navigation items incorrect (#3392) (e49e3e7)
  • OverlayTrigger: fix Overlay should not be open when cursor is not on element (#3401) (4a340f3)
  • Typo in docs (#3368) (dee34c7)

Features

  • add a script to prepend the use client directive (#3407) (3812779)
  • Button,Nav: improved font color contrast in subtle appearance (#3391) (266846a)

Reverts

  • Revert "refactor(SelectPicker): move grouped options into group element (#3313)" (#3389) (8b327e3), closes #3313 #3389

5.40.0 (2023-09-10)

Bug Fixes

  • CheckTree: searchKeyword is not updated as expected (#3354) (b642da3), closes #3196

5.39.0 (2023-09-04)

Bug Fixes

  • Nav.Item: fix vertical mis-alignment of icon (#3344) (283c013)

Features

  • i18n: Create ne_NP.ts for Nepali Locale Support. (#3351) (4b16982)

Reverts

  • Revert "ci: run ci check on *.x branches" (0a98b0c)

5.38.0 (2023-08-18)

Bug Fixes

  • Calendar: fix onMonthChange not fired when clicking on dates (#3335) (035d287)
  • InputPicker: cursor should be text (#3334) (eed2337)

Features

5.37.4 (2023-08-11)

Bug Fixes

  • DatePicker,DateRangePicker: fix calendar styles per design (#3325) (a7d1c08)
  • InputGroup: fix inside addon overlapping input text (#3324) (8f1ff30)
  • InputPicker: Fix InputPicker select bug (#3329) (c52756b)
  • OverlayTrigger: fix handleClose will trigger twice (#3286) (11b8eb8)
  • Picker: change color of caret on option group title (#3323) (0d7be85)

5.37.3 (2023-08-02)

Bug Fixes

  • SelectPicker: fix display options not updating when data prop is updated (#3319) (06c9cce)

5.37.2 (2023-07-28)

Bug Fixes

  • CheckPicker: wrong padding of grouped options (#3306) (03ca6bf)
  • Overlay: type error on OverlayTriggerProps (#3307) (4a2e28e)
  • RadioGroup: unexpected wrapped text in picker appearance (#3303) (c5aa81a)

5.37.1 (2023-07-21)

Bug Fixes

  • SelectPicker: wrong padding for grouped options (#3298) (e929f74)

5.37.0 (2023-07-07)

Bug Fixes

  • Picker: pass name prop to underlying input element (#3275) (3b7cce5)
  • RadioGroup: fix style in picker appearance (#3274) (f673c85)
  • Uploader: correct type for status argument of onError callback (#3273) (cdb3c74)

Features

  • InputPicker: add shouldDisplayCreateOption prop (#3270) (aa52b69)

5.36.0 (2023-06-30)

Bug Fixes

  • TagInput: fix tag create during text composing (#3244) (86451d7)

Features

5.35.1 (2023-06-09)

Bug Fixes

  • docs: wrong menuToggle style in RTL direction (#3223) (38313a9)
  • TreePicker: fix tree node disabled still can interact (#3232) (a57b058)

5.35.0 (2023-06-02)

Features

5.34.1 (2023-05-26)

Bug Fixes

  • InputPicker: add missing top padding of listbox (#3214) (f6df23c)
  • Radio,Checkbox: remove leading space for Radio/Checkbox in groups (#3215) (27c1495)

5.34.0 (2023-05-19)

Bug Fixes

  • DatePicker: added stack styles to datepicker styles (#3195) (b3ed580)
  • SelectPicker: prevent error when listProps.itemSize is a number (#3193) (151df47)

Features

5.33.1 (2023-05-12)

Bug Fixes

  • Carousel: fix index not being reset when children change (#3185) (3afb746)
  • CheckPicker: avoid mutating data when groupBy is specified (#3173) (1a9805a)
  • DatePicker: fix defaultValue not changing month on calendar (#3183) (b0a2b5f)
  • pickers: fix keyboard events still responding when readOnly (#3184) (56e7563)

5.33.0 (2023-04-28)

Features

  • Tree,TreePicker,CheckTree,CheckTreePicker: add onSelectItem prop (#3172) (9a5618a)

5.32.0 (2023-04-21)

Bug Fixes

  • build: fix broken lodash currying in CDN bundles (#3159) (896a9d5)
  • Cascader: avoid mutating data prop (#3157) (6d13318)

Features

  • DateRangePicker: add limitStartYear prop (#3163) (fd27df2)

5.31.1 (2023-04-14)

Bug Fixes

5.31.0 (2023-04-07)

Bug Fixes

  • toaster: fix style when message at the left (#3138) (6084c2a)

Features

  • Calendar: add support for onMonthChange on <Calendar> (#3150) (8dfe9d6)

5.30.0 (2023-03-31)

Bug Fixes

  • Cascader: fix infinite load state on inline mode and fix typo (#3131) (faa05f0)
  • DatePicker: fix abnormal time display in the calendar header (#3136) (860df1a)
  • DateRangePicker: fix the error of invalid time during date selection (#3135) (adeafdc)

5.29.0 (2023-03-24)

Bug Fixes

  • Affix: fix misalignment due to DOM content updates (#3124) (76d21e9)
  • Picker: fix async container update cause offset error (#3126) (c3e15c5)

5.28.3 (2023-03-17)

Bug Fixes

  • AutoComplete: add missing autoComplete prop (#3108) (c855fab)
  • Form.Control: fix not able to override checked prop (#3120) (aac965e)

5.28.2 (2023-03-10)

Bug Fixes

5.28.1 (2023-03-03)

Bug Fixes

  • Button: fix Button content not center-aligned (#3087) (28ff13b)

5.28.0 (2023-02-24)

Bug Fixes

  • DateRangePicker: fix lifecycle for Picker Toggle (#3074) (f46717b)

Features

5.27.0 (2023-02-17)

Bug Fixes

  • Message,Notification: duration property migrated to toaster.push option (#3065) (f18cc32)
  • Schema: add missing Types.MixedType (#3058) (b6c9654)

Features

5.26.1 (2023-02-09)

Bug Fixes

  • Form.Control: shouldResetWithUnmount isn't working (#3055) (98c7e1d)

5.26.0 (2023-02-03)

Bug Fixes

  • DatePicker: fix uncontrolled default date on calendar (#3045) (c530b25)
  • Form.Control: fix acceptor prop can not accept Toggle (#3048) (43a413a)
  • Nav.Menu: open with hover trigger in Navbar (#3041) (ddbc325)

Features

5.25.0 (2023-01-20)

Bug Fixes

  • Breadcrumb: improve font color for active item (#3028) (1efcbf9)
  • Breadcrumb: rendered breadcrumbs as span when href is not specified (#3027) (8ad16e4)
  • Button: fix disabled icon button bug in dark mode (#3020) (8975eff)
  • DatePicker: fix first click not working on month selection (#3019) (42eeaa3)
  • Whisper: add type checking for child components (#3012) (c189119)

Features

  • CustomProvider: add support for disableRipple on <CustomProvider> (#3030) (c6bb7ad)

Performance Improvements

  • Button: improved button color when hovered and activated (#3022) (7973696)

5.24.1 (2023-01-12)

Bug Fixes

  • DatePicker,DateRangePicker: fix the background color error when the cell is hovered (#3018) (9d6f43e)
  • MultiCascader: fix load async data error in inline mode (#3015) (081eb14), closes #3014
  • Navbar.Brand: fix missing href prop (#3007) (d0a1f27)
  • Tree: fix Tree drag preview style error (#3003) (4830148)

Performance Improvements

  • CSS transitions: improved duration of transitions (#3016) (d1829da)

5.24.0 (2022-12-30)

Bug Fixes

  • AutoComplete: fix AutoComplete size property not working (#2990) (add665b)
  • DatePicker: fix inconsistency between month selectable state and ok button clickable state (#2984) (70e6aba)
  • Sidenav: fix Sidenav multilevel Nav.Menu arrow icon exception (#2986) (87f6748)

Features

  • Dropdown: add Dropdown.Separator component (#2979) (db6fcbb)

5.23.3 (2022-12-16)

Bug Fixes

  • Modal: fix close button alignment and color (#2973) (b1eb5b4)

5.23.2 (2022-12-09)

Bug Fixes

  • Form.HelpText: change font size to 12px (#2968) (5c3898e)
  • Nav.Menu: fix noCaret has No Effect on a Sub-menu (#2960) (e51fb6b)
  • pickers: the focused item should be within the container's viewport (#2957) (cab5c63)
  • Tooltip: should use the default text alignment (#2965) (3280775)

5.23.1 (2022-12-02)

Bug Fixes

  • AutoComplete: fix animation props being passed on Input (#2950) (4c21993)
  • MultiCascader: fix unable to search for child items when childKey is set a value other than "children" (#2926) (5d35f6c)

5.23.0 (2022-11-25)

Bug Fixes

  • Dropdown: fix error on deletion of last Dropdown.Item (#2931) (8ed39e5)
  • InputNumber: fix scrollable not working (#2915) (c76589e)

Features

5.22.2 (2022-11-17)

Bug Fixes

  • DatePicker: call onSelect when meridian toggled (#2907) (9028097)

5.22.1 (2022-11-11)

Bug Fixes

  • DateRangePicker: fix time on calendar changing with date change (#2884) (77529af)

5.22.0 (2022-11-03)

Bug Fixes

  • DateRangePicker: fix end time not using time on second calendar (#2852) (b243567)
  • Table: remove transition on hover of table row (#2858) (9d26226)

Features

  • DatePicker: allow ranges on left of calendar (#2851) (ba2f7ee), closes #2845
  • Table: support for show full text when hovering over a cell (#2862) (f8b7eeb)
  • Table: support for show full text when hovering over a cell (#2862) (5528225)
  • Table: support for show full text when hovering over a cell (#2862) (fe2d769)
  • Table: support for show full text when hovering over a cell (#2862) (6c4cf18)

5.21.0 (2022-10-27)

Bug Fixes

  • DateRangePicker: fix end time will change with the start time (#2841) (7fb38dd)

Features

5.20.0 (2022-10-21)

Bug Fixes

  • DatePicker: reset calendar selection after closing picker menu (#2807) (1ef91a8)
  • Form.Control: when shouldResetWithUnmount should remove value and error (#2802) (f8d108a)

Features

  • SelectPicker,CheckPicker: add loading prop (#2808) (3a5e5d5)

5.19.1 (2022-10-13)

Bug Fixes

  • Cascader,MultiCascader: fix sub-columns not being removed when a leaf node is selected (#2792) (619c7de)
  • CheckTreePicker: fix children node can't uncheck when setting virtualized (#2782) (#2783) (50f7b89)
  • DateRangePicker: fix predefined range affecting calendar height (#2794) (957ce4e)
  • TreePicker, CheckTreePicker: ignore backspace when setting cleanable=false or disabled=true (#2798) (eefe0eb)
  • TreePicker,CheckTreePicker: fix renderExtraFooter causing the … (#2745) (d7279d1), closes #2758
  • TreePicker,CheckTreePicker: fix value being cleared internally when value is controlled (#2788) (4521a27), closes #2784

Features

Performance Improvements

  • CheckTreePicker: improve performance when using large data (#2767) (651a8a1)

5.19.0 (2022-09-23)

Bug Fixes

  • CheckPicker,SelectPicker: fix inconsistent label spacing (#2739) (2441d7e)
  • Dropdown: fix disabled not working when trigger is set to hover or contextMenu (#2740) (147821c)
  • Sidenav: fix tooltip blocking menu items (#2747) (d3568e1)
  • Stack: filter children that should not be rendered (#2732) (23c283f)

Features

5.18.1 (2022-09-15)

Bug Fixes

Features

  • Calendar: add a button to collapse the month and time view (#2722) (b49bfaf)
  • List: add size prop to ListItem (#2714) (ed3b023)

5.18.0 (2022-09-08)

Bug Fixes

  • CheckTreePicker: fix uncheckable style errors (#2695) (b47a048)
  • DateRangePicker: fix predefined range and OK button conflict (#2701) (e538d57)
  • Dropdown.Menu: fix custom className overriding rsuite classNames (#2703) (db1a4db)
  • FormControl: fix InputGroup not filling the container when fluid (#2689) (d7b5550)
  • Input: fix missing focus ring when mouse hover (#2702) (f548514)
  • List: fix helper/holder classname (#2697) (cd2c42d)

Features

  • List: allow sort with non-adjacent collection (#2690) (24cfffb)
  • Uploader: add support for Button properties on Uploader (#2688) (6c07781)

5.17.1 (2022-09-01)

Bug Fixes

  • InputGroup: fix icons not being vertically centered within the input (#2680) (b10a050)

Features

  • DatePicker,DateRangePicker: support to disable keyboard input (#2673) (01ec4a8)

5.17.0 (2022-08-26)

Features

  • DateRangePicker: supports placing predefined ranges on the left (#2670) (8df4a61)

5.16.6 (2022-08-18)

Bug Fixes

5.16.5 (2022-08-11)

Bug Fixes

  • AutoComplete: fix listbox not keeping the same width as input (#2645) (ad09288)
  • AutoComplete: fix missing definition of string in datatype (#2644) (528e291)
  • DateRangePicker: fix default time not working (#2642) (915de28)

5.16.4 (2022-08-04)

Bug Fixes

5.16.3 (2022-07-29)

Bug Fixes

  • DateRangePicker: fix predefined ranges cannot close picker (#2614) (7773899)
  • listProps: fix properties in listProps to be optional (#2622) (650abbd)

5.16.2 (2022-07-28)

Bug Fixes

  • CustomProvider: fix warnings caused by server-side rendering (#2599) (ea05efb)
  • DateRangePicker: improved experience for date range selection (#2618) (225fc08)
  • focus: fix outline style for form components when focused (#2601) (0e2f9df)
  • OverlayTrigger: fix invalid rendering without followCursor (#2600) (08abc8e)
  • Panel: allow custom header in collapsible panels (#2611) (6372d44)
  • Picker: add missing caretAs prop declaration (#2592) (faabba4)
  • Picker: fix style dependency (#2612) (0b5b1d6)
  • SelectPicker: make controlled value nullable (#2591) (6619a75)
  • treelike: fix data item stringify throw error (#2606) (3a586d2)

5.16.1 (2022-07-15)

Bug Fixes

  • InputNumber: fix unexpected focus ring when used within an InputGroup (#2585) (6f76b57)
  • SelectPicker,CheckPicker: add missing label prop declaration (#2586) (e1a8cfe)

5.16.0 (2022-07-07)

Features

  • SelectPicker,CheckPicker: add label prop (#2572) (d00f442)

5.15.2 (2022-06-30)

Bug Fixes

  • DateRangePicker: fix Ok button not clickable (#2564) (f80f94d)
  • InputGroup.Addon: extend props from as element (#2559) (d0c947c)
  • Whisper: specify speaker function argument types (#2558) (6dda5c6)

5.15.1 (2022-06-16)

Features

5.15.0 (2022-06-09)

Features

5.14.0 (2022-06-02)

Bug Fixes

  • Button: remove underline when hovered (#2516) (8bbb10d)
  • Dropdown: fix vertical alignment of submenus (#2524) (7c0ef52)
  • Form: make FormInstance methods non-nullable (#2521) (225af8a)
  • Modal: expose missing props (#2522) (2ed7040)
  • Panel: fix accordion not collapsible expanded panel (#2514) (10c80f2)
  • Sidenav: display tooltip when hovering collapsed Sidenav item (#2504) (d1238eb)
  • Sidenav: remove subtle item bg when focused by mouse (#2511) (819461c)
  • Table: fix elements in merged cells being occluded (#2513) (22e5467)

Features

  • grid: synchronize all grid size and breakpoint with bootstrap5 (e8d2d37)
  • Nav.Menu: add openDirection prop (#2523) (bd824ac)
  • toaster: add support for useToaster (#2518) (75cb960)
  • Tooltip,Popover: add arrow props to hide arrow indicator (48d876f)
  • Tooltip,Popover: add followCursor props to enable speaker follow cursor (e3bf75d)

Performance Improvements

  • Dropdown: improve contrast of active Dropdown item background color (#2510) (35a418a)

5.13.1 (2022-05-27)

Bug Fixes

  • CheckTreePicker: fix duplicated key when data changed (#2486) (#2500) (d155719)
  • Sidenav: correct Sidenav.Toggle styles (#2497) (b3168e4)
  • Sidenav: correct subtle Sidenav item hover styles (#2498) (2d853ee)
  • Sidenav: fix Sidenav.Toggle icon direction (#2495) (c490632)
  • Whisper: correct type declarations for ref (856877a)

Features

5.13.0 (2022-05-19)

Bug Fixes

  • listbox: fix broken keyboard navigation after filtering (#2491) (329623a)

Performance Improvements

5.12.0 (2022-05-12)

Features

5.11.0 (2022-05-05)

Bug Fixes

  • ButtonToolbar: change item gap to 10px (#2475) (d97810a)
  • Dropdown.Menu: fix expected highlight item when focus moving in (#2477) (b9fdea5)
  • Menubar: fix unhandled nullish value (#2478) (10d515d)

Features

  • DateRangePicker: expose calendars renderTitle (#2480) (4461e09)

5.10.0 (2022-04-28)

Features

  • FormControl: support shouldResetWithUnmount on <FormControl> (#2468) (69dee5e)

5.9.0 (2022-04-21)

Features

  • Dropdown: add open and defaultOpen props (#2442) (ab13d63)

5.8.1 (2022-04-15)

Bug Fixes

  • Cascader: infer value and onChange types from data (#2449) (2a8ef48)
  • Dropdown.Menu: de-highlight item when mouse leaving (#2443) (0d7b963)

5.8.0 (2022-04-07)

Bug Fixes

  • RangeSlider: fix RangeSlider progress bar misalignment (#2435) (e612ee3)
  • SelectPicker: call onSearch with empty string when closed (#2411) (c6e5d54)
  • Toggle: add missing properties to onChange event target (#2422) (5d1d5a2)

Features

  • Cascader: add renderSearchItem for customizing search result (#2427) (e1b1dbd)
  • DateRangePicker: export type definition (#2434) (76e4bc3)

5.7.1 (2022-04-02)

Bug Fixes

  • Checkbox: correct checked state in onChange callback (#2430) (c6819f9)

5.7.0 (2022-03-31)

Bug Fixes

  • Checkbox: set checked attribute on underlying input (#2419) (5ded872)
  • Dropdown: Fix menu item hover highlight (#2415) (59453cc)
  • Dropdown: Fixed Triggering onSelect twice on Dropdown Menu (#2414) (e09eee5)

Features

5.6.6 (2022-03-24)

Bug Fixes

  • InputNumber: make plus/minus buttons unfocusable (#2398) (ab4c721)
  • Uploader: expose missing public types (#2404) (5b1791f)

5.6.5 (2022-03-17)

Features

5.6.4 (2022-03-10)

Bug Fixes

5.6.3 (2022-03-05)

5.6.2 (2022-02-24)

Bug Fixes

  • Affix: fix left offset not update after position change (#2370) (eba3536)
  • typescript: remove not-null assertion operator (#2359) (5c07293)

5.6.1 (2022-02-17)

Bug Fixes

  • caretAs: fix DatePicker and DateRangePicker cannot replace caret (#2360) (1e619b2)
  • IconButton: infer addtional props from as prop (#2343) (3b6c25c)
  • Toaster: code breaks when toaster is in a useEffect (#2353) (d083fe2), closes #2336
  • useTimeout: fix callback not being called after timeout (#2349) (e82a12a)

5.6.0 (2022-02-10)

Bug Fixes

Features

5.5.2 (2022-01-27)

Features

  • Cascader: add parent node in serach result while parentSelectable (#2313) (e677bb6)

5.5.1 (2022-01-21)

Bug Fixes

  • Carousel: add a flex-wrap property on toolbar buttons (#2302) (a9a9113)
  • CheckTreePicker: fix CheckTreePicker label style (#2304) (07eb5ac)
  • DateRangePicker: fix month not selectable on calendar (#2312) (5199845)
  • Sidenav: hide focus ring when interacting with mouse (#2311) (9413bc9)

Performance Improvements

5.5.0 (2022-01-13)

Bug Fixes

  • Dropdown: infer toggleAs component props (#2299) (84611cc)
  • InputNumber: inherit html input attributes (#2298) (d7622ee)
  • MultiCascader: fix not rendering the count of selected values (#2289) (324e90c)
  • Tree: fix dragNode has cyclic object (#2281) (26cbaf2), closes #2268

Features

Performance Improvements

  • styles: simplify compound selectors over 4 levels (#2282) (304e8da)

5.4.4 (2022-01-06)

Bug Fixes

  • CheckTreePicker: fix root node style incorrect (#2279) (c09226e)
  • DatePicker: fix clear button not working (#2273) (649362a)
  • Dropdown: wrong submenu placement in RTL direction (#2280) (c3735c3)
  • Navbar: fix Whisper on Nav.Item within Navbar wrong positioning (#2274) (bd0f5e3), closes #2263

5.4.3 (2021-12-30)

Bug Fixes

  • Drawer: fix Drawer cannot be closed when backdrop is clicked (#2259) (a49ee03)
  • Picker: add ref to PickerComponentProps (#2261) (6e3e6c5)

5.4.2 (2021-12-24)

Bug Fixes

  • Affix: fix unupdated position after window size change (#2256) (61c7b27)
  • Modal: improve the mouse scrolling experience on Modal (#2254) (137d57e)
  • Navbar: fix dropdown submenu throwing error (#2250) (875130d)

5.4.1 (2021-12-23)

Bug Fixes

  • Dropdown: reduce padding in noCaret variant (#2236) (682f883)
  • Sidenav: fix missing highlight on selected dropdown items (#2216) (8f79d4a)
  • Sidenav: prevent text wrapping when collapsing (#2245) (4094233)
  • Toggle: dismiss uncontrolled input warning (#2243) (c4737d5)

Performance Improvements

  • Context: use useMemo to memozie the values returned to the Context Provider (#2244) (d25a719)
  • DatePicker: improve date grid a11y (#2220) (655178e)

5.4.0 (2021-12-17)

Bug Fixes

  • DatePicker,DateRangePicker: suppress depreated caretComponent warning (#2233) (3a79d48)
  • DateRangePicker: fix selecting ending date not working (#2217) (2136aa3)
  • Modal: fix Modal focus being reset on re-rendering (#2208) (a931b06)
  • Nav: fix incorrect Dropdown button background (#2227) (421de83)
  • Navbar: fix icon style in Navbar items (#2229) (560df61)
  • Overlay: overlay is rendered inside Modal by default (#2230) (4fac628)
  • Radio: fix unclickable without children (#2190) (cef5946)
  • SelectPicker: fix onChange argument type (#2193) (db0efa9)
  • Steps: step item not rendering number (#2202) (413880b)
  • Toggle: fix Toggle is still clickable in loading state (#2219) (e5661fd)
  • Tree: remove dragNode Element when drag node (#2185) (#2237) (f6e959f)

Features

Performance Improvements

  • CheckPicker: infer value and onChange types from data prop (#2228) (eb4f9a8)

5.3.0 (2021-12-10)

Bug Fixes

  • Breadcrumb: avoid separator key conflict with item key (#2186) (428529a)
  • Button: apply size from parent ButtonGroup (#2194) (85e9a21)
  • dts: fix declaration errors in typescript strict mode (#2130) (c31f080)
  • Modal: fix Modal not focused when opened (#2180) (383ea12)

Features

  • AvatarGroup: add support for AvatarGroup (#2195) (2647bea)
  • FormControl: allow explicit default value (#2182) (691ee38)
  • Tree,CheckTree: support showIndentLine on <Tree> and <CheckTree> (#2181) (720768e)

5.2.4 (2021-12-03)

Bug Fixes

  • Carousel: make onSelect prop optional (#2170) (c4d7a63)
  • DateRangePicker: fix DateRangePicker cannot switch am/pm (#2171) (4c55db9)
  • pickers: fix custom input in Picker cannot be focused (#2176) (8a94bd6)
  • Table: fix the column of grouping cannot be centered (#2168) (4fbe460)
  • tree: expose methods for tree that can scroll the list (#2178) (0a6f9ee)

5.2.3 (2021-11-26)

Bug Fixes

  • useElementResize: fix ResizeObserver being created repeatedly (#2161) (32e2fa7)
  • focus handler (#2154) (3b17fbc)
  • TagPicker: fix tag misplacement in plaintext mode (#2152) (6d32c71)

Performance Improvements

  • Menu: prevent uneccesary re-render when mouseove on menuitems (#2148) (dc06498)

5.2.2 (2021-11-19)

Bug Fixes

  • Dropdown: dropdown item panel not rendering content (#2128) (6631500)
  • IconButton: primary icon button with text wrong bg (#2141) (fde0cd4)
  • PanelGroup: missing border for nested panels (#2142) (225821f)

Performance Improvements

  • resize: improve the rerender performance of components after resize (#2135) (71648ab)

5.2.1 (2021-11-12)

Bug Fixes

  • CheckTree: root node indeterminate state error (#2124) (9dac0bc)
  • Sidenav: remove underline on hovered SidenavItem (#2118) (56f7c3a)
  • Sidenav: sidenav dropdown item accept as prop (#2120) (5386999)

5.2.0 (2021-11-05)

Bug Fixes

  • Button: Add button radius variable (#2106) (63a61c4)
  • less: palette function accepts rgb color (#2107) (92c2dc5)
  • can't perform a React state update on an unmounted component (#2105) (44439af)
  • dts: remove redundant generics on SyntheticEvent (#2099) (30ccd68)
  • fa_IR: trim long text of days to shorter ones (#2076) (a893b82)
  • FormControl: infer additional props from accepter (#2084) (5d39fed)
  • Input: correct value argument type for onChange callback (#2087) (7a4ff02)
  • Slider,RangeSlider: reverse marks order in vertical orientation (#2080) (07fdd09)

5.1.0 (2021-10-29)

Bug Fixes

  • DatePicker: fix DatePicker does not change value after pressing enter (#2055) (c775444)
  • DateRangePicker: fix DateRangePicker does not change value after pressing enter (#2056) (8e5db2e)
  • Dropdown.Item: item inside Nav not pass "as" (#2026) (34bfffd), closes #2025
  • Dropdown.Item: render custom element inside li (#2044) (a2e8a00)
  • Overlay: fix position offset inside container (#2049) (c27b19e)
  • Toggle: improve a11y (keyboard focusable + keyboard events) (#2032) (9fdfd52)

Features

  • locales: Created fa_IR locale to add support of Persian language in Rsuite locals (#2061) (14e5946)
  • MaskedInput: added support for MaskedInput to replace react-text-mask (#2054) (496416a)
  • Toggle: add loading prop (#2031) (28778de)

5.0.3 (2021-10-22)

Bug Fixes

5.0.2 (2021-10-15)

Bug Fixes

  • date-range-picker: fix date formatting error when typing (#1991) (f65f7f8)
  • pickers: clean button overlapping with value (#1984) (ec127dc)
  • table: fix the typescript type definition of Table (#1998) (8d00b8d), closes #1958
  • tag-picker: update TagPicker trigger props declare. (#1996) (27da381)
  • uploader: improve thumbnail rendering on file list (#1997) (68344d7)

5.0.1 (2021-10-09)

Bug Fixes

  • check-picker: fix onClean should not be triggered on Input (#1947) (5cb1685)
  • col: fix the missing className prefix in Col (#1967) (fc0e0af)
  • DateRangePicker: support time selection (#1882) (59779ef)
  • picker: [TS] fix the missing definition of size in Pickers (#1926) (6497698)
  • pickers: fix listProps not working on picker (#1962) (956ef12)
  • sidenav: accent dropdown icon w/ active item (#1913) (efa389c)
  • sidenav: Dropdown not expanding inside Sidenav (#1956) (07723cd)
  • sidenav: fix nav item not activated in collapsed sidenav (#1918) (59fe040)
  • slider: fix missing input in Slider and RangeSlider (#1968) (a35bd2b)

5.0.0 (2021-09-26)

Bug Fixes

  • DateRangePicker: support time selection (#1882) (59779ef)
  • picker: [TS] fix the missing definition of size in Pickers (#1926) (6497698)
  • sidenav: accent dropdown icon w/ active item (#1913) (efa389c)
  • sidenav: fix nav item not activated in collapsed sidenav (#1918) (59fe040)

5.0.0-beta.8 (2021-09-17)

Bug Fixes

  • date-picker: fix calendar header wrapping (#1907) (4cfc3af)
  • navbar,dropdown: unexpected focus submenu (#1908) (697aa3e)

Features

  • table: support rowSpan on <Table.Column> (#1909) (34a3a1f)

5.0.0-beta.7 (2021-09-09)

Bug Fixes

  • tag-input: adjust default value of the trigger to Enter (#1886) (4405b6b)

Features

  • carousel: support onSelect, onSlideEnd, onSlideStart on <Carousel> (#1889) (91e7b98)
  • date-picker: remove inline on <DatePicker> (#1892) (83a77df)
  • theme: added support for high-contrast theme (#1828)

5.0.0-beta.6 (2021-09-06)

Bug Fixes

  • drawer: fix incorrect styles in drawer title and drawer actions (#1874) (747a5f1)
  • list-item: fix unable to set HTML event on List.Item (#1863) (07578a2), closes #1859
  • sidenav: fix incorrect indent before dropdown toggle (#1856) (048da73)

Features

5.0.0-beta.5 (2021-08-18)

Bug Fixes

  • date-picker: fix DatePicker cannot be used as controlled (#1844) (3d6c035), closes #1842

Features

  • dropdown: support renderToggle on <Dropdown> (#1843) (99c1925)

5.0.0-beta.4 (2021-08-16)

Bug Fixes

  • date-picker: fix AM/PM display incorrect issue when switching hours (#1823) (110715e)
  • dropdown-menu: remove unrecognizable activeKey from dom (#1827) (d578b5b)
  • locales: fix the undefined problem of Locale (#1834) (bf35a23)
  • refactor(styles): change body background in light theme (#1840)

BREAKING CHANGES

  • build(deps): bump rsuite-table from 5.0.0-alpha.5 to 5.0.0-alpha.8 (#1836)
  • chore: use proxyDirectories to build esm/cjs (#1830)

5.0.0-beta.3 (2021-08-08)

Bug Fixes

  • pagination: export type definition of PaginationProps (#1817) (80c7d9e)
  • sidenav: trigger <Nav onSelect> on click <Nav.Item> (#1815) (cae171d)

5.0.0-beta.2 (2021-08-03)

Bug Fixes

  • check-picker: fix unable to clear value when pressing Backspace (#1812) (1534174)
  • nav: trigger onSelect on <Nav> when clicking <Nav.Item> (#1797) (3fc99c4)
  • CheckTreePicker and TreePicker search problems (#1808) (2c5e651), closes #1577
  • message: improve close icon style (#1807) (4d1bf3f)
  • typescript: export props of all components (#1803) (a4edeba)

Features

  • CustomProvider: support theme on <CustomProvider> (#1798) (cb5794c)

5.0.0-beta.1 (2021-07-23)

Bug Fixes

  • calendar: fix the date on the calendar as controlled and remove timezone (#1781) (70e323d)
  • cascader: adjust the rendering status of async loaded child nodes (#1764) (ae41a18)
  • cascader: fix data not controlled on MultiCascader (#1747) (593adc5)
  • check-tree-picker: onChange does't return the correct value (#1743) (b34a919)
  • dropdown-item: close <Dropdown> inside <Navbar> on click its item (#1791) (cc01a34)
  • navigation: improve accessibility of nav components (#1792) (45468bd)
  • picker: picker should not focus when it is disabled (#1782) (6640c58)
  • picker: update the position after the overlay size is changed (#1780) (6366c36)
  • styles: enable dark mode by default (#1776) (13420e3)
  • add less plugins to output lib dir, fix #1767 (#1770) (7a83699)
  • use-controlled: value doest't change when controlledValue changed (#1742) (682eb2b)

5.0.0-alpha.9 (2021-06-15)

Bug Fixes

  • cascader: fix search result row height (#1717) (94696eb)
  • date-picker: correct the style of non-current month dates (#1732) (90058f8)
  • datepicker: fix gap between date cells (#1726) (03a7604)
  • input-picker: fix extra height in disabled state (#1718) (dd56301)
  • input-picker: fix InputPicker value not rendering when plaintext (#1690) (fcb5995)
  • keyboard-event: replace the deprecated keyCode with key (#1691) (2f7a6d1)
  • list: wrong position when auto scrolling (#1687) (6b387f0)
  • modal: remove extra margins in full-size modal (#1699) (d231cc6)
  • navbar: fix navbar dropdown hover text color (#1719) (44230fd)
  • position: fix the exception that occurs when overlay is unmount (#1714) (9a29a5a)
  • radio: fix checked radio style in disabled state (#1708) (62a4dc7)
  • radio: fix disabled radio hover style (#1709) (cdf0d09)
  • timeline: fix incorrect spacing around axis in alternate alignment (#1731) (b0e2f18)
  • MultiCascader data cann't be controlled (#1696) (7f9b03b)

Features

BREAKING CHANGES

  • deprecate Navbar.Header and Navbar.Body
  • refactor(styles): re-org Sidenav styles
  • refactor(styles): re-org Pagination styles
  • refactor(styles): re-org Button styles
  • refactor(styles): re-org InputGroup styles
  • refactor(styles): re-org InputNumber styles
  • refactor(styles): re-org AutoComplete styles
  • refactor(styles): re-org SelectPicker styles
  • refactor(styles): re-org CheckPicker styles
  • refactor(styles): re-org Checkbox styles
  • refactor(styles): re-org Radio styles
  • refactor(styles): re-org Toggle styles
  • refactor(styles): re-org Rate styles
  • refactor(styles): re-org Slider styles
  • refactor(styles): re-org Uploader styles
  • refactor(styles): re-org Cascader styles
  • refactor(styles): remove iconfont related styles
  • refactor(styles): re-org Avatar styles
  • refactor(styles): re-org Badge styles
  • refactor(styles): re-org Tag styles
  • refactor(styles): re-org Carousel styles
  • refactor(styles): re-org ButtonToolbar styles
  • refactor(styles): re-org ButtonGroup styles
  • refactor(styles): re-org Animation styles
  • refactor(styles): re-org Panel styles
  • refactor(styles): re-org List styles
  • refactor(styles): re-org Timeline styles
  • refactor(styles): re-org Table styles
  • refactor(styles): re-org CloseButton styles
  • refactor(styles): re-org Modal and Drawer styles
  • refactor(styles): re-org IconButton styles
  • refactor(styles): re-org Form styles
  • refactor(styles): re-org toaster styles
  • refactor(styles): re-org Message styles
  • docs(theme): add rs-theme- classes on container element
  • refactor(theme): use rs-theme- classes to determine color theme
  • refactor(styles): remove unused files in Ripple
  • refactor(styles): re-org CheckTree and CheckTreePicker styles
  • refactor(styles): re-org Picker styles
  • refactor(styles): re-org Tree and TreePicker styles
  • refactor(styles): re-org InputPicker styles
  • refactor(styles): re-org Calendar styles
  • refactor(styles): re-org DatePicker and DateRangePicker styles
  • refactor(styles): unify theme styles
  • refactor(button): alter default button background color
  • refactor(styles): remove unused less variables
  • docs: use unified themes
  • refactor(styles): split themes mixins
  • refactor(styles): split non-common keyframes
  • refactor(styles): re-order imports
  • refactor(styles): remove unused global utility classes
  • refactor(styles): remove unused common mixins
  • refactor(styles): remove keyframe.less
  • refactor(styles): rename core.less to common
  • refactor(styles): transform palette hack mixin into less plugin
  • refactor(styles): fix palette plugin output type
  • test(styles): fix button style tests
  • test(styles): fix missing imports that prevent tests running
  • fix(styles): fix primary border color in default theme
  • chore(deps): re-generate package-lock.json
  • style: prettier format
  • chore(deps): downgrade eslint-plugin-react to 7.20.3 to avoid issues
  • style: upgrade stylelint and resolve violations
  • refactor(styles): simplify ripple related styles
  • refactor(styles): re-org button styles in different states
  • refactor(styles): re-org icon-button in different states
  • refactor(styles): remove .rs-btn-default class
  • refactor(styles): re-org Button sizing mixins
  • refactor(styles): re-org Ripple styles and mixins
  • docs: fix docs.css missing from docs app
  • chore(stylelint): add stylelint-config-prettier
  • docs: add docs for less plugins
  • refactor(styles): re-org primary and secondary palettes
  • refactor(styles): remove unused color variables in dark theme
  • refactor(styles): split theme palette and functional colors
  • refactor(styles): remove direct use of gray/highlight levels
  • refactor(styles): fix icon button in primary appearance
  • refactor(styles): remove redundant color variables from dark theme
  • build: omit javascriptEnabled option for less
  • chore: eslint ignore less plugins
  • refactor(styles): prefix css variables with rs instead of rs-color
  • refactor(styles): re-org color themes inclusion
  • refactor(styles): re-org variable declarations
  • docs(button): fix custom combination example
  • refactor(nav): remove margins between nav items
  • refactor(styles): replace stateful color variables with semantic colors
  • refactor(styles): separate color variables for light/dark modes
  • feat(styles): add variable for toggling dark mode inclusion
  • fix(styles): fix styling test failures
  • test(autocomplete): fix test failures
  • test(cascader): fix test failures due to dom change
  • test(inputpicker): fix test failures due to dom change
  • test(picker): fix test failures due to dom change
  • test(selectpicker): fix test failures due to dom change
  • chore: skip checking style existence
  • build: fix build scripts for stylesheets
  • fix(styles): fix incorrect casing in importing paths
  • docs: fix button heights in toolbar
  • docs: fix button style in codeview toolbar
  • fix(styles): remove dark mode styles when enable-dark-mode is false
  • docs: add docs for dark mode
  • docs(customize): replace deprecated variables with new ones
  • fix(message): re-org Message styles
  • deprecate Drawer.Footer in favor of new Drawer.Actions
  • feat(drawer): improve close button placement and appearance
  • feat(drawer): deprecate Drawer.Footer replaced with Drawer.Actions
  • fix(drawer): fix drawer body overflow height
  • style(drawer): remove redundant comments
  • fix(drawer): remove classes incorrectly assigned to close button
  • fix(radiogroup): fix radio group picker width

5.0.0-alpha.8 (2021-05-17)

Bug Fixes

  • cascader: fix childrenKey property not work when searching(#1568) (#1666) (c5f3fc6)
  • drawer: remove height on Drawer body (#1683) (759fd69)
  • input-picker: fix InputPicker can select values in readOnly mode (#1674) (7e5d02b)
  • treePicker & CheckTreePicker (ec88694)

Features

  • cascader: add layer parameter in renderMenu callback (#1681) (1c6b1e0)
  • nav-item: support tooltip on NavItem (#1680) (f25d569)
  • Whisper: added support for trigger prop value contextMenu on Whisper (491be3a)

5.0.0-alpha.7 (2021-05-11)

Bug Fixes

  • lgtm: fix vulnerabilities in static code scanning using lgtm (#1651) (77d04a7)
  • overlay: update the overlay to the correct position (#1654) (8148b7a)
  • typescript: fix incorrect definition of Typescript (#1656) (87c5f3d)

Features

  • inputpicker: support onCreate on InputPicker and TagPicker (#1645) (5f33fe9)
  • multi-cascader: support onCheck on MultiCascader (#1648) (0088a29)

5.0.0-alpha.6 (2021-05-07)

Bug Fixes

  • cascader: fixed the option not re-rendering after data update (#1608) (6a83064), closes #1599
  • customprovider: integrate the locale of date-fns in CustomProvider (#1637) (1817430), closes #1636
  • pickers: Fixed the inability to pass the type check when the labelKey and valueKey of the pickers are changed. (#1589) (ed1bea6)
  • typescript: fix incorrect definition of Typescript (#1640) (73bbe88), closes #1633

Features

  • hooks: add the useWillUnmount hook and apply it to Modal (#1607) (73e3948)

5.0.0-alpha.5 (2021-03-19)

Bug Fixes

  • daterangepicker: modify the character prop to be optional (#1518) (6b77e52)
  • inputpicker: fix the input does not work when focused by keyboard (b2dc612)
  • inputpicker: inputPicker should clear search keywords when closed (679edc3)
  • modal: fix input is not allowed to input text in Modal (#1579) (f4ec497), closes #1570
  • overlaytrigger: rename child to root in OverlayTrigger instance (05ce0ec)
  • pickers: picker should not be interactive during animation exit (1f657b7)
  • rangeslider: fix RangeSlider style problem (cfaa93e)
  • table: change Table locale prop to optional (#1581) (ca15531)
  • tree: fix spin icon does not display when Tree is loaded async (#1535) (0294a43)
  • uploader: fixed the status icon not showing during upload (#1547) (8f24c69)

Features

  • form: support for data verification of complex object structure (#1558) (d5b23f4)
  • pagination: added for support layout on Pagination (#1533) (9713cd5)
  • whisper: support onClose on the speaker prop of Whisper (4ecad64)

5.0.0-alpha.4 (2021-02-23)

Bug Fixes

  • babel: fix the problem that commonjs import default is undefined (#1514) (9855f54)
  • daterangepicker: delete duplicate type definitions (#1513) (26c9283)
  • input-group: fix InputGroup size misalignment when inside (#1474) (ca0f90f)
  • radio: fixed the color of Radio in active state (#1475) (bc9a3dd)
  • rtl: fixed the docs not work when using rtl (#1501) (9ee8ce3)
  • table: fixed unhandled scroll bar width when Cell is fixed on right (#1486) (7e9ccc1)
  • typos: fix typos in the docs (#1502) (15e9170)

Features

  • locales: add translations for German (#1495) (b71ed41)
  • uploader: support file async check on Uploader (#1509) (4726c5a)

5.0.0-alpha.3 (2021-01-23)

Bug Fixes

  • divider: set aria-orientation on Divider (#1457) (fe46e4d)
  • picker: fixed the non-unique key in the Picker option when groupBy (#1460) (5ca0fa0)
  • tree: fix className of Tree and CheckTree (#1456) (de79cbf)
  • whisper: fix overlay jittering when the cursor is hovered (#1459) (d29e785)

5.0.0-alpha.2 (2021-01-05)

Bug Fixes

  • calendar: fix the issue of disabled date styles in Calendar (#1424) (13b64be)
  • cascader: fix icon style in Cascader (#1426) (3076eb8)
  • check-picker: fixed the group icon not showing in CheckPicker (#1422) (082a648)
  • formcontrol: improve the accessibility of FormControl (#1433) (c7855d4)
  • pickers: fix the missing value on input in picker (#1430) (7d06531)
  • rate: fix the half-ratings style of Rate (#1423) (f064f48)
  • select-picker: fix SelectPicker not re-render when data is updated (#1421) (0eb2a65)
  • uploader: fix the style of Uploader in plaintext (#1427) (dfb98ee)

Performance Improvements

  • date-fns: use date-fns-tz instead of date-fns-timezone (#1413) (1747d27)

5.0.0-alpha.1 (2020-12-24)

Bug Fixes

  • breadcrumb: update locales of Breadcrumb (30a1550)
  • checkpicker: fix value error problem when keyboard interaction (#1332) (ea5f91c)
  • daterangepicker: fix the issue of DateRangePicker closing delay (9fc40ee)
  • DateRangePicker: 修复选择时间时面板收起的问题 & prettier code (#1330) (afd0b7e)
  • form-controls: adjust the style of the plain text of form controls (#1405) (cca782f)
  • icon: adjust the dependent icons in the component (70fdddb)
  • icon: fix icon-related style issues (b0ebaba)
  • icon-button: fix IconButton style error when disabled (ecbf4e5)
  • input-group: adjust button elements in input-group (#1406) (14acbab)
  • list: improve List (0eb95b0)
  • modal: fix ModalManager uncontrollable (#1335) (26834da)
  • pickers: fixed picker will select children when set invalid value (#1336) (dd99886)
  • popover: set shadow to popover component (#1360) (94c6851)
  • tagpicker: fix tagpicker rendervalue styles (#1376) (4fdf09d)
  • tree: revese Left and Right Arrow event in rtl (#1337) (cfae655)
  • tree-picker: fixed the icon problem in TreePicker (#1382) (ba78f3c)
  • v4: sync the bugs fixed in v4 (#1380) (9053982)
  • 🐛 修复非法传递到 DOM 节点上的问题 (#1268) (aedaae1)
  • 🐛 修正 Rate 笔误 (#1230) (83d1cee)
  • fix typescript type definition (#1366) (9bfb445)
  • fixed document sidenav icon (3881e44)
  • form method cleanErrorForFiled renamed into cleanErrorForField (#1236) (1aaaab0)
  • ISO week format on calendar panel (666bc2b)
  • tag-picker: fix tag picker styles issue (#1167) (4f4e88b)

Features

  • slider: support onChangeCommitted on Slider and RangeSlider (#1404) (fca8c86), closes #1321
  • support focus on form controls (#1391) (820a31b)
  • cascader: support keyboard interaction on Cascader (#1339) (252afdf)
  • daterangepicker: support input and mask on DateRangePicker and DatePicker (#1368) (4b47e09)
  • icons: update icon list (#1363) (a9b584f)
  • rootPrefix supports compound parameters (268aef9)
  • replace icon component (#1359) (6ad16b9)
  • datepicker: support keyboard input on DatePicker (#1350) (36e3268)
  • form: support plaintext on all form controls (#1328) (a26dfc6)
  • slider: support keyboard interaction on Slider and RangeSlider (#1324) (8b1f6cf)
  • improve the accessibility of Nav (278696e)
  • toaster: add support for toaster (#1246) (41b86db)

Performance Improvements

  • improve accessibility with ARIA (#1323) (24b4379)
  • remove deprecated code (1ef99b1)
  • selectpicker: adjust the dependency of Picker (1fc5f24)