-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
chore(test): update testing libraries and refactor #3886
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
WalkthroughThis pull request includes various modifications across multiple files, primarily focusing on enhancing the testing approach for components by adopting the Changes
Possibly related PRs
Suggested reviewers
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
Documentation and Community
|
@@ -18,7 +18,7 @@ module.exports = { | |||
], | |||
}, | |||
transformIgnorePatterns: ["[/\\\\]node_modules[/\\\\].+\\.(js|jsx)$"], | |||
setupFilesAfterEnv: ["@testing-library/jest-dom/extend-expect", "./scripts/setup-test.ts"], | |||
setupFilesAfterEnv: ["@testing-library/jest-dom", "./scripts/setup-test.ts"], |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
extend-expect
has been removed.
see: reactjs - Cannot find module '@testing-library/jest-dom/extend-expect' from 'jest.setup.js' - Stack Overflow
@@ -30,7 +30,7 @@ describe("Accordion", () => { | |||
|
|||
expect(() => wrapper.unmount()).not.toThrow(); | |||
|
|||
expect(spy).toBeCalledTimes(0); | |||
expect(spy).toHaveBeenCalledTimes(0); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
toBeCalledTimes
is deprecated.
see: jestjs/jest#13164
await act(async () => { | ||
await user.click(button); | ||
}); | ||
await user.click(button); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The warning no longer appears without wrapping await user.click
in act
.
This issue was caused by multiple versions of @testing-library/dom
being present.
see: testing-library/user-event#906 (comment)
data-testid="select-1" | ||
items={itemsData} | ||
{...register("withDefaultValue")} | ||
aria-label="select-1" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A warning from react-aria was shown when aria-label
was missing.
@@ -1,4 +1,4 @@ | |||
import {renderHook} from "@testing-library/react-hooks"; | |||
import {renderHook} from "@testing-library/react"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Importing from @testing-library/react-hooks
was causing a warning.
see: testing-library/react-hooks-testing-library#832 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 1
🧹 Outside diff range and nitpick comments (38)
plop/hook/__tests__/{{hookName}}.test.tsx.hbs (1)
Line range hint
3-11
: Consider enhancing the test templateWhile the basic structure is in place, the template could be improved to encourage more comprehensive testing.
Here are some suggestions to enhance the template:
- Add a comment explaining the purpose of the hook and what should be tested.
- Include examples of common test cases for hooks (e.g., initial state, state updates, side effects).
- Add a reminder to test error cases if applicable.
Here's an example of how you could improve the template:
import {renderHook, act} from "@testing-library/react"; import { {{camelCase hookName}} } from "../src"; describe("{{camelCase hookName}}", () => { // Describe the purpose of the hook and what it should do it("should initialize with correct default values", () => { const {result} = renderHook(() => {{camelCase hookName}}()); // Add assertions for initial state }); it("should update values correctly", () => { const {result} = renderHook(() => {{camelCase hookName}}()); act(() => { // Perform actions that should update the hook's state }); // Add assertions for updated state }); // Add more test cases as needed it("should handle errors gracefully", () => { // Test error cases if applicable }); });This enhanced template provides a more structured starting point for comprehensive hook testing.
packages/hooks/use-clipboard/__tests__/clipboard.test.tsx (1)
Line range hint
26-33
: Test is compatible, but consider modernizing.The existing test remains compatible with the new import. However, to align with modern testing practices and improve consistency with other updated tests in the project, consider the following suggestions:
- Replace
act
withuserEvent
for simulating user actions.- Use
waitFor
to handle asynchronous operations instead of relying onact
.Here's a potential refactor:
import {renderHook} from "@testing-library/react"; import userEvent from "@testing-library/user-event"; import {waitFor} from "@testing-library/dom"; // ... (rest of the imports and setup) it("should copy text to clipboard", async () => { jest.spyOn(navigator.clipboard, "writeText"); const user = userEvent.setup(); const {result} = renderHook(() => useClipboard({timeout: 0})); await user.click(result.current.copy); await waitFor(() => { expect(navigator.clipboard.writeText).toHaveBeenCalledWith("test"); }); });This refactor assumes that
copy
is a function that can be triggered by a click event. Adjust as necessary based on the actual implementation ofuseClipboard
.scripts/setup-test.ts (1)
Line range hint
7-22
: Consider removing deprecated methods from window.matchMedia mockThe
window.matchMedia
mock implementation includesaddListener
andremoveListener
methods, which are marked as deprecated. To future-proof the code, consider removing these methods and relying solely on the standardaddEventListener
andremoveEventListener
methods.Here's a suggested update:
if (typeof window.matchMedia !== "function") { Object.defineProperty(window, "matchMedia", { enumerable: true, configurable: true, writable: true, value: jest.fn().mockImplementation((query) => ({ matches: false, media: query, onchange: null, - addListener: jest.fn(), // Deprecated - removeListener: jest.fn(), // Deprecated addEventListener: jest.fn(), removeEventListener: jest.fn(), dispatchEvent: jest.fn(), })), }); }packages/components/card/__tests__/card.test.tsx (1)
27-35
: LGTM: Test case updated to use userEventThe modifications to this test case are well-implemented:
- The test is now correctly marked as async.
- userEvent is properly set up and used to simulate the click event.
- The outdated
act
wrapper and directbutton.click()
call have been removed.These changes align with modern testing best practices and provide a more realistic simulation of user interactions.
Consider adding a comment explaining why
userEvent
is preferred over the previous method, to help future maintainers understand the rationale behind this change.packages/hooks/use-ref-state/__tests__/use-ref-state.test.tsx (1)
Line range hint
7-55
: Approve existing tests with a suggestion for improvementThe existing tests for the
useRefState
hook are comprehensive and well-structured. They cover various scenarios including initial state, functional updates, and reference tracking. The use of bothrenderHook
for isolated hook testing andrender
for component integration testing is a good practice.To improve clarity and maintainability, consider adding descriptive comments before each test case to explain the specific behavior being tested.
Here's an example of how you could add comments:
describe("useRefState", () => { // Test initial state and basic update it("should work correctly", async () => { // ... existing test code ... }); // Test functional initial state it("functional initial mode should be supported", () => { // ... existing test code ... }); // Test functional update it("functional update mode should be supported", async () => { // ... existing test code ... }); // Test ref tracking latest value it("only the ref should track latest value", () => { // ... existing test code ... }); });packages/components/chip/__tests__/chip.test.tsx (1)
52-60
: LGTM: Improved test case with userEventThe refactoring of this test case is well done. Using
userEvent
provides a more realistic simulation of user interactions, which can lead to more reliable tests. The async/await pattern is correctly implemented, which is necessary foruserEvent
operations.A minor suggestion for improvement:
Consider adding a short comment explaining why the test is now async. This can help other developers understand the reasoning behind the change. For example:
// Using async/await for userEvent operations it("should call onClose when close button is clicked", async () => { // ... rest of the test code });packages/components/button/__tests__/button.test.tsx (2)
Line range hint
14-26
: Consider reviewing unchanged tests for potential improvementsWhile the changes made are excellent, I noticed that several tests remain unchanged. Although these tests don't directly involve user interactions, it might be worth reviewing them to see if they could benefit from the new testing approach or if any consistency improvements could be made.
For example, tests like "should renders with start icon" and "should renders with end icon" might benefit from assertions that check not just for the presence of elements, but also their correct positioning or behavior when interacted with.
Also applies to: 47-74
Line range hint
1-74
: Overall excellent update with room for further improvementsThis update significantly improves the Button component test suite by introducing userEvent for more realistic user interaction simulation. The changes align well with modern testing practices and make the tests more robust.
Key improvements:
- Introduction of userEvent for click simulations.
- Proper handling of asynchronous behavior in tests.
- Removal of unnecessary
act
wrappers.For future iterations, consider:
- Reviewing the unchanged tests to see if they can benefit from the new testing approach.
- Adding more complex interaction scenarios to fully leverage userEvent capabilities.
- Ensuring consistent use of async/await across all relevant tests.
These changes set a good foundation for further enhancements to the test suite.
packages/components/modal/__tests__/modal.test.tsx (3)
29-29
: Approved: Improved assertion methodThe update from
toBeCalledTimes(0)
totoHaveBeenCalledTimes(0)
is a positive change. It aligns with Jest's recommended assertion methods and improves readability.Consider updating similar assertions throughout the codebase for consistency. You can use the following script to identify other occurrences:
#!/bin/bash # Description: Find occurrences of toBeCalledTimes in test files echo "Files using toBeCalledTimes:" rg --type typescript --type tsx 'toBeCalledTimes' -g '**/__tests__/**'
72-72
: Approved: Improved user interaction simulationThe changes to make the test function async and use
userEvent
for click simulation are excellent improvements. This approach provides a more accurate representation of user interactions and better handles asynchronous behavior.Consider updating similar test cases throughout the test suite to use this improved approach. Here's a script to identify potential candidates for refactoring:
#!/bin/bash # Description: Find potential candidates for userEvent refactoring echo "Files potentially using fireEvent for click events:" rg --type typescript --type tsx 'fireEvent\.click' -g '**/__tests__/**'To refactor, follow this pattern:
- Make the test function async.
- Replace
fireEvent.click(element)
with:const user = userEvent.setup(); await user.click(element);- Ensure to update assertions that may need to be awaited after the user action.
Also applies to: 87-89
Line range hint
109-110
: Suggestion: Update keyboard event simulation to use userEventFor consistency with the other changes and to improve the accuracy of user interaction simulation, consider updating the "should hide the modal when pressing the escape key" test to use
userEvent
instead offireEvent
.Here's how you can refactor this test:
-it("should hide the modal when pressing the escape key", () => { +it("should hide the modal when pressing the escape key", async () => { const onClose = jest.fn(); const wrapper = render( <Modal isOpen onClose={onClose}> <ModalContent> <ModalHeader>Modal header</ModalHeader> <ModalBody>Modal body</ModalBody> <ModalFooter>Modal footer</ModalFooter> </ModalContent> </Modal>, ); const modal = wrapper.getByRole("dialog"); - fireEvent.keyDown(modal, {key: "Escape"}); + const user = userEvent.setup(); + await user.keyboard('{Escape}'); expect(onClose).toHaveBeenCalledTimes(1); });This change will make the test more consistent with the other updated tests and provide a more accurate simulation of a user pressing the Escape key.
packages/components/navbar/__tests__/navbar.test.tsx (3)
Line range hint
72-97
: LGTM: Improved test case using userEventThe changes in this test case are appropriate and align with best practices:
- The test is now asynchronous, which is correct when using
userEvent
.user.click()
provides a more realistic simulation of user interaction compared to directly triggering a click event.- The expectation now checks for zero calls to the spy, which suggests that previous errors have been resolved.
Consider updating the test description to better reflect its purpose:
- it("should not throw error after toggle click", async () => { + it("should not log any errors when toggle is clicked", async () => {This description more accurately reflects what the test is checking.
Line range hint
129-147
: LGTM: Correct update to use userEventThe changes in this test case are appropriate and align with best practices:
- The test is now correctly marked as asynchronous to accommodate
userEvent
.user.click()
is used to simulate the user interaction, which is more realistic than directly triggering a click event.Consider enhancing the assertion to be more specific:
- expect(onChange).toHaveBeenCalled(); + expect(onChange).toHaveBeenCalledTimes(1);This change would make the test more precise by ensuring the
onChange
callback is called exactly once.
Line range hint
151-171
: Consider updating the last test case for consistencyWhile the changes made to the file are good and consistent across the updated test cases, the last test case "should render correctly with custom toggle icon" remains unchanged. For consistency and to fully leverage the benefits of
userEvent
, consider updating this test case as well.Here's a suggested update:
- it("should render correctly with custom toggle icon", () => { + it("should render correctly with custom toggle icon", async () => { const wrapper = render( <Navbar data-testid="navbar-test"> <NavbarMenuToggle data-testid="navbar-toggle-test" icon={<span>test</span>} /> <NavbarContent data-testid="navbar-content-test"> <NavbarItem>Dashboard</NavbarItem> <NavbarItem>Team</NavbarItem> <NavbarItem>Deployments</NavbarItem> <NavbarItem>Activity</NavbarItem> <NavbarItem>Settings</NavbarItem> </NavbarContent> </Navbar>, ); const toggle = wrapper.getByTestId("navbar-toggle-test"); + await user.click(toggle); expect(toggle).toHaveTextContent("test"); });This change would make the test consistent with the others and potentially catch any issues that might only appear after user interaction.
package.json (1)
76-80
: Summary of testing library updatesThis PR includes significant updates to several testing-related dependencies, including major version upgrades for @testing-library/dom, @testing-library/jest-dom, @testing-library/react, and Jest. These updates align with the PR objective of updating testing libraries and may introduce new features, improved performance, and potentially breaking changes.
To ensure a smooth transition:
- Review the changelogs for all updated dependencies to understand new features and breaking changes.
- Update your test suite to accommodate any API changes or deprecations.
- Take advantage of new testing capabilities introduced in these versions.
- Run your entire test suite and address any failures or warnings that may arise from these updates.
- Consider updating your CI/CD pipeline to use the new versions of these testing libraries.
These updates provide an opportunity to improve your testing infrastructure. Consider:
- Refactoring tests to use new, more efficient APIs.
- Implementing new testing patterns enabled by these updates.
- Reviewing and updating your testing best practices documentation.
Also applies to: 116-117
packages/components/table/__tests__/table.test.tsx (1)
Line range hint
219-246
: Remove unnecessaryact
wrapperThe change to make the test function async is correct. However, the
act
wrapper around the user event is unnecessary when using@testing-library/user-event
. Theuser.click()
method already wraps the interaction inact
internally.Consider simplifying the test by removing the
act
wrapper:it("should set the proper aria-sort on an ascending sorted column header", async () => { // ... (previous code remains the same) expect(column).toHaveAttribute("aria-sort", "none"); await user.click(column); expect(column).toHaveAttribute("aria-sort", "ascending"); });This change will make the test more concise while maintaining its functionality.
packages/components/checkbox/__tests__/checkbox.test.tsx (3)
9-13
: LGTM: Good setup for user eventsThe addition of a
user
variable and its setup in abeforeEach
block is a good practice. It ensures consistent user event simulation across all tests and prevents potential side effects between tests.Consider adding a corresponding
afterEach
block to clean up the user event setup, although it's not strictly necessary:afterEach(() => { user.clear(); // If such a method exists });This would ensure complete isolation between tests, although the current implementation is already good.
63-63
: LGTM: Improved async handling and modern Jest syntaxThe updates in this test case are good improvements:
- Making the test async and using
await user.click()
ensures proper handling of the simulated user interaction.- Updating the assertion to
toHaveBeenCalled()
aligns with modern Jest best practices.Consider adding an assertion to check the argument passed to the
onChange
callback:expect(onChange).toHaveBeenCalledWith(true);This would provide an additional layer of verification for the checkbox's behavior.
Also applies to: 71-71, 73-73
115-115
: LGTM: Improved async handling and modern Jest syntaxThe updates in this test case are good improvements:
- Making the test async and using
await user.click()
ensures proper handling of the simulated user interaction.- Updating the assertion to
toHaveBeenCalled()
aligns with modern Jest best practices.Consider adding an assertion to check the argument passed to the
onChange
callback:expect(onChange).toHaveBeenCalledWith(true);This would provide an additional layer of verification for the controlled component's behavior.
Also applies to: 141-141, 143-143
packages/components/popover/__tests__/popover.test.tsx (5)
Line range hint
39-55
: LGTM: Updated test case to use userEventThe changes correctly implement userEvent for simulating user interactions, improving the test's reliability. The test case is now properly marked as async, and the assertion has been updated for better readability.
Consider adding a comment explaining why
spy
is expected to be called 0 times, as it might not be immediately clear to other developers.
Line range hint
196-205
: LGTM: Updated test case to use userEvent for multiple popoversThe changes correctly implement userEvent for simulating user interactions with multiple popovers. This improves the test's reliability and better reflects real user interactions.
Consider updating the test case description to include "async" for consistency with other test cases.
231-231
: LGTM: Updated test case to use userEvent for opening dialogThe change correctly implements userEvent for simulating the user interaction to open the popover. This improves the test's reliability and better reflects real user behavior.
Consider updating the test case description to include "async" for consistency with other test cases.
257-262
: LGTM: Updated test case to use userEvent for opening and closing popoverThe changes correctly implement userEvent for simulating user interactions to open and close the popover. This improves the test's reliability and better reflects real user behavior.
Consider the following improvements:
- Remove the
act
wrapper as it's not necessary when usinguserEvent
.- Update the test case description to include "async" for consistency with other test cases.
- Remove the comments "open popover" and "close popover" as they're redundant with the clear
user.click(trigger)
calls.Here's a suggested refactor:
it("should restore focus on trigger when closed", async () => { const wrapper = render( <Popover> <PopoverTrigger> <Button data-testid="popover-trigger">Open popover</Button> </PopoverTrigger> <PopoverContent> <p>This is the content of the popover.</p> </PopoverContent> </Popover>, ); const trigger = wrapper.getByTestId("popover-trigger"); await user.click(trigger); await user.click(trigger); expect(trigger).toHaveFocus(); });
283-297
: LGTM: Updated test case to use userEvent for nested popover and select interactionsThe changes correctly implement userEvent for simulating user interactions with the popover and nested select. The added comments improve readability, and the use of
await user.click()
better reflects real user behavior.Consider updating the test case description to include "async" for consistency with other test cases.
packages/components/radio/__tests__/radio.test.tsx (2)
Line range hint
103-118
: LGTM with a minor suggestion: Improved onValueChange testingThe updates to this test case are good:
- The test is correctly marked as async.
- The use of
userEvent.click()
is consistent with other tests.- The
toHaveBeenCalledWith()
assertion provides more specific checking.These changes improve the test's reliability and specificity.
Consider adding an assertion to check that
onValueChange
was called exactly once:expect(onValueChange).toHaveBeenCalledTimes(1);This would ensure that the callback is not accidentally triggered multiple times.
Line range hint
178-206
: LGTM with a minor suggestion: Improved controlled value testingThe updates to this test case are good and consistent with other changes:
- The test is correctly marked as async.
- The use of
userEvent.click()
provides a more realistic user interaction simulation.- The
toHaveBeenCalled()
assertion is consistent with other tests.These changes improve the test's reliability and consistency with the rest of the suite.
Consider enhancing the assertion to check the specific value passed to
onValueChange
:expect(onValueChange).toHaveBeenCalledWith("2");This would provide a more thorough check of the component's behavior.
packages/components/date-input/__tests__/date-input.test.tsx (2)
205-211
: LGTM: Simplified test code by removing unnecessaryact
wrappersRemoving the
act
wrappers arounduser.tab()
calls simplifies the test code without changing its behavior. This change is consistent with modern testing practices and the rest of the file.For consistency, consider using
await user.tab()
for the second tab action as well:await user.tab(); expect(segments[0]).toHaveFocus(); // ... other assertions ... -await user.tab(); +await user.tab(); expect(segments[1]).toHaveFocus();This minor change would make the test more consistent in its use of
await
for user actions.
254-254
: LGTM: Simplified test code by removing unnecessaryact
wrapperRemoving the
act
wrapper around theuser.tab()
call simplifies the test code without changing its behavior. This change is consistent with modern testing practices and the rest of the file.For further improvement and consistency, consider replacing the
fireEvent
calls withuserEvent
methods:await user.tab(); expect(segments[0]).toHaveFocus(); expect(onKeyDownSpy).not.toHaveBeenCalled(); expect(onKeyUpSpy).toHaveBeenCalledTimes(1); -if (document.activeElement) { - fireEvent.keyDown(document.activeElement, {key: "ArrowRight"}); - fireEvent.keyUp(document.activeElement, {key: "ArrowRight"}); -} +await user.keyboard('{ArrowRight}'); expect(segments[1]).toHaveFocus(); expect(onKeyDownSpy).toHaveBeenCalledTimes(1); expect(onKeyUpSpy).toHaveBeenCalledTimes(2);This change would make the test more consistent in its use of
userEvent
for all user interactions.packages/components/checkbox/__tests__/checkbox-group.test.tsx (2)
57-57
: LGTM: Test updated to use async/await with user events.The test has been correctly updated to use async/await syntax with the user.click() method. This change improves the reliability of the test by ensuring that the click event is fully processed before assertions are made.
Consider removing the
act
wrapper around theonChange
callback, as it's no longer necessary when using@testing-library/user-event
. Theuser.click()
method already wraps the event in anact
call internally.Also applies to: 76-76
105-105
: LGTM: Test updated to use async/await with user events.The test has been correctly updated to use async/await syntax with the user.click() method. This change improves the reliability of the test by ensuring that the click event is fully processed before assertions are made.
Consider the following improvements:
- Remove the
act
wrapper around theonChange
callback, as it's no longer necessary when using@testing-library/user-event
.- Update the
onChange
prop to directly call theonChange
function without wrapping it in another function, as this extra wrapper is unnecessary.Here's a suggested implementation:
onChange={onChange}These changes will simplify the test code and make it more idiomatic when using React Testing Library.
Also applies to: 132-132
packages/components/date-input/__tests__/time-input.test.tsx (3)
240-246
: LGTM: Simplified test structureThe removal of
act
wrappers arounduser.tab()
calls simplifies the test and improves readability. This change is consistent with modern testing practices using@testing-library/user-event
.Consider adding a comment explaining why
onFocusChangeSpy
andonFocusSpy
are only called once, as it might not be immediately obvious to future readers.
289-289
: LGTM: Enhanced test clarityThe removal of the
act
wrapper arounduser.tab()
improves the test's readability while maintaining its original purpose. This change is in line with modern testing practices using@testing-library/user-event
.Consider using
userEvent
for theArrowRight
key press as well, for consistency and to leverage the benefits of@testing-library/user-event
throughout the test.
Line range hint
391-441
: LGTM: Comprehensive validation testsThe validation tests are well-structured and cover various scenarios for min and max value validation, including both controlled and uncontrolled component cases. The assertions appropriately check for the presence of error messages.
Consider adding a test case for the scenario where the input changes from an invalid to a valid state to ensure that the error message is properly cleared.
packages/components/dropdown/__tests__/dropdown.test.tsx (5)
152-153
: Improved test case using user eventsThe updates to this test case improve readability and follow best practices:
- Using
await user.click()
simplifies the test and removes the need for explicitact()
wrapping.- The expectations now use
toHaveBeenCalledTimes
, which is the recommended Jest matcher.These changes make the test more robust and easier to maintain.
Consider adding a comment explaining why
onOpenChange
is expected to be called 0 times initially, as it might not be immediately obvious to other developers.Also applies to: 187-187, 189-189, 191-191
237-237
: Consistent improvements in user event handling and assertionsThe updates to this test case maintain consistency with the previous changes:
- Using
await user.click()
for simulating user interactions.- Updating expectations to use
toHaveBeenCalledTimes
andtoHaveBeenCalled
.These changes improve the test's readability and maintainability.
Consider adding a brief comment explaining the expected behavior when clicking a menu item in multiple selection mode, as it might not be immediately clear why
onOpenChange
is called.Also applies to: 239-239, 241-241, 254-254, 256-257
479-479
: Improved error checking for custom triggersThe updates to these test cases enhance their precision:
- Using
toHaveBeenCalledTimes(0)
provides a more explicit check that no errors are thrown when rendering custom triggers withisDisabled
.- This change makes the expected behavior clearer and more specific.
Consider adding a brief comment explaining why we expect no errors for each case, especially for the NextUI elements that don't support the
isDisabled
prop. This would improve the test's documentation and make it easier for other developers to understand the expected behavior.Also applies to: 493-493, 507-507, 525-525
589-772
: Comprehensive improvements to keyboard interaction testsThe updates to the keyboard interaction test cases significantly enhance the test suite:
- New test cases cover different scenarios (Enter and Space key presses) for both opening the dropdown and selecting items.
- Consistent use of
await user.keyboard()
for simulating keyboard events aligns with the new user event approach.- The structure of the tests has been improved, making them more readable and maintainable.
These changes provide more thorough coverage of keyboard interactions and improve the overall quality of the test suite.
Consider adding a brief comment at the beginning of the "Keyboard interactions" describe block explaining the importance of these tests for accessibility. This would help emphasize the significance of keyboard navigation in the component.
774-843
: Valuable addition of closeOnSelect behavior testsThe new test cases for the closeOnSelect behavior of DropdownItems are a great addition to the test suite:
- They cover both static and dynamic DropdownItem configurations, ensuring comprehensive testing of this feature.
- The use of
await user.click()
is consistent with the new user event approach used throughout the file.- These tests help ensure that the closeOnSelect property functions correctly in different scenarios.
Consider adding a brief comment explaining the expected behavior of the closeOnSelect property at the beginning of each test case. This would make it easier for other developers to understand the purpose of these tests at a glance.
📜 Review details
Configuration used: .coderabbit.yaml
Review profile: CHILL
⛔ Files ignored due to path filters (1)
pnpm-lock.yaml
is excluded by!**/pnpm-lock.yaml
📒 Files selected for processing (32)
- apps/docs/components/sandpack/entries.ts (1 hunks)
- jest.config.js (1 hunks)
- package.json (2 hunks)
- packages/components/accordion/tests/accordion.test.tsx (8 hunks)
- packages/components/autocomplete/tests/autocomplete.test.tsx (19 hunks)
- packages/components/button/tests/button-group.test.tsx (1 hunks)
- packages/components/button/tests/button.test.tsx (2 hunks)
- packages/components/card/tests/card.test.tsx (2 hunks)
- packages/components/checkbox/tests/checkbox-group.test.tsx (5 hunks)
- packages/components/checkbox/tests/checkbox.test.tsx (7 hunks)
- packages/components/chip/tests/chip.test.tsx (2 hunks)
- packages/components/date-input/tests/date-input.test.tsx (5 hunks)
- packages/components/date-input/tests/time-input.test.tsx (4 hunks)
- packages/components/date-picker/tests/date-picker.test.tsx (4 hunks)
- packages/components/dropdown/tests/dropdown.test.tsx (17 hunks)
- packages/components/listbox/tests/listbox.test.tsx (3 hunks)
- packages/components/menu/tests/menu.test.tsx (6 hunks)
- packages/components/modal/tests/modal.test.tsx (4 hunks)
- packages/components/navbar/tests/navbar.test.tsx (6 hunks)
- packages/components/popover/tests/popover.test.tsx (12 hunks)
- packages/components/radio/tests/radio.test.tsx (8 hunks)
- packages/components/select/tests/select.test.tsx (18 hunks)
- packages/components/slider/tests/slider.test.tsx (5 hunks)
- packages/components/switch/tests/switch.test.tsx (8 hunks)
- packages/components/table/tests/table.test.tsx (5 hunks)
- packages/components/tabs/tests/tabs.test.tsx (7 hunks)
- packages/components/tooltip/tests/tooltip.test.tsx (1 hunks)
- packages/hooks/use-clipboard/tests/clipboard.test.tsx (1 hunks)
- packages/hooks/use-pagination/tests/use-pagination.test.tsx (2 hunks)
- packages/hooks/use-ref-state/tests/use-ref-state.test.tsx (1 hunks)
- plop/hook/tests/{{hookName}}.test.tsx.hbs (1 hunks)
- scripts/setup-test.ts (1 hunks)
✅ Files skipped from review due to trivial changes (1)
- apps/docs/components/sandpack/entries.ts
🧰 Additional context used
🔇 Additional comments (120)
plop/hook/__tests__/{{hookName}}.test.tsx.hbs (1)
1-1
: Approve the updated import statementThe change from
@testing-library/react-hooks
to@testing-library/react
for importingrenderHook
is correct and aligns with the latest best practices. This update consolidates the testing utilities and simplifies the dependency structure.To ensure consistency across the project, let's verify if other files still use the old import:
✅ Verification successful
All imports from
@testing-library/react-hooks
have been successfully updated to@testing-library/react
. No remaining instances found.🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Search for any remaining imports from @testing-library/react-hooks rg --type typescript --type tsx 'from\s+[\'"]@testing-library/react-hooks[\'"]'Length of output: 93
Script:
#!/bin/bash # Search for any remaining imports from @testing-library/react-hooks rg --type typescript --type tsx "from\s+[\"']@testing-library/react-hooks[\"']"Length of output: 120
Script:
#!/bin/bash # Search for any remaining imports from @testing-library/react-hooks in .ts and .tsx files rg "from\s+[\"']@testing-library/react-hooks[\"']" -g "*.ts" -g "*.tsx"Length of output: 77
jest.config.js (1)
21-21
: Simplified Jest-DOM setup - Verify test compatibilityThe change to
setupFilesAfterEnv
simplifies the Jest-DOM import, which aligns with recent updates in the@testing-library/jest-dom
library. This is a positive change as it reduces configuration complexity.However, ensure that all existing tests are compatible with this new setup. Some tests might rely on the old import method, potentially causing failures.
To verify the impact of this change, run the following script:
packages/hooks/use-clipboard/__tests__/clipboard.test.tsx (1)
1-1
: Approve import change with verification recommendation.The change from '@testing-library/react-hooks' to '@testing-library/react' aligns with modern React testing practices. This update is beneficial as it moves towards a more unified testing approach.
Please verify that the behavior of
renderHook
andact
from '@testing-library/react' matches the previous implementation. While the test appears compatible, subtle differences might exist.Additionally, ensure consistency across the project by updating similar imports in other test files. Run the following script to identify other files that may need updating:
scripts/setup-test.ts (2)
1-1
: Excellent update to jest-dom import!The change from
import "@testing-library/jest-dom/extend-expect";
toimport "@testing-library/jest-dom";
aligns with the latest best practices. This new import automatically includes all matchers, simplifying the import statement and future-proofing the code against potential changes in the jest-dom package structure.
Line range hint
1-34
: Overall, excellent testing setupThe
setup-test.ts
file is well-structured and comprehensively addresses common testing setup needs. It includes necessary mocks forwindow.matchMedia
,TextEncoder
, andResizeObserver
, as well as a flexible configuration for React strict mode. The update to the jest-dom import improves code maintainability.packages/components/card/__tests__/card.test.tsx (1)
3-3
: LGTM: Import statement updated correctlyThe addition of
userEvent
from@testing-library/user-event
is appropriate for the changes made in the test case. The removal of theact
import (not visible in the provided code) is also correct as it's no longer used in the updated test.packages/components/button/__tests__/button-group.test.tsx (1)
38-38
: Improved assertion method usage.The change from
toBeCalledTimes
totoHaveBeenCalledTimes
is a positive update. While both methods are valid Jest matchers,toHaveBeenCalledTimes
is the preferred and more explicit form. This change aligns with Jest's best practices and improves code readability without altering the test's functionality.packages/hooks/use-ref-state/__tests__/use-ref-state.test.tsx (1)
2-2
: Approve import change and verify consistencyThe change from
@testing-library/react-hooks
to@testing-library/react
for importingrenderHook
andact
is appropriate. This likely reflects an update in the testing library being used.To ensure consistency across the project, please run the following script:
✅ Verification successful
Adjust import search script for correct file types
The previous script used an unrecognized file type
typescript
. Updated the file type filters tots
andtsx
to ensure accurate search results.
Fix shell script to use correct ripgrep file types
The previous script used unrecognized file types
ts
andtsx
. Updated the file type filters totypescript
andtypescriptreact
to ensure accurate search results.
Update search script to use file extension patterns
The previous script encountered errors with
--type
flags. Updated the script to use-g '*.ts'
and-g '*.tsx'
to target TypeScript files correctly.
All import changes are consistent
No remaining imports from
@testing-library/react-hooks
were found. The import change has been successfully applied across the codebase.🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Check for any remaining imports from @testing-library/react-hooks # Test: Search for imports from @testing-library/react-hooks rg --type typescript --type tsx "from ['|\"]@testing-library/react-hooks['|\"]" # If the above command returns results, it indicates that there are still files using the old import, # which may need to be updated for consistency.Length of output: 120
Script:
#!/bin/bash # Description: Check for any remaining imports from @testing-library/react-hooks # Test: Search for imports from @testing-library/react-hooks in TypeScript files rg --type ts --type tsx "from ['|\"]@testing-library/react-hooks['|\"]" # If the above command returns results, it indicates that there are still files using the old import, # which may need to be updated for consistency.Length of output: 105
Script:
#!/bin/bash # Description: Check for any remaining imports from @testing-library/react-hooks # Test: Search for imports from @testing-library/react-hooks in TypeScript files rg --type typescript --type typescriptreact "from ['|\"]@testing-library/react-hooks['|\"]" # If the above command returns results, it indicates that there are still files using the old import, # which may need to be updated for consistency.Length of output: 132
Script:
#!/bin/bash # Description: Check for any remaining imports from @testing-library/react-hooks # Test: Search for imports from @testing-library/react-hooks in TypeScript files using file extensions rg "from ['|\"]@testing-library/react-hooks['|\"]" -g '*.ts' -g '*.tsx' # If the above command returns results, it indicates that there are still files using the old import, # which may need to be updated for consistency.Length of output: 77
packages/components/chip/__tests__/chip.test.tsx (1)
4-4
: LGTM: Improved testing approach with userEventThe addition of
userEvent
from@testing-library/user-event
is a positive change. It aligns with modern testing practices and provides a more realistic way to simulate user interactions in tests.packages/components/button/__tests__/button.test.tsx (3)
2-3
: Excellent update to testing libraries and setup!The changes to import statements and the addition of userEvent setup are well-implemented. Using
userEvent
from@testing-library/user-event
is a best practice for simulating user interactions in tests, providing more realistic event simulation. ThebeforeEach
setup ensures consistent user event handling across all tests, which is a good practice for maintaining test reliability.Also applies to: 8-12
27-35
: Great improvement in simulating user interactions!The changes to this test case are well-implemented:
- Marking the test as async allows for proper handling of the asynchronous userEvent.
- Using
await user.click(button)
provides a more realistic simulation of user interaction.- Removing the
act
wrapper is correct, as userEvent handles this internally.These changes make the test more robust and closer to real-world user behavior.
38-46
: Consistent improvement in disabled button test!The changes to this test case mirror the improvements made in the previous test:
- The test is correctly marked as async.
- User interaction is simulated using
await user.click(button)
.- The
act
wrapper has been removed, as it's handled by userEvent.This consistency in testing approach across different scenarios is commendable and improves the overall quality of the test suite.
packages/components/tooltip/__tests__/tooltip.test.tsx (1)
33-33
: Approved: Updated to modern Jest assertion syntaxThe change from
toBeCalledTimes(0)
totoHaveBeenCalledTimes(0)
is a good improvement. This update aligns with the current best practices in Jest and enhances consistency across the test suite. While both methods work,toHaveBeenCalledTimes
is the preferred syntax in newer versions of Jest for checking the number of times a mock function has been called.This change improves code readability and maintainability without altering the test's functionality.
packages/hooks/use-pagination/__tests__/use-pagination.test.tsx (2)
100-100
: Approve assertion method update with suggestion for consistency.The change from
toBeCalledWith
totoHaveBeenCalledWith
is a positive update. This matcher is the current recommended syntax in Jest for asserting function calls, improving both readability and alignment with best practices.To ensure consistency across the project, please run the following script:
#!/bin/bash # Description: Check for any remaining instances of toBeCalledWith in test files # Test: Search for any remaining usage of toBeCalledWith echo "Checking for any remaining usage of toBeCalledWith:" rg --type typescript --type tsx "toBeCalledWith\(" packages # Test: Verify the usage of toHaveBeenCalledWith echo "Verifying the usage of toHaveBeenCalledWith:" rg --type typescript --type tsx "toHaveBeenCalledWith\(" packagesConsider updating any remaining instances of
toBeCalledWith
totoHaveBeenCalledWith
for consistency across the project.
1-1
: Approve import statement update with verification.The change from
@testing-library/react-hooks
to@testing-library/react
for importingrenderHook
andact
is in line with the PR objectives of updating testing libraries. This update likely reflects a move to a more current version of the testing library.To ensure consistency across the project, please run the following script:
✅ Verification successful
Import statement update verified successfully.
All imports from
@testing-library/react-hooks
have been removed and replaced with@testing-library/react
, ensuring consistency across the project.🏁 Scripts executed
The following scripts were executed for the analysis:
Script:
#!/bin/bash # Description: Verify the usage of @testing-library/react across the project # Test: Search for any remaining imports from @testing-library/react-hooks echo "Checking for any remaining imports from @testing-library/react-hooks:" rg --type typescript --type tsx "from ['|\"]@testing-library/react-hooks['|\"]" # Test: Verify the new import pattern is used consistently echo "Verifying the new import pattern from @testing-library/react:" rg --type typescript --type tsx "from ['|\"]@testing-library/react['|\"]"Length of output: 506
Script:
#!/bin/bash # Description: Verify the usage of @testing-library/react across the project # Test: Search for any remaining imports from @testing-library/react-hooks echo "Checking for any remaining imports from @testing-library/react-hooks:" rg --type ts --type tsx "from ['\"]@testing-library/react-hooks['\"]" # Test: Verify the new import pattern is used consistently echo "Verifying the new import pattern from @testing-library/react:" rg --type ts --type tsx "from ['\"]@testing-library/react['\"]"Length of output: 483
Script:
#!/bin/bash # Description: Verify the usage of @testing-library/react across the project # Test: Search for any remaining imports from @testing-library/react-hooks echo "Checking for any remaining imports from @testing-library/react-hooks:" rg "from ['\"]@testing-library/react-hooks['\"]" -g "*.ts" -g "*.tsx" # Test: Verify the new import pattern is used consistently echo "Verifying the new import pattern from @testing-library/react:" rg "from ['\"]@testing-library/react['\"]" -g "*.ts" -g "*.tsx"Length of output: 6043
packages/components/navbar/__tests__/navbar.test.tsx (3)
2-3
: LGTM: Appropriate import of userEvent libraryThe addition of the
userEvent
import is consistent with the PR objectives to update testing libraries. The import syntax is correct, importing both the default export and theUserEvent
type.
22-26
: LGTM: Proper setup of userEventThe declaration of the
user
variable and its initialization in thebeforeEach
block is a good practice. This approach ensures:
- The
user
instance is accessible throughout the test suite.- Each test starts with a fresh
user
instance, preventing potential state leakage between tests.This setup aligns well with testing best practices and the objectives of the PR.
Line range hint
100-123
: LGTM: Proper update to use userEventThe changes in this test case are appropriate:
- The test is now correctly marked as asynchronous to accommodate
userEvent
.user.click()
is used to simulate the user interaction, which is more realistic than directly triggering a click event.- The core logic of the test remains unchanged, correctly maintaining its original purpose.
These updates align well with the PR objectives and modern testing practices.
package.json (5)
79-79
: Minor version update for @testing-library/user-eventThe @testing-library/user-event dependency has been updated from ^14.4.3 to ^14.5.2. This minor version update is likely safe and may include new features or improvements.
Consider reviewing the changelog for @testing-library/user-event to see if there are any new features or improvements that could enhance your tests: https://github.com/testing-library/user-event/releases
77-77
: Major version update for @testing-library/jest-domThe @testing-library/jest-dom dependency has been updated from ^5.16.4 to ^6.5.0, which is a major version jump. This update may introduce breaking changes or new matchers that could affect your tests.
Please review the changelog for @testing-library/jest-dom to understand the changes between versions 5 and 6. You can find the changelog at: https://github.com/testing-library/jest-dom/releases
#!/bin/bash # Check for any usage of deprecated or changed matchers rg --type typescript --type javascript "from '@testing-library/jest-dom'" -A 10
78-78
: Major version update for @testing-library/reactThe @testing-library/react dependency has been updated from ^14.0.0 to ^16.0.1, which is a significant version jump. This update may introduce breaking changes or new features that could affect your React component tests.
Please review the changelog for @testing-library/react to understand the changes between versions 14 and 16. You can find the changelog at: https://github.com/testing-library/react-testing-library/releases
#!/bin/bash # Check for any usage of deprecated or changed APIs rg --type typescript --type javascript "from '@testing-library/react'" -A 10
80-80
: Major version updates for Jest-related dependenciesSeveral Jest-related dependencies have been updated:
- @types/jest: ^28.1.1 to ^29.5.13
- jest: ^28.1.1 to ^29.7.0
- jest-environment-jsdom: ^28.1.1 to ^28.1.3
The updates to @types/jest and jest are major version jumps, which may introduce breaking changes or new features that could affect your tests.
Please review the changelogs for these dependencies to understand the changes:
- Jest: https://github.com/facebook/jest/blob/main/CHANGELOG.md
- @types/jest: https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/jest/CHANGELOG.md
#!/bin/bash # Check for any usage of deprecated or changed Jest APIs rg --type typescript --type javascript "from 'jest'" -A 10 rg --type typescript --type javascript "import.*from '@types/jest'" -A 10Also applies to: 116-117
76-76
: Major version update for @testing-library/domThe @testing-library/dom dependency has been updated from ^8.1.0 to ^10.4.0, which is a major version jump. This update may introduce breaking changes or new features that could affect your tests.
Please review the changelog for @testing-library/dom to understand the changes between versions 8 and 10. You can find the changelog at: https://github.com/testing-library/dom-testing-library/releases
packages/components/switch/__tests__/switch.test.tsx (8)
2-3
: LGTM: Import and variable declarations look good.The addition of
userEvent
and the new variable declarations are appropriate for the updated testing approach. ThebeforeEach
setup foruserEvent
is a good practice for consistent test behavior.Also applies to: 9-13
28-39
: LGTM: Improved async handling in "should check and uncheck" test.The changes to this test case improve the handling of asynchronous interactions. The use of
user.click
instead of direct DOM manipulation is a best practice that more accurately simulates user behavior.
42-48
: LGTM: Consistent async handling in "should not check if disabled" test.The modifications to this test case maintain consistency with the previous changes, correctly implementing async behavior and using
user.click
for interaction simulation.
59-65
: LGTM: Consistent async handling in "should not check if readOnly" test.The changes to this test case maintain consistency with the previous modifications, correctly implementing async behavior and using
user.click
for interaction simulation.
Line range hint
68-95
: LGTM: Improved async handling in controlled state test.The modifications to this test case for controlled state maintain consistency with the previous changes. The async behavior is correctly implemented, and the use of
user.click
for interaction simulation is appropriate.
Line range hint
115-155
: LGTM: Consistent async handling in thumbIcon change test.The changes to this test case maintain consistency with the previous modifications. The async behavior is correctly implemented, and the use of
user.click
for interaction simulation is appropriate. The thumbIcon change behavior is still effectively tested.
Line range hint
190-235
: LGTM: Improved setup for React Hook Form tests.The addition of new variables and the comprehensive setup in the
beforeEach
block enhance the readability and maintainability of the tests. This approach provides a clear structure for testing the Switch component with React Hook Form.
245-252
: LGTM: Consistent async handling in form submission test.The modifications to this test case maintain consistency with the previous changes. The async behavior is correctly implemented, and the use of
userEvent
for interaction simulation is appropriate. The form submission behavior is still effectively tested.packages/components/table/__tests__/table.test.tsx (4)
3-3
: LGTM: Updated import for user-event libraryThe addition of the
userEvent
import from@testing-library/user-event
is correct and aligns with the PR's objective of updating testing libraries. This change will enable more robust interaction testing.
19-23
: LGTM: Proper setup for user-eventThe addition of the
user
variable withUserEvent
type and its initialization in thebeforeEach
block is correct. This setup ensures that each test has a fresh instance ofuserEvent
, which is a best practice for isolating tests and preventing potential side effects between them.
Line range hint
140-172
: LGTM: Updated test case to use async user eventsThe modification of the test case for single selection mode to use
async/await
withuser.click()
is correct. This change improves the test's reliability by properly handling asynchronous user interactions. The test logic remains intact, ensuring that the component's behavior is still accurately verified.
Line range hint
176-214
: LGTM: Updated test case for multiple selection to use async user eventsThe modification of the test case for multiple selection mode to use
async/await
withuser.click()
is correct. This change ensures that the asynchronous nature of user interactions is properly handled, improving the test's reliability. The test logic remains unchanged, maintaining the integrity of the component's behavior verification.packages/components/checkbox/__tests__/checkbox.test.tsx (5)
3-3
: LGTM: Improved user event handlingThe addition of
userEvent
from@testing-library/user-event
is a good practice for simulating user interactions in tests. It provides a more realistic way to trigger events compared to directly calling DOM APIs.
38-38
: LGTM: Improved async handling in click testThe update to make this test async and use
await user.click()
is a good improvement. It ensures that the click event is properly simulated and resolved before making assertions, which can prevent race conditions and make the test more reliable.Also applies to: 44-44
49-49
: LGTM: Proper async handling for disabled state testThe update to make this test async and use
await user.click()
is appropriate. It ensures that the click event on a disabled checkbox is properly simulated and resolved before making assertions, improving the test's reliability.Also applies to: 52-52
90-90
: LGTM: Updated to modern Jest syntaxThe update of the assertion to
toHaveBeenCalled()
aligns with modern Jest best practices. This change improves the readability and maintainability of the test.
252-256
: LGTM: Improved user event handling and assertionsThe updates in this test case are good improvements:
- Setting up a new
user
instance ensures proper isolation for this specific test.- Using
await user.click()
ensures proper handling of the simulated user interaction.- The additional assertion
expect(checkbox3.checked).toBe(true);
improves the test by verifying the checkbox state before form submission.These changes enhance the reliability and completeness of the test.
packages/components/listbox/__tests__/listbox.test.tsx (5)
3-3
: LGTM: Import statement updated correctlyThe import statement has been updated to include the UserEvent type, which is consistent with the changes in the test setup and improves type safety.
8-12
: LGTM: UserEvent setup added correctlyThe addition of UserEvent setup in the beforeEach block is a good practice for handling user interactions in tests. This change aligns with modern testing practices using @testing-library/user-event and will make the tests more robust and easier to maintain.
154-155
: LGTM: Single selection test case updated correctlyThe test case for single selection has been improved by using UserEvent.click() instead of the act() wrapper, which simplifies the test and enhances readability. The assertion has also been updated to use toHaveBeenCalledTimes, which is the preferred syntax in newer versions of Jest.
185-186
: LGTM: Multiple selection test case updated correctlyThe test case for multiple selection has been improved in a manner consistent with the single selection test case. The use of UserEvent.click() simplifies the test and enhances readability, while the updated assertion using toHaveBeenCalledTimes aligns with best practices in newer versions of Jest.
Line range hint
1-286
: Overall improvements in testing approachThe changes in this file consistently improve the testing approach by:
- Introducing UserEvent for simulating user interactions.
- Simplifying test cases by removing unnecessary act() wrappers.
- Updating assertions to use more modern Jest syntax.
These modifications enhance the clarity, efficiency, and maintainability of the test suite, aligning well with the PR objectives of updating testing libraries and refactoring.
packages/components/slider/__tests__/slider.test.tsx (7)
3-3
: LGTM: Import of userEvent is correct.The addition of
userEvent
import from "@testing-library/user-event" is appropriate and aligns with the PR's objective of updating testing libraries. This change follows best practices for using @testing-library/user-event in React component testing.
8-12
: LGTM: Proper setup of UserEvent.The addition of UserEvent setup, including the variable declaration and initialization in the beforeEach block, follows best practices for using @testing-library/user-event. This ensures a fresh instance of UserEvent for each test, promoting test isolation and consistency.
147-147
: LGTM: Simplified user interaction.The change from
await act(async () => { await userEvent.click(button); });
toawait user.click(button);
is a good improvement. It simplifies the test code by removing the unnecessaryact
wrapper, which is now handled internally by theuserEvent
library. This change maintains the same functionality while improving readability and aligning with current best practices for React testing.
208-208
: LGTM: Consistent simplification of user interaction.The change from
await act(async () => { await userEvent.click(button); });
toawait user.click(button);
is consistent with the previous simplification. It removes the unnecessaryact
wrapper, improving code clarity while maintaining the same functionality. This change demonstrates a consistent approach to updating the test suite.
323-323
: LGTM: Consistent simplification in mark clicking test.The change from
await act(async () => { await userEvent.click(marks[1]); });
toawait user.click(marks[1]);
maintains consistency with previous simplifications in the test suite. It effectively removes the unnecessaryact
wrapper while preserving the test's functionality. This change contributes to an overall improvement in the readability and maintainability of the test suite.
360-360
: LGTM: Consistent simplification across the entire test suite.The change from
await act(async () => { await userEvent.click(marks[1]); });
toawait user.click(marks[1]);
is consistent with all previous simplifications in the file. This final change completes the update of the test suite to use the newuserEvent
setup. The removal of unnecessaryact
wrappers across all tests improves code clarity and maintainability while preserving functionality. These changes collectively represent a successful update to the testing approach, aligning with the PR's objectives.
Line range hint
1-371
: Overall assessment: Excellent update to the Slider component test suite.The changes made to this file successfully achieve the PR's objectives of updating testing libraries and refactoring the code. Key improvements include:
- Proper setup of UserEvent for consistent test behavior.
- Simplified user interactions by removing unnecessary
act
wrappers.- Improved code readability and maintainability across all tests.
- Consistent application of best practices for @testing-library/user-event.
These updates enhance the quality of the test suite while preserving its functionality. The refactoring demonstrates a thorough understanding of modern React testing practices and contributes to the overall improvement of the codebase.
packages/components/popover/__tests__/popover.test.tsx (3)
3-3
: LGTM: Updated import statement for userEventThe import statement has been correctly updated to include both the default export and the UserEvent type. This change improves type safety and aligns with TypeScript best practices.
14-18
: LGTM: Added userEvent setupThe addition of the
user
variable and its initialization in abeforeEach
block is a good practice. This ensures a consistent setup for userEvent across all tests, improving test reliability and reducing code duplication.
Line range hint
137-162
: LGTM: Updated test case to use userEvent for NextUI buttonThe changes correctly implement userEvent for simulating user interactions with the NextUI button. The test case is now properly marked as async, and both opening and closing the popover are simulated using
await user.click(trigger)
. This improves the test's reliability and better reflects real user interactions.packages/components/radio/__tests__/radio.test.tsx (6)
3-3
: LGTM: Improved user interaction simulationThe addition of
userEvent
from@testing-library/user-event
is a good practice. It provides a more realistic way to simulate user interactions in tests, which can lead to more robust and reliable test cases.
8-12
: LGTM: Proper test setup for UserEventThe addition of a
UserEvent
variable and its initialization in abeforeEach
block is a good practice. This ensures that each test has a fresh instance ofUserEvent
, promoting test isolation and preventing potential side effects between tests.
Line range hint
71-85
: LGTM: Improved user interaction testingThe changes to this test case are excellent:
- Making the test async allows for proper handling of the asynchronous nature of user events.
- Using
userEvent.click()
instead offireEvent
provides a more realistic simulation of user interactions.- The
toBeChecked()
assertion is clear and concise.These updates improve the reliability and readability of the test.
Line range hint
87-101
: LGTM: Consistent update for disabled state testingThe changes to this test case maintain consistency with the other updated tests:
- The test is now correctly marked as async.
- The use of
userEvent.click()
provides a more accurate simulation of user interaction.These updates ensure that the test for disabled state behavior is both reliable and consistent with the testing approach used throughout the file.
141-141
: LGTM: Updated assertion for onFocusThe change from
toBeCalled()
totoHaveBeenCalled()
is a good update. It aligns with modern Jest best practices and improves the consistency of the test suite's assertions.
Line range hint
1-359
: Overall assessment: Significant improvement in test quality and consistencyThe changes made to this test file represent a substantial improvement in the quality and consistency of the Radio component tests. Key improvements include:
- Introduction of
userEvent
for more realistic user interaction simulation.- Consistent use of async/await syntax for handling asynchronous operations.
- Updated assertions using modern Jest matchers.
- Improved test isolation with proper
UserEvent
setup.These changes align well with the PR objectives of updating testing libraries and refactoring. They enhance the reliability and maintainability of the test suite, which will contribute to the overall robustness of the NextUI project.
packages/components/menu/__tests__/menu.test.tsx (8)
2-3
: LGTM: Updated import for user event handlingThe addition of
userEvent
andUserEvent
imports from@testing-library/user-event
aligns with modern testing practices and the PR's objective of updating testing libraries. This change will allow for more robust user interaction simulations in the tests.
8-12
: LGTM: Improved user event setupThe addition of a
user
variable of typeUserEvent
and its setup in abeforeEach
block is a good practice. This change ensures consistent user event handling across all test cases, simplifying the tests and improving maintainability.
155-156
: LGTM: Updated user interaction and assertion in single selection testThe changes in this test case improve consistency and align with best practices:
- Using
user.click()
is consistent with the new user variable setup.- Updating to
toHaveBeenCalledTimes
aligns with current Jest best practices for assertions.These modifications enhance the test's readability and maintainability.
186-187
: LGTM: Consistent updates in multiple selection testThe changes in this test case mirror those in the single selection test:
user.click()
is now used, maintaining consistency with the new user variable setup.- The assertion now uses
toHaveBeenCalledTimes
, aligning with current Jest best practices.These updates ensure consistency across the test suite and improve overall test quality.
294-295
: LGTM: Consistent updates in onAction events testThe changes in this test case continue the pattern of improvements seen earlier:
user.click()
is used, maintaining consistency with the new user event handling approach.- The assertion uses
toHaveBeenCalledTimes
, aligning with current Jest best practices.These updates ensure a consistent and modern testing approach throughout the test suite.
316-317
: LGTM: Consistent updates in disabled item testThe changes in this test case maintain the pattern of improvements:
user.click()
is used, consistent with the new user event handling approach.- The assertion uses
toHaveBeenCalledTimes
, aligning with current Jest best practices.These updates ensure consistency and modernization across all test cases in the suite.
340-344
: LGTM: Consistent updates in multiple events testThe changes in this final test case complete the pattern of improvements:
user.click()
is used, maintaining consistency with the new user event handling approach.- All assertions now use
toHaveBeenCalledTimes
, aligning with current Jest best practices.These updates finalize the consistent and modern testing approach across the entire test suite.
Line range hint
1-345
: Excellent refactoring of the Menu component test suiteThe changes made to this test file are consistent and well-executed, aligning perfectly with the PR objectives. Key improvements include:
- Updated import statements for better user event handling.
- Introduction of a
user
variable with proper setup, ensuring consistent user event simulation across all tests.- Consistent use of
user.click()
instead ofuserEvent.click()
throughout the test cases.- Updated assertions using
toHaveBeenCalledTimes
instead oftoBeCalledTimes
, aligning with current Jest best practices.These modifications significantly enhance the test suite's consistency, readability, and maintainability. The refactoring successfully modernizes the testing approach without altering the core functionality being tested.
Great job on improving the quality of the test suite!
packages/components/date-input/__tests__/date-input.test.tsx (4)
3-3
: LGTM: Simplified import statementRemoving the
act
import aligns with the changes made throughout the file to removeact
wrappers. This change is consistent with modern testing practices when using@testing-library/user-event
.
70-72
: LGTM: Simplified test code by removing unnecessaryact
wrapperRemoving the
act
wrapper around user interactions simplifies the test code without changing its behavior. This change is safe becauseuserEvent
methods are already wrapped inact
internally. The test logic remains unchanged, maintaining its original intent to verify that an unavailable date is correctly marked as invalid.
232-239
: LGTM: Simplified test code by removing unnecessaryact
wrappersRemoving the
act
wrappers arounduser.tab()
calls simplifies the test code without changing its behavior. This change is consistent with modern testing practices and the rest of the file. The test logic and assertions remain unchanged, ensuring that the blur event is correctly triggered when focus leaves the component.
Line range hint
1-368
: Overall assessment: Improved test code clarity and maintainabilityThe changes in this file consistently remove unnecessary
act
wrappers around asynchronous operations, particularly those involvinguser.tab()
calls. These modifications simplify the test code without altering its behavior or intent. The changes align with modern testing practices, especially when using@testing-library/user-event
, which internally handles the asynchronous nature of user interactions.Key improvements:
- Removed redundant
act
import and usage throughout the file.- Simplified test code, making it more readable and maintainable.
- Maintained consistency with modern testing practices.
Suggestions for further improvement:
- Ensure consistent use of
await
for alluser.tab()
calls.- Consider replacing remaining
fireEvent
calls with equivalentuserEvent
methods for consistency.These changes contribute to a more robust and maintainable test suite for the DateInput component.
packages/components/accordion/__tests__/accordion.test.tsx (8)
33-33
: LGTM: Improved assertion readabilityThe change from
toBeCalledTimes(0)
totoHaveBeenCalledTimes(0)
enhances readability and aligns with current Jest best practices. The functionality remains unchanged.
124-126
: LGTM: Simplified test by removing unnecessaryact
wrapperThe removal of the
act
wrapper around the user click action simplifies the test code without compromising its functionality. Theuser.click()
method from@testing-library/user-event
already handles the necessary state updates, making theact
wrapper redundant. This change aligns with the best practices for testing React components with React Testing Library and improves the test's readability.
164-169
: LGTM: Improved test reliability by using async/await patternThe removal of the
act
wrapper and the use ofawait
withfocus()
anduser.keyboard()
actions improves the test's reliability and readability. This approach ensures that all state updates are completed before assertions are made, aligning with React Testing Library best practices. The change simplifies the test code while maintaining its effectiveness in testing keyboard navigation.
195-199
: LGTM: Consistent improvement in test structureThe removal of the
act
wrapper and the use ofawait user.keyboard()
maintains consistency with the previous changes. This modification simplifies the test code and ensures that state updates are completed before assertions, adhering to React Testing Library best practices. The change improves both readability and reliability of the test for home and end key navigation.
224-225
: LGTM: Consistent refactoring for improved test structureThe removal of the
act
wrapper and the use ofawait user.keyboard("[Tab]")
is consistent with the overall refactoring approach in this file. This change simplifies the test code, improves readability, and ensures that state updates are completed before assertions. It aligns well with React Testing Library best practices and maintains the test's effectiveness in checking tab navigation.
265-266
: LGTM: Consistent simplification of test structureThe removal of the
act
wrapper and the use ofawait user.click(button)
maintains consistency with the overall refactoring approach in this file. This change simplifies the test code, enhances readability, and ensures that state updates are completed before assertions. It adheres to React Testing Library best practices while effectively testing thearia-expanded
attribute behavior.
Line range hint
286-327
: LGTM: Comprehensive refactoring of keyboard interaction testThe changes in this test segment are consistent with the overall refactoring approach in the file. The removal of
act
wrappers and the use ofawait
withfocus()
anduser.keyboard()
actions simplify the test code and improve its readability. This approach ensures that state updates are completed before subsequent actions or assertions, enhancing the test's reliability.The test now provides comprehensive coverage of various keyboard interactions within an input inside an AccordionItem, including:
- Tabbing to focus the input
- Typing characters
- Using arrow keys for cursor movement
- Inserting characters at different positions
This thorough testing ensures that the Accordion component correctly handles complex user interactions, maintaining both accessibility and functionality.
Line range hint
1-352
: Overall improvement in test suite quality and maintainabilityThe changes made to this test file consistently improve its quality, readability, and maintainability. Key improvements include:
- Removal of unnecessary
act
wrappers, simplifying the test code.- Consistent use of async/await patterns for user interactions and state updates.
- Improved assertions using current Jest best practices.
- Enhanced reliability of tests by ensuring state updates complete before assertions.
- Comprehensive coverage of various user interactions, including complex keyboard navigation scenarios.
These changes align well with React Testing Library best practices and result in a more robust and easier-to-maintain test suite for the Accordion component.
packages/components/checkbox/__tests__/checkbox-group.test.tsx (2)
3-3
: LGTM: Import statement updated correctly.The import statement has been updated to include the UserEvent type, which is a good practice for type safety in TypeScript.
8-12
: LGTM: User event setup added correctly.The addition of the user event setup in the beforeEach block is a good practice. It ensures that each test has a fresh instance of the user event, which can help prevent potential issues with test isolation.
packages/components/tabs/__tests__/tabs.test.tsx (8)
3-3
: LGTM: Improved import statementThe updated import statement now includes a named import for
UserEvent
, which enhances type checking and makes the usage ofUserEvent
more explicit in the code.
53-57
: LGTM: Improved test setup with userEventThe addition of a
user
variable of typeUserEvent
and its initialization in abeforeEach
block is a great improvement. This ensures that each test starts with a freshuserEvent
instance, preventing potential side effects between tests and following best practices for setting up user interactions in tests.
79-79
: LGTM: Updated assertion to follow Jest best practicesThe change from
toBeCalledTimes(0)
totoHaveBeenCalledTimes(0)
aligns with Jest's recommended assertion methods.toHaveBeenCalledTimes
is the preferred method for checking the number of times a mock function has been called, providing more consistent and clear test assertions.
176-186
: LGTM: Simplified keyboard navigation testThe removal of the
act
wrapper around the keyboard events simplifies the test code while maintaining the same logic. This change likely reflects improvements in the testing library, which now handles these events automatically. The test still effectively ensures correct tab selection with keyboard navigation, but with cleaner and more maintainable code.
219-225
: LGTM: Streamlined manual keyboard navigation testThe removal of the
act
wrapper around the keyboard events in this test case follows the same pattern as the previous change. It simplifies the test code while maintaining the same logic for testing manual keyboard navigation. This change results in cleaner, more readable test code that still effectively verifies the correct focus movement between tabs.
270-270
: LGTM: Improved user interaction simulationReplacing
fireEvent.click
withuser.click
is a positive change. TheuserEvent
library provides a more realistic simulation of user actions compared tofireEvent
. This change ensures that the test more accurately represents real user interactions, potentially catching issues that might be missed with the simplerfireEvent
approach.
383-386
: LGTM: Consistent simplification of keyboard event testingThe removal of the
act
wrapper around the keyboard events in this final test case maintains consistency with the earlier changes. This simplification of the test code preserves the same logic for verifying tab navigation and state preservation. The result is a more streamlined and maintainable test suite that still effectively ensures the correct functionality of the Tabs component.
Line range hint
1-391
: Overall: Excellent improvements to the Tabs component test suiteThe changes made to this test file represent a significant improvement in the testing approach for the Tabs component. Key enhancements include:
- Adoption of the
userEvent
library for more realistic user interaction simulations.- Consistent removal of unnecessary
act
wrappers, simplifying the test code.- Updated assertions to align with Jest best practices.
- Improved test setup with a
beforeEach
block foruserEvent
.These changes result in a more maintainable, reliable, and clear test suite that effectively verifies the Tabs component's functionality. Great job on this refactoring effort!
packages/components/date-input/__tests__/time-input.test.tsx (2)
3-3
: LGTM: Removal of unused importThe removal of the
act
import is consistent with the changes made throughout the file. This change aligns with modern testing practices that often don't require explicitact
calls when using@testing-library/user-event
.
267-274
: LGTM: Improved test readabilityThe removal of
act
wrappers arounduser.tab()
calls enhances the test's readability while maintaining its original intent. This change aligns well with modern testing practices using@testing-library/user-event
.packages/components/date-picker/__tests__/date-picker.test.tsx (6)
249-254
: LGTM! Improved test readability and alignment with best practices.The removal of the
act
wrapper arounduser.tab()
simplifies the code and aligns with current React testing best practices. The updated assertions correctly verify the behavior of focus-related events.
Line range hint
255-260
: LGTM! Consistent approach to testing focus behavior.The changes in this segment are consistent with the previous one, maintaining a uniform approach to testing focus behavior across different elements. This consistency enhances the maintainability and readability of the test suite.
285-290
: LGTM! Consistent approach to testing focus behavior.This segment maintains the same improved testing approach as the previous segments. The removal of the
act
wrapper and the updated assertions ensure correct verification of focus-related events when tabbing into the date picker.
Line range hint
291-295
: LGTM! Proper handling of blur events.This segment correctly tests the blur behavior when clicking outside the date picker. The removal of the
act
wrapper and the updated assertions ensure accurate verification of focus and blur events, maintaining consistency with the previous segments.
366-368
: LGTM! Improved test readability.The removal of the
act
wrapper arounduser.tab()
is consistent with previous changes and improves the test's readability. This change makes the test more intuitive by directly simulating user interactions, which aligns better with real-world scenarios.
Line range hint
1-686
: Overall improvement in test suite quality and maintainability.The changes in this file consistently enhance the DatePicker component's test suite by:
- Removing unnecessary
act
wrappers, simplifying the code and aligning with current React testing best practices.- Updating assertions to correctly verify focus and blur behaviors.
- Maintaining a consistent approach across different test cases, which improves maintainability and readability.
These improvements make the tests more robust, easier to understand, and more closely aligned with real user interactions.
packages/components/autocomplete/__tests__/autocomplete.test.tsx (4)
3-3
: Update import statement for better type supportThe import statement has been updated to include the
UserEvent
type. This change improves type checking and provides better autocomplete support in IDEs.
80-84
: Implement UserEvent setup in beforeEach hookThe
UserEvent
setup has been moved to abeforeEach
hook, which is a good practice. This ensures that each test starts with a freshUserEvent
instance, preventing potential side effects between tests.
Line range hint
1-858
: Overall improvement in test suite reliabilityThe changes in this file represent a significant improvement in the Autocomplete component's test suite. By updating to the latest
@testing-library/user-event
API and consistently applying the changes throughout the file, the tests now more accurately simulate user interactions. This refactoring enhances the reliability and maintainability of the test suite, making it easier to catch potential issues in the Autocomplete component's behavior.Key improvements:
- Better type support with the
UserEvent
import- Consistent use of
await user.click()
for simulating user interactions- Removal of unnecessary
act
wrappers, simplifying the test codeThese changes align with best practices in React testing and should make the test suite more robust and easier to maintain going forward.
181-181
: Update user event interactionsThe test cases have been updated to use
await user.click()
instead ofuserEvent.click()
. This change aligns with the new@testing-library/user-event
API and provides better simulation of real user interactions.To ensure consistency across the entire test file, let's verify that all
userEvent.click()
calls have been updated:Also applies to: 208-208, 216-216, 227-227, 254-254, 262-262, 273-273, 289-289, 297-297, 308-308, 327-327, 335-335, 346-346, 378-378, 387-387, 418-418, 424-424, 463-464, 470-470, 494-494, 507-507, 566-566, 575-575
packages/components/select/__tests__/select.test.tsx (11)
4-5
: Improved import statements for better type safetyThe changes to the import statements enhance type safety by explicitly importing the
UserEvent
type. This modification aligns with best practices for using Testing Library and improves code maintainability.
Line range hint
54-58
: Improved user event setup for testsThe addition of a typed
user
variable and its initialization in thebeforeEach
block follows the recommended setup for user events in Testing Library. This ensures that each test has a fresh user event instance, promoting test isolation and reducing potential side effects between tests.
156-157
: Simplified test case and updated assertionThe removal of the
act
wrapper simplifies the test, which is often unnecessary with modern versions of Testing Library. The change fromtoBeCalledTimes
totoHaveBeenCalledTimes
aligns with current Jest best practices. These modifications improve test readability and maintainability.
186-189
: Consistent simplification of multiple selection testThe changes in this test case are consistent with the previous modifications. Removing
act
wrappers and updating totoHaveBeenCalledTimes
simplifies the test and aligns with current best practices in Jest and Testing Library.
224-228
: Improved readability and modern testing practicesThe removal of
act
wrappers and the use ofawait user.click()
for interactions simplify the test and improve its readability. This approach aligns with modern Testing Library practices, making the test more maintainable and easier to understand.
260-266
: Consistent simplification of "close dropdown" test casesThe changes in these test cases follow the same pattern as previous modifications. Removing
act
wrappers and usingawait user.click()
for interactions simplifies the tests, improves readability, and aligns with current best practices in Testing Library.Also applies to: 296-302
327-331
: Enhanced disabled select test with keyboard interactionThe changes in this test case continue the trend of simplifying tests by removing
act
wrappers and usingawait
with user events. The addition ofuser.tab()
is particularly noteworthy as it improves the test coverage for keyboard interactions, which is crucial for accessibility. The update totoHaveBeenCalledTimes
maintains consistency with other assertions.
408-409
: Consistent simplification of onSelectionChange test casesThe modifications in these test cases follow the established pattern of removing
act
wrappers and usingawait user.click()
for interactions. These changes maintain consistency across the test suite, improve readability, and align with modern Testing Library practices.Also applies to: 415-416, 446-447, 453-454
608-608
: Simplified form submission testThe changes in this test case maintain consistency with previous modifications by removing
act
wrappers and usingawait user.click()
for interactions. This simplification improves the test's readability and aligns with current Testing Library best practices.Also applies to: 615-615, 624-625
645-645
: Improved handling of asynchronous rendering in "close listbox" testThe changes in this test case continue the trend of simplifying tests by removing
act
wrappers and usingawait user.click()
for interactions. Notably, the use ofawait
withfindByTestId
is a positive change that properly handles asynchronous rendering, ensuring the test is more robust against timing issues.Also applies to: 650-650, 656-656
813-827
: Enhanced accessibility and simplified component usage in React Hook Form testsThe addition of
aria-label
attributes to theSelect
components is a significant improvement for accessibility. This change ensures that screen readers can properly identify the purpose of each select input. Furthermore, the use of theitems
prop withitemsData
simplifies the component usage, making the test more concise and easier to maintain. These modifications demonstrate a commitment to both accessibility and code quality.Also applies to: 835-835
packages/components/dropdown/__tests__/dropdown.test.tsx (6)
4-4
: Improved import for better type safetyThe updated import statement now includes the
UserEvent
type, which enhances type safety in the test file. This change aligns with TypeScript best practices.
17-21
: Improved user event setupThe addition of a
user
variable and its initialization in thebeforeEach
hook standardizes the user event setup across all tests. This approach:
- Follows the recommended practice for @testing-library/user-event v14+.
- Ensures a fresh user event instance for each test, preventing potential inter-test interference.
- Simplifies the test code by removing the need for repeated setup.
204-204
: Consistent improvement in user event handlingThe updates to this test case maintain consistency with the previous changes:
- Using
await user.click()
for simulating user interactions.- Updating expectations to use
toHaveBeenCalledTimes
andtoHaveBeenCalled
.These changes improve the test's readability and maintainability.
Also applies to: 206-207
363-363
: Consistent use of user events for disabled element testsThe updates to these test cases maintain consistency with the previous changes:
- Using
await user.click()
for simulating user interactions on disabled buttons and dropdowns.- This approach ensures that the tests properly wait for click events to be processed, even when the elements are disabled.
These changes improve the reliability and consistency of the test suite.
Also applies to: 386-386, 393-393, 414-414
421-421
: Improved testing of disabled itemsThe updates to this test case enhance its clarity and consistency:
- Using
await user.click()
for simulating user interactions with disabled items.- The assertion
expect(onSelectionChange).toHaveBeenCalledTimes(0)
clearly indicates that no selection change should occur when clicking a disabled item.These changes improve the test's readability and make the expected behavior more explicit.
Also applies to: 448-448, 450-450
571-571
: Consistent use of user events for dropdown interactionThe updates to this test case maintain consistency with the previous changes:
- Using
await user.click()
for simulating user interactions with dropdown triggers.- This approach ensures that the tests properly wait for click events to be processed, improving the reliability of the test.
These changes enhance the consistency and robustness of the test suite.
Also applies to: 580-580
* fix(input): ensure clear button is not focusable when disabled (#3774) * fix(input): ensure clear button is not focusable when disabled * test(input): add test to ensure clear button is not focusable when disabled * chore: add changeset for clear button focus fix when input is disabled * fix(input): update clear button to use button element * test(input): add focus test when disabled and update tests for clear button using button element * test(input): replace querySelector with getByRole for clear button * fix(input): set tabIndex to -1 for clear button * test(input): ensure clear button is not focusable * fix(image): add missing `w` to `getWrapperProps` dependency (#3802) * fix(image): add missing `w` to `getWrapperProps` dependency * chore(changeset): add changeset * fix(autocomplete): popover should remain open after clicking clear button (#3788) * fix: add state.open() so that dropdown is not closed * chore: add changeset * chore(autocomplete): add testcases for keeping lisbox open when clearButton is clicked * chore: update changeset * chore(autocomplete): change the docs for test cases * chore(changeset): update changeset message and add issue number --------- Co-authored-by: WK Wong <[email protected]> * refactor(docs): example of blurred card (#3741) * docs(card): adding info regarding the gradient for blurred card * chore(nit): adding example * chore(docs): revise content for card isBlurred example * chore(docs): revise isBlurred note --------- Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: WK Wong <[email protected]> * fix(docs): replace twitter logo/links with x logo/links (#3815) * fix(docs): replace Twitter logo/links with X logo/links * docs: update twitter references to x * docs: update changeset for twitter to x changes * docs: update twitter references to x * docs: update twitter references to x * chore(docs): undo .sponsorsrc since it's generated * refactor(docs): remove unnecessary classes * chore(docs): undo .sponsorsrc since it's generated --------- Co-authored-by: WK Wong <[email protected]> * fix(date-picker): adding props from calendarProps to getCalendarProps (#3773) * fix(date-picker): adding props from calendarProps to the getCalendarProps * chore(date-picker): adding the changeset * chore(changeset): add issue number --------- Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: WK Wong <[email protected]> * feat(autocomplete): automatically focus first non-disabled item (#2186) Co-authored-by: WK Wong <[email protected]> * docs(accordion): add overflow to custom motion example (#3793) * fix(docs): typos in dark mode page (#3823) * fix(theme): fullWidth in input and select (#3768) * fix(input): fixing the fullWidth functionality * chore(changeset): add issue number * chore(changeset): revise changeset message --------- Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: WK Wong <[email protected]> * fix(autocomplete): exit animation on popover close (#3845) * fix(autocomplete): exit animation on popover close * refactor(autocomplete): getListBoxProps --------- Co-authored-by: WK Wong <[email protected]> * refactor(theme): replace the use of RTL-specific styles with logical properties (#3868) * chore(rtl): remove the usages of rtl * chore(changeset): adding the changeset * chore(changeset): update changeset message --------- Co-authored-by: WK Wong <[email protected]> * fix(select): label placement discrepancy in Select (#3853) * fix(select): label placement incorrect in case of multiline * chore(select): adding the changeset * chore(select): adding the tests * chore(select): code imrovement, wkw's suggestions * chore(changeset): update changeset message --------- Co-authored-by: WK Wong <[email protected]> * fix(theme): label placement in select and input (#3869) * fix(theme): fix the label placement * chore(changeset): adding the changeset * chore(select): adding comments * fix(docs): avoid translating the code block (#3878) * docs(Codeblock): avoid code be translated * fix(docs): lint issue --------- Co-authored-by: WK Wong <[email protected]> * fix(listbox): change listBoxItem key to optional (#3883) * fix(listbox): listBoxItem key to optional * chore: add defaultSelectedKeys test for numeric keys and ids * chore: add changeset * chore: comment out section prompts in PR template (#3884) * chore(test): update testing libraries and refactor (#3886) * fix(theme): show margin only with label in Switch component (#3861) * fix(switch): removed right margin in wrapper #3791 * feat(changeset): added changeset * fix(switch): removed me-2 in wrapper * fix(switch): added ms-2 to label * chore(changeset): correct package and message --------- Co-authored-by: WK Wong <[email protected]> * fix(theme): removed pseudo cancel btn from input (#3912) * fix(theme): removed pseudo cancel btn from input * chore(changeset): adding the changeset * fix(input): conditionally hiding the webkit search * chore(changeset): revise changeset message --------- Co-authored-by: WK Wong <[email protected]> * refactor(docs): dx improvement in accordion (#3856) * refactor: improve dx for writing a docs component (#2544) * refactor: improve dx for write a docs component Signed-off-by: Innei <[email protected]> * refactor(docs): switch to contentlayer2 * chore(docs): rename to avoid conflict * refactor(docs): switch to next-contentlayer2 * refactor(docs): revise docs lib * chore(deps): bump docs related dependencies * fix(use-aria-multiselect): type issue due to ts version bump --------- Signed-off-by: Innei <[email protected]> Co-authored-by: WK Wong <[email protected]> * refactor(docs): accordion codes * feat(docs): declare module `*.jsx?raw` * feat(docs): include `**/*.jsx` * fix(docs): incorrect content * chore(docs): add new lines * refactor(docs): lint --------- Signed-off-by: Innei <[email protected]> Co-authored-by: Innei <[email protected]> * fix(docs): typos in hero section (#3928) * fix(theme): support RTL for breadcrumbs (#3927) * fix(breadcrumbs): added separator rotation for RTL #2486 * chore(changeset): added changeset * fix(docs): removed unused import and merged classNames in dropdown (#3936) * fix(breadcrumbs): added separator rotation for RTL #2486 * chore(changeset): added changeset * fix(docs): removed unused Link import and merged classnames in dropdown * fix: avatar filter disableAnimation to dom prop (#3946) * feat: add git hook to auto update dependencies (#3365) * feat: add git hook to auto update dependencies * feat: update color * fix: prevent test matcher warning (#3893) * fix: prevent test matcher warning * chore: add node types * chore: update Jest related packages * chore: run pnpm install * fix(tabs): correct inert value for true condition (#3978) * Alert component (#3982) * feat(alert): began the work on alert component * fix(readme): making correction * chore(deps): change to 2.0.0 * chore(docs): update README.md * feat(theme): init alert tv * chore(alert): update package.json * feat(alert): init alert storybook structure * chore(changeset): add changeset * chore(changeset): change to minor * chore(alert): revise alert package.json * feat(alert): init test structure * chore(deps): pnpm-lock.yaml * feat(alert): initailized theme and basic structure * feat(alert): completed use-alert.ts and alert.tsx * feat(alert): remove innerWrapper, replace helperWrapper with mainWrapper, adding isCloseable prop * feat(alert): adding isCloseable prop to baseWrapper dependency * feat(alert): setting the default value of isCloseable prop to true * feat(alert): moving CloseIcon inside the button * feat(alert): updated package.json * feat(alert): default variant and default story * feat(alert): adding color and radius stories * feat(alert): completed the styling * feat(alert): add stories for isCloseable prop and restyle other stories * feat(alert): correcting ref type * feat(alert): add test cases * feat(alert): remove startContent and endContent props * feat(alert): make styling more accurate * feat(alert): fixed default props * feat(alert): fixed theme docs * feat(alert): add logic for icons * feat(alert): begin to add docs * chore(alert): implement the changes suggested in code review * feat(alert): add onclose prop to alert * feat(alert): add test cases * docs(alert): add onClose event * feat(docs): add alert to routes.json * fix(alert): correct the text colors * docs(alert): fix imports and syntax errors * chore(alert): implement the changes suggested in code review * chore(alert): lint the code and change isCloseable to isClosable * chore(alert): lint the code * chore(alert): run pnpm i * fix(alert): fix the logic for close button and add test case * docs(alert): fix docs, change isCloseable to isClosable and change docs for isClosable property * chore(alert): add the support for RTL, refactor the code and fix the typos * docs(alert): grammer issues fix * fix(alert): replace rtl with ms * chore(alert): custom style and custom implementation, remove isClosable={false}, refactor, fix typos * chore(alert): linting and implement coderabbit suggestions * chore(alert): refactor and typos fix * chore(alert): add import for closeIcon * chore(alert): add props for closeIcon * chore(alert): refactor fixes * chore(alert): implement ryo-manba's suggestion on close Icon * chore(alert): make alert more responsive * chore(alert): fix grammer issues suggested by coderabbit * fix(alert): add max-w property to make alert responsive * chore(alert): improve responsiveness and refactor alertIcon * chore(alert): add missing dependency to useMemo * chore(alert): implement coderabbit's suggestions * chore(alert): update docs and refactor * chore(alert): refactor alertIcon and implement coderabbit's suggestion * chore: fixes --------- Co-authored-by: Abhinav Agarwal <[email protected]> Co-authored-by: WK Wong <[email protected]> Co-authored-by: Abhinav Agarwal <[email protected]> * Feat/add draggable modal (#3983) * feat(hooks): add use-draggable hook * feat(components): [modal] export use-draggable * docs(components): [modal] add draggable modal * feat(components): [modal] add ref prop for modal-header * chore(components): [modal] add draggable modal for storybook * chore: add changeset for draggable modal * docs(hooks): [use-draggable] fix typo * chore: upper changeset * chore(components): [modal] add overflow draggable modal to sb * test(components): [modal] add draggable modal tests * build: update pnpm-lock * chore(changeset): include issue number * feat(hooks): [use-draggable] set user-select to none when during the dragging * docs(components): [modal] update code demo title * docs(components): [modal] condense description for draggable overflow * feat(hooks): [use-draggable] change version to 0.1.0 * refactor(hooks): [use-draggable] use use-move implement use-draggable * feat(hooks): [use-draggable] remove repeated user-select * test(components): [modal] update test case to use-draggable base use-move * docs(components): [modal] update draggable examples * fix(hooks): [use-draggable] fix mobile device touchmove event conflict * refactor(hooks): [use-draggable] remove drag ref prop * refactor(hooks): [use-draggable] draggable2is-disabled overflow2can-overflow * test(components): [modal] add draggble disable test * chore(hooks): [use-draggable] add commant for body touchmove * Update packages/hooks/use-draggable/src/index.ts Co-authored-by: Ryo Matsukawa <[email protected]> * fix(hooks): [use-draggable] import use-callback * test(components): [modal] add mobile-sized test for draggable * chore(hooks): [use-draggable] add use-callback for func * chore(hooks): [use-draggable] update version to 2.0.0 * chore: fix typo * Update .changeset/soft-apricots-sleep.md * fix: pnpm lock * fix: build * chore: add updated moadl --------- Co-authored-by: wzc520pyfm <[email protected]> Co-authored-by: աɨռɢӄաօռɢ <[email protected]> Co-authored-by: Ryo Matsukawa <[email protected]> * chore: upgrade react-aria / React 19 & Next.js 15 support (#3732) * chore: upgrade react-aria * chore: add changeset * chore: fix type error --------- Co-authored-by: Junior Garcia <[email protected]> * feat(date-picker): add selectorButtonPlacement property (#3248) * feat(date-picker): add selectorButtonPlacement property * chore: update changeset * Update .changeset/neat-donkeys-accept.md Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: Junior Garcia <[email protected]> * feat: add tab ref (#3974) * feat: add tab ref * feat: add changeset * feat: pre-release workflow (#2910) * feat(workflow): pre-release * feat(workflow): exit pre-release * chore(workflow): update version & publish commands * fix(workflow): add missing attributes and use schangeset:beta cmd * feat(root): add changeset:beta * fix(workflows): revise pre-release logic * fix(workflows): add missing run * fix(workflows): use changeset:exit with version instead * feat(root): add changeset:exit cmd * refactor(workflows): add pths, id, and format * feat(workflows): enter pre-release mode * chore(workflows): remove pre.json only * refactor(workflows): remove enter-pre-release-mode * fix(workflows): incorrect url * refactor(root): remove unused exit command * refactor(workflows): add comments * feat(changeset): change to main branch as baseBranch * feat(root): add changeset:canary * refactor(workflows): remove unused workflow * feat(workflow): support canary pre-release mode * refactor(docs): change to canary * feat(popover): added control for closing popover on scroll (#3595) * fix(navbar): fixed the height when style h-full * fix(navbar): fixed the height when style h-full * docs(changeset): resolved extra file * feat(popover): added control for closing popover on scroll * update(changeset): correction * feat(popover): removed extra story * refactor(test): corrected test for both true and false values of shouldCloseOnScroll * refactor(docs): added shouldCloseOnScroll prop * chore(changeset): change to minor --------- Co-authored-by: աӄա <[email protected]> * feat: add month and year pickers to DateRangePicker and RangeCalendar (#3302) * feat: add month and year pickers to DateRangePicker and RangeCalendar * chore: update docs * Update .changeset/kind-cobras-travel.md * chore: react package version --------- Co-authored-by: Junior Garcia <[email protected]> * chore(deps): bump tailwind-merge version (#3657) * chore(deps): bump tailwind-merge versions * chore(theme): adopt latest extendTailwindMerge * chore(changeset): add changeset * chore(changeset): change to minor * Update .changeset/grumpy-mayflies-rhyme.md --------- Co-authored-by: Junior Garcia <[email protected]> * feat: added drawer component (#3986) Signed-off-by: The1111mp <[email protected]> Co-authored-by: The1111mp <[email protected]> * refactor: optimisations (#3523) * refactor: replace lodash with native approaches * refactor(deps): update framer-motion versions * feat(utilities): add @nextui-org/dom-animation * refactor(components): load domAnimation dynamically * refactor(deps): add @nextui-org/dom-animation * fix(utilities): relocate index.ts * feat(changeset): framer motion optimization * chore(deps): bump framer-motion version * fix(docs): conflict issue * refactor(hooks): remove the unnecessary this aliasing * refactor(utilities): remove the unnecessary this aliasing * chore(docs): remove {} so that it won't be true all the time * chore(dom-animation): end with new line * refactor(hooks): use debounce from `@nextui-org/shared-utils` * chore(deps): add `@nextui-org/shared-utils` * refactor: move mapKeys logic to `@nextui-org/shared-utils` * refactor: use `get` from `@nextui-org/shared-utils` * refactor(docs): use `get` from `@nextui-org/shared-utils` * refactor(shared-utils): mapKeys * chore(deps): bump framer-motion version * chore(deps): remove lodash * refactor(docs): use intersectionBy from shared-utils * feat(shared-utils): add intersectionBy * chore(dom-animation): remove extra blank line * refactor(shared-utils): revise intersectionBy * fix(modal): add willChange * refactor(shared-utils): add comments * fix: build & tests --------- Co-authored-by: Junior Garcia <[email protected]> * feat(hooks): use-theme hook (#3169) * feat(docs): update dark mode content * feat(hooks): @nextui-org/use-theme * chore(docs): revise ThemeSwitcher code * refactor(hooks): simplify useTheme and support custom theme names * feat(hooks): add use-theme test cases * feat(changeset): add changeset * refactor(hooks): make localStorageMock globally and clear before each test * fix(docs): typo * fix(hooks): coderabbitai comments * chore(hooks): remove unnecessary + * chore(changeset): change to minor * feat(hooks): handle system theme * chore(hooks): add EOL * refactor(hooks): add default theme * refactor(hooks): revise useTheme * refactor(hooks): resolve pr comments * refactor(hooks): resolve pr comments * refactor(hooks): resolve pr comments * refactor(hooks): remove unused theme in dependency array * chore(docs): typos * refactor(hooks): mark system as key for system theme * chore: merged with canary --------- Co-authored-by: Junior Garcia <[email protected]> * Fix/avatar flashing (#3987) * fix(use-image): cached image flashing * chore: merged with canary --------- Co-authored-by: Rakha Kanz Kautsar <[email protected]> * refactor(menu): Use `useMenu` and `useMenuItem` from RA (#3261) * refactor(menu): use useMenu from react-aria instead * refactor(menu): use useMenuItem from react-aria instead * feat(changeset): add changeset * chore: merged with canary * fix: dropdown tests --------- Co-authored-by: Junior Garcia <[email protected]> * fix(theme): added stripe color gradients for progress (#3938) * fix(breadcrumbs): added separator rotation for RTL #2486 * chore(changeset): added changeset * fix(docs): removed unused Link import and merged classnames in dropdown * fix(theme):added stripe color gradients for progress #1933 * refactor(theme): added stripe-size and createStripeGradient * chore: add all minor releases * fix(docs): invalid canary storybook link (#4030) * fix(use-image): image ReferenceError in SSR (#4122) * fix(use-image): image ReferenceError in SSR * fix(use-image): sync with beta * fix(use-image): sync with beta * chore(use-image): remove unnecessary comments * fix(docs): buildLocation expects an object (#4118) * fix(docs): routing.mdx * Delete .changeset/pre.json * chore(docs): update yarn installation command (#4132) There is no `-g` flag in yarn. `global` is a command which must immediately follow yarn. Source: https://classic.yarnpkg.com/lang/en/docs/cli/global/ * chore: upgrade storybook 8 (#4124) * feat: upgrade storybook8 * chore: upgrade storybook and vite * chore: remove @mdx-js/react optimizeDep * chore: add @mdx-js/react optimizeDep * fix: format * docs: add forms guide (#3822) * v2.5.0 [BETA] (#4164) * chore(pre-release): enter pre-release mode * fix(theme): apply tw nested group (#3909) * chore(changset): add changeset * fix(theme): apply nested group to table * chore(docs): update table bottomContent code * fix: changeset * fix: changeset * fix: changeset * fix: changeset * fix: changeset * fix: pkg versions * fix: changeset * fix: drawer peer dep * chore: update plop components tempalte * ci(changesets): version packages (beta) (#3988) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: pre-release workflow * chore: debug log added * chore: force pre-release * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * chore: beta1 (#3990) * ci(changesets): version packages (beta) (#3991) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(use-image): image ReferenceError in SSR (#3993) * fix(input): fixed a sliding issue caused by the helper wrapper (#3966) * If it is false and there is an error message or description it will create a div * Update packages/components/input/src/input.tsx * Update packages/components/select/src/select.tsx * Update packages/components/input/src/textarea.tsx * add changeset * changeset update * ci(changesets): version packages (beta) (#3995) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: image loading in the server (#3996) * fix: lock file * chore: force release * chore: force release 2 * ci(changesets): version packages (beta) (#3997) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: image load on next.js (#3998) * ci(changesets): version packages (beta) (#3999) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: element.ref was removed in React 19 warning (#4003) * ci(changesets): version packages (beta) (#4004) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: react 19 as peer dep (#4008) * ci(changesets): version packages (beta) (#4009) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Beta/react 19 support (#4010) * fix: react 19 as peer dep * fix: react 19 as peer dep * chore: support framer-motion alpha version * ci(changesets): version packages (beta) (#4011) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(theme): making select and input themes consistent (#3881) * ci(changesets): version packages (beta) (#4012) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: support inert value with boolean type for react 19 (#4039) * ci(changesets): version packages (beta) (#4041) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: alert design improved (#4054) * ci(changesets): version packages (beta) (#4056) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: drawer improvements (#4057) * ci(changesets): version packages (beta) (#4058) * feat: alert styles improved (#4071) * ci(changesets): version packages (beta) (#4072) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: alert styles improved (#4073) * ci(changesets): version packages (beta) (#4074) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: add number of stars and credits * chore: fix build * chore: improve navabr colors * chore: new changeset (#4083) * ci(changesets): version packages (beta) (#4084) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: pnpm cleaned (#4086) * ci(changesets): version packages (beta) (#4087) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: custom runnner added * chore: custom runner test (#4091) * Beta/custom runner (#4092) * chore: custom runner test * chore: custom runner test * chore: remove 2 from older changeset * ci(changesets): version packages (beta) (#4093) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: new demo added to alert * Feat/virtualization for autocomplete (#4094) * feat: add react-window virtualization for autocomplete * fix: wrong imports and wrong sizing * fix: update pnpm lock * chore: add test cases for large dataset (1000 and 10000 items) * chore: move virtualized-listbox to listbox components folder, implement isVirtualized conditional * feat: implement dynamic listboxheight n item height, add story * chore: rename props, remove unnecessary line changes * fix: maxHeight style 256px for default, conditional usage of virtualizer * feat: migrate to tan-stack virtual. (todo: fix scroll shadow) * feat: virtualization support --------- Co-authored-by: Vincentius Roger Kuswara <[email protected]> * ci(changesets): version packages (beta) (#4095) * feat: small fixes * feat: add reducedMotion setting to Provider (#3470) * feat: add reducedMotion setting to Provider * chore: refactor reducedMotion story * Update .changeset/pretty-parrots-guess.md --------- Co-authored-by: Junior Garcia <[email protected]> * ci(changesets): version packages (beta) (#4106) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: move circular-progress tv to progress (#3321) * fix: remove circular-progress tv to progress * docs: changeset * chore(changeset): update changeset message * Update .changeset/angry-maps-serve.md --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * fix: label placement when the select has a placeholder or description (#4126) * ci(changesets): version packages (beta) (#4107) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(deps): add missing `framer-motion` in `peerDependencies` (#4140) * fix(theme): add truncate class to the list item to avoid overflow the wrapper (#4105) * fix(docs): invalid canary storybook link (#4030) * fix: menu item hidden overflow text * feat: changeset * Merge branch 'beta/release-next' into fix/menu-item-hidden * fix: truncate list item * feat: update changeset * fix(menu): omit internal props --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * feat(table): add isKeyboardNavigationDisabled prop to the table (#3735) Co-authored-by: Maharshi Alpesh <[email protected]> * feat: add form component (#3036) * chore: add support validationBehavior aria * chore: add validationBehavior to Provider * chore: add autocomplete validation test * chore: add checkbox validation test * fix(input): require condition * docs: add description of validationBehavior props * chore: add support validationBehavior props for date components * docs(dates): add description of validationBehavior props * chore: add changeset * chore: format * chore: fix test * fix: select validationBehavior is not support yet * fix: select validationBehavior not supported yet * feat: add form component with input support * feat: add support form context * chore: wip add support for form server errors * chore: add support checkbox server validation * chore: add support radio server validation * chore: update pnpm-lock.yaml * chore: add support input server validation * chore: add support autocomplete server validation * chore(form): add server validation stories * chore: fix test * chore: add date-picker validation test * chore: update form stories * chore: add changeset * chore: update react-aria version * chore: add pnpm-lock.yaml * chore: update react-aria version * chore: add comment * chore: update react-aria version * chore: fix change set * chore: export form component in the main package * chore: upgrade react-aria * chore: fixed internationalized/date version * fix: build error * chore: upgrade docs react-aria version * fix: remove comment * fix: debug setting * chore(docs): update sponsor (#3904) * chore(docs): remove Scrumbuiss * chore(docs): remove Scrumbuiss logo * chore(docs): replace va by posthog (#4123) * chore(changeset): change to patch * refactor: react-aria-components remove to decrease package size, logic moved to the form package --------- Co-authored-by: Junior Garcia <[email protected]> Co-authored-by: WK Wong <[email protected]> * docs: add forms guide (#4155) Co-authored-by: Ryo Matsukawa <[email protected]> * chore: routes updated * ci(changesets): version packages (beta) (#4151) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: fix indentation * fix(changeset): package not be found * ci(changesets): version packages (beta) (#4158) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(select): controlled isInvalid prop (#4082) * fix(select): controlled isInvalid prop * chore: add changeset * Merge branch 'beta/release-next' into pr/4082 --------- Co-authored-by: WK Wong <[email protected]> * ci(changesets): version packages (beta) (#4159) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore(changeset): bump all versions * ci(changesets): version packages (beta) (#4160) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(deps): missing peer / dev dependency for framer-motion (#4161) * fix(system): align `navigate` function parameters with `@react-aria` (#4163) * fix: menu item classNames not work (#4156) * fix: menu item classNames not work * feat: changeset * docs: update * feat: merge classes utility added * Update .changeset/brave-trains-wave.md --------- Co-authored-by: WK Wong <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * chore(docs): remove incorrect info * ci(changesets): version packages (beta) (#4162) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * refactor(docs): overall dx (#4055) * refactor(docs): revise code block (#3922) * refactor(docs): revise code block * chore(docs): resolve pr comments * refactor(docs): autocomplete dx (#3934) * feat(docs): add *.js?raw module * feat(docs): change to react-jsx and add **/*.js * chore(root): include js and jsx * refactor(docs): autocomplete dx * chore(docs): rollback overrides * chore(autocomplete): lint * fix(autocomplete): incorrect import path * fix(docs): autocomplete dx * chore(docs): remove highlightedLines * refactor(docs): breadcrumbs dx (#3968) * refactor(docs): breadcrumbs dx * fix(docs): export issue * chore(docs): use preserve for jsx * fix(docs): support multiline import * fix(docs): support multiple export * chore(docs): add back export * refactor(docs): avatar dx (#3951) * refactor(docs): badge dx (#3960) * refactor(docs): badge dx * chore(docs): incorrect import path * refactor(docs): button dx (#3981) * refactor(docs): calendar dx (#4022) * refactor(docs): calendar dx * fix(docs): incorrect import path * refactor(docs): switch dx (#4037) * refactor(docs): switch dx * chore(docs): remove highlightedLines * refactor(docs): tooltip (#4035) * refactor(docs): usage dx (#4036) * refactor(docs): circular-progress dx (#4029) * refactor(docs): chip-dx (#4028) * refactor(docs): checkbox-group dx (#4027) * refactor(docs): checkbox dx (#4024) * refactor(docs): checkbox dx * fix(docs): incorrect import path * refactor(docs): card dx (#4023) * refactor(docs): skeleton dx (#4042) * refactor(docs): spacer dx (#4043) * refactor(docs): snippet dx (#4044) * refactor(docs): scroll-shadow dx (#4045) * refactor(docs): code dx (#4046) * refactor(docs): kbd dx (#4047) * refactor(docs): link dx (#4048) * refactor(docs): progress dx (#4049) * refactor(docs): divider dx (#4050) * refactor(docs): listbox dx (#4051) * refactor(docs): listbox dx * fix(docs): import path * fix(docs): import path * chore(docs): remove highlightedLines * fix(docs): indentation * chore(docs): replace the props of autocomplete from value to key (#4129) * refactor(docs): alert dx (#4108) * refactor(docs): alert dx * refactor(docs): alert dx * refactor(docs): image dx (#4061) * refactor(docs): textarea dx (#4063) * refactor(docs): spinner dx (#4088) * refactor(docs): radio-group dx (#4064) * refactor(docs): pagination dx (#4062) * refactor(docs): pagination dx * refactor(docs): pagination dx * refactor(docs): time-input dx (#4065) * refactor(docs): time-input dx * refactor(docs): time-input dx * refactor(docs): slider dx (#4066) * refactor(docs): slider dx * refactor(docs): slider dx * refactor(docs): move SliderValue to type * refactor(docs): slider dx * refactor(docs): make icon code collapsible * refactor(docs): specify versions for date packages (#4138) * refactor(docs): specify versions for date packages * fix(docs): correct RA i18n version * chore(deps): sync version from package * refactor(docs): tabs dx (#4067) * refactor(docs): tab dx * refactor(docs): tabs dx * refactor(docs): input dx (#4102) * refactor(docs): input dx * refactor(docs): input dx * refactor(docs): navbar dx (#4076) * refactor(docs): navbar dx * refactor(docs): navbar dx * refactor(docs): navbar dx * refactor(docs): modal dx (#4077) * refactor(docs): modal dx * refactor(docs): modal dx * refactor(docs): select dx (#4078) * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): table dx (#4079) * refactor(docs): table dx * fix(docs): import path * refactor(docs): table dx * refactor(docs): table dx * refactor(docs): popover dx (#4090) * refactor(docs): range-calendar dx (#4089) * refactor(docs): range-calendar dx * fix(docs): import path * refactor(docs): date input dx (#4100) * refactor(docs): dropdown dx (#4101) * refactor(docs): dropdown dx * refactor(docs): remove highlightedLines * refactor(docs): dropdown dx * refactor(docs): dropdown dx * refactor(docs): date-picker dx (#4103) * refactor(docs): date-picker dx * fix(docs): import paths * refactor(docs): date-range-picker dx (#4104) * refactor(docs): date-range-picker dx * fix(docs): date-range-picker dx * refactor(docs): drawer dx (#4109) * refactor(docs): drawer dx * fix(docs): indentation * refactor(docs): make icon collapsible --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Ryo Matsukawa <[email protected]> * feat(input-otp): introduce input OTP component (#4052) * feat(input-otp): adding the functionality * fix(input-otp): making the use of input-otp library * Update .changeset/spotty-flies-jump.md * chore(input-otp): nits * feat: improvements and fixes added * refactor: input-otp docs improvements * fix: changeset * fix: build --------- Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * ci(changesets): version packages (beta) (#4169) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * refactor(theme): revise label font size for lg (#4141) * refactor(theme): revise label font size for lg * chore(changeset): add changeset * refactor(theme): revise label font size for lg * fix(docs): typecheck errors (#4171) * fix(docs): remove duplicate import * fix(docs): update type for onChange in range-calendar page * fix(docs): add missing `@react-types/calendar` * fix(docs): broken syntax * fix(docs): typecheck issues * fix(docs): add missing `@react-types/datepicker` * fix(docs): typecheck issues * fix: missing li tag when href is specified (#4168) * fix(items): items in list should wrapped in li in case of a * chore: adding the tests * Feat/textarea add clear button (#4172) * feat(components): add clear button to the textarea component * docs(textarea): add test and changeset * feat(textarea): modify the changeset file * feat(textarea): add clear button to textarea * feat(textarea): add isClearable prop to textarea * docs(textarea): add documentation to textarea * docs(textarea): add documentation to textarea * feat(textarea): replace the textarea component clear icon and modify its location * feat(textarea): revise the clear button position * feat(textarea): revise the clear button structure * feat(textarea): revise the styles of clear button and textarea * feat(textarea): revise the styles of RTL case * feat(textarea): change the rtl to pe * feat(textarea): delete the px classname * chore(changeset): update package and message * test(textarea): add test case * feat(textarea): change the clear button structure * feat(textarea): optimized code * chore(textarea): update the changeset file * docs(textarea): add slots doc to textarea * chore(textarea): update peerDevpeerDependencies version * chore(textarea): add usecallback dep * Update .changeset/five-adults-protect.md * chore(pre-release): enter pre-release mode * feat(textarea): modify the clear button icon * fix(theme): apply tw nested group (#3909) * chore(changset): add changeset * fix(theme): apply nested group to table * chore(docs): update table bottomContent code * fix: changeset * fix: changeset * fix: changeset * fix: changeset * fix: changeset * fix: pkg versions * fix: changeset * fix: drawer peer dep * chore: update plop components tempalte * ci(changesets): version packages (beta) (#3988) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: pre-release workflow * chore: debug log added * chore: force pre-release * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * chore: beta1 (#3990) * ci(changesets): version packages (beta) (#3991) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(use-image): image ReferenceError in SSR (#3993) * fix(input): fixed a sliding issue caused by the helper wrapper (#3966) * If it is false and there is an error message or description it will create a div * Update packages/components/input/src/input.tsx * Update packages/components/select/src/select.tsx * Update packages/components/input/src/textarea.tsx * add changeset * changeset update * ci(changesets): version packages (beta) (#3995) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: image loading in the server (#3996) * fix: lock file * chore: force release * chore: force release 2 * ci(changesets): version packages (beta) (#3997) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: image load on next.js (#3998) * ci(changesets): version packages (beta) (#3999) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: element.ref was removed in React 19 warning (#4003) * ci(changesets): version packages (beta) (#4004) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: react 19 as peer dep (#4008) * ci(changesets): version packages (beta) (#4009) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Beta/react 19 support (#4010) * fix: react 19 as peer dep * fix: react 19 as peer dep * chore: support framer-motion alpha version * ci(changesets): version packages (beta) (#4011) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(theme): making select and input themes consistent (#3881) * ci(changesets): version packages (beta) (#4012) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(textarea): fix clearButton display * fix: support inert value with boolean type for react 19 (#4039) * ci(changesets): version packages (beta) (#4041) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: alert design improved (#4054) * ci(changesets): version packages (beta) (#4056) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: drawer improvements (#4057) * ci(changesets): version packages (beta) (#4058) * feat: alert styles improved (#4071) * ci(changesets): version packages (beta) (#4072) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: alert styles improved (#4073) * ci(changesets): version packages (beta) (#4074) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: add number of stars and credits * chore: fix build * chore: improve navabr colors * chore: new changeset (#4083) * ci(changesets): version packages (beta) (#4084) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: pnpm cleaned (#4086) * ci(changesets): version packages (beta) (#4087) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: custom runnner added * chore: custom runner test (#4091) * Beta/custom runner (#4092) * chore: custom runner test * chore: custom runner test * chore: remove 2 from older changeset * ci(changesets): version packages (beta) (#4093) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: new demo added to alert * Feat/virtualization for autocomplete (#4094) * feat: add react-window virtualization for autocomplete * fix: wrong imports and wrong sizing * fix: update pnpm lock * chore: add test cases for large dataset (1000 and 10000 items) * chore: move virtualized-listbox to listbox components folder, implement isVirtualized conditional * feat: implement dynamic listboxheight n item height, add story * chore: rename props, remove unnecessary line changes * fix: maxHeight style 256px for default, conditional usage of virtualizer * feat: migrate to tan-stack virtual. (todo: fix scroll shadow) * feat: virtualization support --------- Co-authored-by: Vincentius Roger Kuswara <[email protected]> * ci(changesets): version packages (beta) (#4095) * feat: small fixes * feat: add reducedMotion setting to Provider (#3470) * feat: add reducedMotion setting to Provider * chore: refactor reducedMotion story * Update .changeset/pretty-parrots-guess.md --------- Co-authored-by: Junior Garcia <[email protected]> * ci(changesets): version packages (beta) (#4106) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: move circular-progress tv to progress (#3321) * fix: remove circular-progress tv to progress * docs: changeset * chore(changeset): update changeset message * Update .changeset/angry-maps-serve.md --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * fix: label placement when the select has a placeholder or description (#4126) * ci(changesets): version packages (beta) (#4107) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(deps): add missing `framer-motion` in `peerDependencies` (#4140) * fix(theme): add truncate class to the list item to avoid overflow the wrapper (#4105) * fix(docs): invalid canary storybook link (#4030) * fix: menu item hidden overflow text * feat: changeset * Merge branch 'beta/release-next' into fix/menu-item-hidden * fix: truncate list item * feat: update changeset * fix(menu): omit internal props --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * Update apps/docs/content/docs/components/textarea.mdx * feat(table): add isKeyboardNavigationDisabled prop to the table (#3735) Co-authored-by: Maharshi Alpesh <[email protected]> * feat: add form component (#3036) * chore: add support validationBehavior aria * chore: add validationBehavior to Provider * chore: add autocomplete validation test * chore: add checkbox validation test * fix(input): require condition * docs: add description of validationBehavior props * chore: add support validationBehavior props for date components * docs(dates): add description of validationBehavior props * chore: add changeset * chore: format * chore: fix test * fix: select validationBehavior is not support yet * fix: select validationBehavior not supported yet * feat: add form component with input support * feat: add support form context * chore: wip add support for form server errors * chore: add support checkbox server validation * chore: add support radio server validation * chore: update pnpm-lock.yaml * chore: add support input server validation * chore: add support autocomplete server validation * chore(form): add server validation stories * chore: fix test * chore: add date-picker validation test * chore: update form stories * chore: add changeset * chore: update react-aria version * chore: add pnpm-lock.yaml * chore: update react-aria version * chore: add comment * chore: update react-aria version * chore: fix change set * chore: export form component in the main package * chore: upgrade react-aria * chore: fixed internationalized/date version * fix: build error * chore: upgrade docs react-aria version * fix: remove comment * fix: debug setting * chore(docs): update sponsor (#3904) * chore(docs): remove Scrumbuiss * chore(docs): remove Scrumbuiss logo * chore(docs): replace va by posthog (#4123) * chore(changeset): change to patch * refactor: react-aria-components remove to decrease package size, logic moved to the form package --------- Co-authored-by: Junior Garcia <[email protected]> Co-authored-by: WK Wong <[email protected]> * docs: add forms guide (#4155) Co-authored-by: Ryo Matsukawa <[email protected]> * chore: routes updated * ci(changesets): version packages (beta) (#4151) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: fix indentation * fix(changeset): package not be found * ci(changesets): version packages (beta) (#4158) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(select): controlled isInvalid prop (#4082) * fix(select): controlled isInvalid prop * chore: add changeset * Merge branch 'beta/release-next' into pr/4082 --------- Co-authored-by: WK Wong <[email protected]> * ci(changesets): version packages (beta) (#4159) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore(changeset): bump all versions * ci(changesets): version packages (beta) (#4160) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(deps): missing peer / dev dependency for framer-motion (#4161) * fix(system): align `navigate` function parameters with `@react-aria` (#4163) * fix: menu item classNames not work (#4156) * fix: menu item classNames not work * feat: changeset * docs: update * feat: merge classes utility added * Update .changeset/brave-trains-wave.md --------- Co-authored-by: WK Wong <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * chore(docs): remove incorrect info * ci(changesets): version packages (beta) (#4162) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * refactor(docs): overall dx (#4055) * refactor(docs): revise code block (#3922) * refactor(docs): revise code block * chore(docs): resolve pr comments * refactor(docs): autocomplete dx (#3934) * feat(docs): add *.js?raw module * feat(docs): change to react-jsx and add **/*.js * chore(root): include js and jsx * refactor(docs): autocomplete dx * chore(docs): rollback overrides * chore(autocomplete): lint * fix(autocomplete): incorrect import path * fix(docs): autocomplete dx * chore(docs): remove highlightedLines * refactor(docs): breadcrumbs dx (#3968) * refactor(docs): breadcrumbs dx * fix(docs): export issue * chore(docs): use preserve for jsx * fix(docs): support multiline import * fix(docs): support multiple export * chore(docs): add back export * refactor(docs): avatar dx (#3951) * refactor(docs): badge dx (#3960) * refactor(docs): badge dx * chore(docs): incorrect import path * refactor(docs): button dx (#3981) * refactor(docs): calendar dx (#4022) * refactor(docs): calendar dx * fix(docs): incorrect import path * refactor(docs): switch dx (#4037) * refactor(docs): switch dx * chore(docs): remove highlightedLines * refactor(docs): tooltip (#4035) * refactor(docs): usage dx (#4036) * refactor(docs): circular-progress dx (#4029) * refactor(docs): chip-dx (#4028) * refactor(docs): checkbox-group dx (#4027) * refactor(docs): checkbox dx (#4024) * refactor(docs): checkbox dx * fix(docs): incorrect import path * refactor(docs): card dx (#4023) * refactor(docs): skeleton dx (#4042) * refactor(docs): spacer dx (#4043) * refactor(docs): snippet dx (#4044) * refactor(docs): scroll-shadow dx (#4045) * refactor(docs): code dx (#4046) * refactor(docs): kbd dx (#4047) * refactor(docs): link dx (#4048) * refactor(docs): progress dx (#4049) * refactor(docs): divider dx (#4050) * refactor(docs): listbox dx (#4051) * refactor(docs): listbox dx * fix(docs): import path * fix(docs): import path * chore(docs): remove highlightedLines * fix(docs): indentation * chore(docs): replace the props of autocomplete from value to key (#4129) * refactor(docs): alert dx (#4108) * refactor(docs): alert dx * refactor(docs): alert dx * refactor(docs): image dx (#4061) * refactor(docs): textarea dx (#4063) * refactor(docs): spinner dx (#4088) * refactor(docs): radio-group dx (#4064) * refactor(docs): pagination dx (#4062) * refactor(docs): pagination dx * refactor(docs): pagination dx * refactor(docs): time-input dx (#4065) * refactor(docs): time-input dx * refactor(docs): time-input dx * refactor(docs): slider dx (#4066) * refactor(docs): slider dx * refactor(docs): slider dx * refactor(docs): move SliderValue to type * refactor(docs): slider dx * refactor(docs): make icon code collapsible * refactor(docs): specify versions for date packages (#4138) * refactor(docs): specify versions for date packages * fix(docs): correct RA i18n version * chore(deps): sync version from package * refactor(docs): tabs dx (#4067) * refactor(docs): tab dx * refactor(docs): tabs dx * refactor(docs): input dx (#4102) * refactor(docs): input dx * refactor(docs): input dx * refactor(docs): navbar dx (#4076) * refactor(docs): navbar dx * refactor(docs): navbar dx * refactor(docs): navbar dx * refactor(docs): modal dx (#4077) * refactor(docs): modal dx * refactor(docs): modal dx * refactor(docs): select dx (#4078) * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): table dx (#4079) * refactor(docs): table dx * fix(docs): import path * refactor(docs): table dx * refactor(docs): table dx * refactor(docs): popover dx (#4090) * refactor(docs): range-calendar dx (#4089) * refactor(docs): range-calendar dx * fix(docs): import path * refactor(docs): date input dx (#4100) * refactor(docs): dropdown dx (#4101) * refactor(docs): dropdown dx * refactor(docs): remove highlightedLines * refactor(docs): dropdown dx * refactor(docs): dropdown dx * refactor(docs): date-picker dx (#4103) * refactor(docs): date-picker dx * fix(docs): import paths * refactor(docs): date-range-picker dx (#4104) * refactor(docs): date-range-picker dx * fix(docs): date-range-picker dx * refactor(docs): drawer dx (#4109) * refactor(docs): drawer dx * fix(docs): indentation * refactor(docs): make icon collapsible --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Ryo Matsukawa <[email protected]> * Merge branch 'beta/release-next' into pr/3477 * refactor(docs): apply new structure to doc * feat(input-otp): introduce input OTP component (#4052) * feat(input-otp): adding the functionality * fix(input-otp): making the use of input-otp library * Update .changeset/spotty-flies-jump.md * chore(input-otp): nits * feat: improvements and fixes added * refactor: input-otp docs improvements * fix: changeset * fix: build --------- Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * ci(changesets): version packages (beta) (#4169) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * refactor(theme): revise label font size for lg (#4141) * refactor(theme): revise label font size for lg * chore(changeset): add changeset * refactor(theme): revise label font size for lg * fix(docs): typecheck errors (#4171) * fix(docs): remove duplicate import * fix(docs): update type for onChange in range-calendar page * fix(docs): add missing `@react-types/calendar` * fix(docs): broken syntax * fix(docs): typecheck issues * fix(docs): add missing `@react-types/datepicker` * fix(docs): typecheck issues * fix: missing li tag when href is specified (#4168) * fix(items): items in list should wrapped in li in case of a * chore: adding the tests * fix: textarea issues with the clear button * chore: adjust clear button position --------- Co-authored-by: doki- <[email protected]> Co-authored-by: WK Wong <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Mustafa Balcı <[email protected]> Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: Vincentius Roger Kuswara <[email protected]> Co-authored-by: Ryo Matsukawa <[email protected]> Co-authored-by: winches <[email protected]> Co-authored-by: Tianen Pang <[email protected]> Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: chirokas <[email protected]> * ci(changesets): version packages (beta) (#4170) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * docs: sync api from nextui-cli v0.3.5 (#4173) Co-authored-by: GitHub Action <[email protected]> * ci(changesets): exit pre-release mode --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: աӄա <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Mustafa Balcı <[email protected]> Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: Vincentius Roger Kuswara <[email protected]> Co-authored-by: Ryo Matsukawa <[email protected]> Co-authored-by: winches <[email protected]> Co-authored-by: Tianen Pang <[email protected]> Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: chirokas <[email protected]> Co-authored-by: doki- <[email protected]> Co-authored-by: GitHub Action <[email protected]> * fix: pre release workflow on protected branches (#4174) * chore(pre-release): enter pre-release mode (#4175) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * fix: input otp peer deps (#4176) * chore: update workflows * chore: pre release workflow modified (#4177) * chore: canary versions (#4178) * fix: pre-release workflow (#4179) * chore: merged with beta branch * chore: workflow updated * ci(changesets): version packages * fix: changeset get github info * chore: force canary to release (#4180) * Feat/canary release (#4181) * chore: force canary to release * feat: canary release * ci(changesets): version packages * ci(changesets): version packages * fix: exit pre-release mode * fix: exit pre-release mode * fix: exit pre-release mode * fix: exit pre-release mode * fix: exit pre-release mode * chore: exit pre release mode * fix(workflows): release & pre-release flow (#4184) * chore: revert exit and enter pre release changes * chore: canary release test (#4185) * chore: update exit and enter workflows * chore: update workflow name * fix: exit pre-release mode * fix: exit pre-release mode * chore: delete pre file * chore: remove duplicate changesets * chore: base branch change to canary, changeset config * refactor: beta tags manually deleted (#4187) * fix: install * fix: peer deps (#4188) * Fix/peer deps (#4189) * fix: peer deps * fix: tests * fix: routes * chore(docs): revise defaultShowFlagList (#4193) * chore(docs): add Example to defaultShowFlagList * chore(docs): revise defaultShowFlagList * feat: documentation improvements (#4195) * feat: documentation improvements * fix: alert api * Feat/doc improvements (#4196) * feat: documentation improvements * fix: alert api * fix: copy button * fix: return in card demo * Fix/react core pkg (#4204) * fix: double use client tag import in react core package * fix: double use client * chore: restore postbuild script * docs: optimize code fold (#4202) * docs: optimize code fold * fix: code review * fix(input): teaxtarea label squish (#4197) * fix(input): teaxtarea label squish * chore(changeset): add changeset for textarea label fix * chore: remove customer runner * chore: rename changeset * chore: increase timeout * chore: change get info pkg version * chore: new changeset * chore: single chnageset * chore: consolidated changeset * chore: consolidated changeset * Update release.yaml (#4205) * chore: consolidated changeset * fix: forwardRef render functions not using ref (#4198) * fix: forwardRef render functions not using ref * fix: changelog * fix: review * fix: forwardRef render functions not using ref * docs: update changeset * feat(listbox): virtualization (#4206) * fix: should not export list item internal variables type * feat: changeset * fix: type error * fix: code block type error * feat: virtualization feature, docs for listbox * chore: update routes.json * fix: fix code-demo for typecheck * chore: rollback for files * chore: props omitted in the component itself * fix: menu item types * fix: tupecheck --------- Co-authored-by: winches <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * feat(select): virtualization (#4203) * fix: should not export list item internal variables type * feat: changeset * feat: integrate virtualized listbox to select component, add more props * feat: update docs for select component * feat: update docs to include API for virtualization * fix: update docs to follow the newest format * fix: update test for disable virtualization, add test for virtualized version * fix: fix typo * fix: type error * fix: code block type error * chore: update docs to use raw jsx instead of template literal * fix: fix code-demo for typecheck * chore: rollback for files * fix: types * chore: remove caret version on tanstack virtual pkg * fix: pnpm lock file * fix: virtualization examples * fix: number of items --------- Co-authored-by: winches <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * chore: adjust code colors * fix: collection based components ref (#4207) * chore: documentation adjustments * Update data-slot for the error message in the select. (#4214) * Update data-slot for the error message in the select. All components use the `data-slot="error-message"` attribute, except for the select component. I observed this behavior when a test in my application started failing. * refactor(select): refactors the data-slots attribute for the error message * fix(docs): types for classNames and itemClasses (#4209) * feat: documentation improvements * chore: more improvements to the docs, routing updated, acccordiong font size change * feat: forms doc in progress * fix(touch): fixing the selection functionality on touch (#4220) * fix(touch): fixing the selection functionality on touch * fix: radio, checkbox & switch interactions --------- Co-authored-by: Junior Garcia <[email protected]> * chore(docs): remove non-existing attribute (#4221) * fix(select): hideEmptyContent API (#4219) * fix(select): hideEmptyContent API * test(select): hideEmptyContent tests * docs(select): hideEmptyContent API * chore(select): hideEmptyContent storybook * chore(changeset): add hideEmptyContent API to select * refactor(select): hideEmptyContent nitpick * test(select): hideEmptyContent UI assertions * fix(select): hideEmptyContent default false * docs(select): hideEmptyContent default false * fix(pagination): cursor position when hidden on init (#4222) * fix(pagination): cusor position when hidden on init * test(pagination): cursor intersection observer * chore(changeset): pagination cursor position fix * refactor(pagination): minor nitpicks - check for null ref in usePagination - restore original IntersectionObserver in test * fix: form fixes and improvements (#4224) * chore: form in progress * chore: main demo addded to forms, checkbox validation fixed * chore: forms docs improved * fix(deps): bump `@react-aria/utils` version (#4226) * fix(deps): bump `@react-aria/utils` version * chore(changeset): add changeset * feat: forms doc completed * chore: form component doc created * chore: forms doc improved * chore: doc improvements * chore: alert doc improved * feat: nextjs 15 migration in progress * feat: nextjs 15 migration [docs] (#4228) * feat: nextjs 15 migration in progress * feat: next 15 downgraded to next 14 * fix: migration errors * feat: codeblog is now rendered only when visible, this made a huge performance improvement * fix: remove folding * feat: v2.6.0 blog * feat: Adding nextui pro section on the landing page (#4227) * feat: adding nextui pro section on the landing page * chore(nits): nits * fix: remove pro image on mobile --------- Co-authored-by: Junior Garcia <[email protected]> * fix(docs): prevent scrolling up on pressing theme change switch (#4233) * chore: improve v2.6.0 blog * chore: small improvements * chore: improve blog * ci(changesets): version packages (#4186) Co-authored-by: Junior Garcia <[email protected]> * fix: snippet release (#4235) * ci(changesets): version packages (#4236) Co-authored-by: Junior Garcia <[email protected]> * chore: v2.6.2 * ci(changesets): version packages (#4237) Co-authored-by: Junior Garcia <[email protected]> * fix: draggable modal demo --------- Signed-off-by: Innei <[email protected]> Signed-off-by: The1111mp <[email protected]> Co-authored-by: ryo…
* fix(input): ensure clear button is not focusable when disabled (#3774) * fix(input): ensure clear button is not focusable when disabled * test(input): add test to ensure clear button is not focusable when disabled * chore: add changeset for clear button focus fix when input is disabled * fix(input): update clear button to use button element * test(input): add focus test when disabled and update tests for clear button using button element * test(input): replace querySelector with getByRole for clear button * fix(input): set tabIndex to -1 for clear button * test(input): ensure clear button is not focusable * fix(image): add missing `w` to `getWrapperProps` dependency (#3802) * fix(image): add missing `w` to `getWrapperProps` dependency * chore(changeset): add changeset * fix(autocomplete): popover should remain open after clicking clear button (#3788) * fix: add state.open() so that dropdown is not closed * chore: add changeset * chore(autocomplete): add testcases for keeping lisbox open when clearButton is clicked * chore: update changeset * chore(autocomplete): change the docs for test cases * chore(changeset): update changeset message and add issue number --------- Co-authored-by: WK Wong <[email protected]> * refactor(docs): example of blurred card (#3741) * docs(card): adding info regarding the gradient for blurred card * chore(nit): adding example * chore(docs): revise content for card isBlurred example * chore(docs): revise isBlurred note --------- Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: WK Wong <[email protected]> * fix(docs): replace twitter logo/links with x logo/links (#3815) * fix(docs): replace Twitter logo/links with X logo/links * docs: update twitter references to x * docs: update changeset for twitter to x changes * docs: update twitter references to x * docs: update twitter references to x * chore(docs): undo .sponsorsrc since it's generated * refactor(docs): remove unnecessary classes * chore(docs): undo .sponsorsrc since it's generated --------- Co-authored-by: WK Wong <[email protected]> * fix(date-picker): adding props from calendarProps to getCalendarProps (#3773) * fix(date-picker): adding props from calendarProps to the getCalendarProps * chore(date-picker): adding the changeset * chore(changeset): add issue number --------- Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: WK Wong <[email protected]> * feat(autocomplete): automatically focus first non-disabled item (#2186) Co-authored-by: WK Wong <[email protected]> * docs(accordion): add overflow to custom motion example (#3793) * fix(docs): typos in dark mode page (#3823) * fix(theme): fullWidth in input and select (#3768) * fix(input): fixing the fullWidth functionality * chore(changeset): add issue number * chore(changeset): revise changeset message --------- Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: WK Wong <[email protected]> * fix(autocomplete): exit animation on popover close (#3845) * fix(autocomplete): exit animation on popover close * refactor(autocomplete): getListBoxProps --------- Co-authored-by: WK Wong <[email protected]> * refactor(theme): replace the use of RTL-specific styles with logical properties (#3868) * chore(rtl): remove the usages of rtl * chore(changeset): adding the changeset * chore(changeset): update changeset message --------- Co-authored-by: WK Wong <[email protected]> * fix(select): label placement discrepancy in Select (#3853) * fix(select): label placement incorrect in case of multiline * chore(select): adding the changeset * chore(select): adding the tests * chore(select): code imrovement, wkw's suggestions * chore(changeset): update changeset message --------- Co-authored-by: WK Wong <[email protected]> * fix(theme): label placement in select and input (#3869) * fix(theme): fix the label placement * chore(changeset): adding the changeset * chore(select): adding comments * fix(docs): avoid translating the code block (#3878) * docs(Codeblock): avoid code be translated * fix(docs): lint issue --------- Co-authored-by: WK Wong <[email protected]> * fix(listbox): change listBoxItem key to optional (#3883) * fix(listbox): listBoxItem key to optional * chore: add defaultSelectedKeys test for numeric keys and ids * chore: add changeset * chore: comment out section prompts in PR template (#3884) * chore(test): update testing libraries and refactor (#3886) * fix(theme): show margin only with label in Switch component (#3861) * fix(switch): removed right margin in wrapper #3791 * feat(changeset): added changeset * fix(switch): removed me-2 in wrapper * fix(switch): added ms-2 to label * chore(changeset): correct package and message --------- Co-authored-by: WK Wong <[email protected]> * fix(theme): removed pseudo cancel btn from input (#3912) * fix(theme): removed pseudo cancel btn from input * chore(changeset): adding the changeset * fix(input): conditionally hiding the webkit search * chore(changeset): revise changeset message --------- Co-authored-by: WK Wong <[email protected]> * refactor(docs): dx improvement in accordion (#3856) * refactor: improve dx for writing a docs component (#2544) * refactor: improve dx for write a docs component Signed-off-by: Innei <[email protected]> * refactor(docs): switch to contentlayer2 * chore(docs): rename to avoid conflict * refactor(docs): switch to next-contentlayer2 * refactor(docs): revise docs lib * chore(deps): bump docs related dependencies * fix(use-aria-multiselect): type issue due to ts version bump --------- Signed-off-by: Innei <[email protected]> Co-authored-by: WK Wong <[email protected]> * refactor(docs): accordion codes * feat(docs): declare module `*.jsx?raw` * feat(docs): include `**/*.jsx` * fix(docs): incorrect content * chore(docs): add new lines * refactor(docs): lint --------- Signed-off-by: Innei <[email protected]> Co-authored-by: Innei <[email protected]> * fix(docs): typos in hero section (#3928) * fix(theme): support RTL for breadcrumbs (#3927) * fix(breadcrumbs): added separator rotation for RTL #2486 * chore(changeset): added changeset * fix(docs): removed unused import and merged classNames in dropdown (#3936) * fix(breadcrumbs): added separator rotation for RTL #2486 * chore(changeset): added changeset * fix(docs): removed unused Link import and merged classnames in dropdown * fix: avatar filter disableAnimation to dom prop (#3946) * feat: add git hook to auto update dependencies (#3365) * feat: add git hook to auto update dependencies * feat: update color * fix: prevent test matcher warning (#3893) * fix: prevent test matcher warning * chore: add node types * chore: update Jest related packages * chore: run pnpm install * fix(tabs): correct inert value for true condition (#3978) * Alert component (#3982) * feat(alert): began the work on alert component * fix(readme): making correction * chore(deps): change to 2.0.0 * chore(docs): update README.md * feat(theme): init alert tv * chore(alert): update package.json * feat(alert): init alert storybook structure * chore(changeset): add changeset * chore(changeset): change to minor * chore(alert): revise alert package.json * feat(alert): init test structure * chore(deps): pnpm-lock.yaml * feat(alert): initailized theme and basic structure * feat(alert): completed use-alert.ts and alert.tsx * feat(alert): remove innerWrapper, replace helperWrapper with mainWrapper, adding isCloseable prop * feat(alert): adding isCloseable prop to baseWrapper dependency * feat(alert): setting the default value of isCloseable prop to true * feat(alert): moving CloseIcon inside the button * feat(alert): updated package.json * feat(alert): default variant and default story * feat(alert): adding color and radius stories * feat(alert): completed the styling * feat(alert): add stories for isCloseable prop and restyle other stories * feat(alert): correcting ref type * feat(alert): add test cases * feat(alert): remove startContent and endContent props * feat(alert): make styling more accurate * feat(alert): fixed default props * feat(alert): fixed theme docs * feat(alert): add logic for icons * feat(alert): begin to add docs * chore(alert): implement the changes suggested in code review * feat(alert): add onclose prop to alert * feat(alert): add test cases * docs(alert): add onClose event * feat(docs): add alert to routes.json * fix(alert): correct the text colors * docs(alert): fix imports and syntax errors * chore(alert): implement the changes suggested in code review * chore(alert): lint the code and change isCloseable to isClosable * chore(alert): lint the code * chore(alert): run pnpm i * fix(alert): fix the logic for close button and add test case * docs(alert): fix docs, change isCloseable to isClosable and change docs for isClosable property * chore(alert): add the support for RTL, refactor the code and fix the typos * docs(alert): grammer issues fix * fix(alert): replace rtl with ms * chore(alert): custom style and custom implementation, remove isClosable={false}, refactor, fix typos * chore(alert): linting and implement coderabbit suggestions * chore(alert): refactor and typos fix * chore(alert): add import for closeIcon * chore(alert): add props for closeIcon * chore(alert): refactor fixes * chore(alert): implement ryo-manba's suggestion on close Icon * chore(alert): make alert more responsive * chore(alert): fix grammer issues suggested by coderabbit * fix(alert): add max-w property to make alert responsive * chore(alert): improve responsiveness and refactor alertIcon * chore(alert): add missing dependency to useMemo * chore(alert): implement coderabbit's suggestions * chore(alert): update docs and refactor * chore(alert): refactor alertIcon and implement coderabbit's suggestion * chore: fixes --------- Co-authored-by: Abhinav Agarwal <[email protected]> Co-authored-by: WK Wong <[email protected]> Co-authored-by: Abhinav Agarwal <[email protected]> * Feat/add draggable modal (#3983) * feat(hooks): add use-draggable hook * feat(components): [modal] export use-draggable * docs(components): [modal] add draggable modal * feat(components): [modal] add ref prop for modal-header * chore(components): [modal] add draggable modal for storybook * chore: add changeset for draggable modal * docs(hooks): [use-draggable] fix typo * chore: upper changeset * chore(components): [modal] add overflow draggable modal to sb * test(components): [modal] add draggable modal tests * build: update pnpm-lock * chore(changeset): include issue number * feat(hooks): [use-draggable] set user-select to none when during the dragging * docs(components): [modal] update code demo title * docs(components): [modal] condense description for draggable overflow * feat(hooks): [use-draggable] change version to 0.1.0 * refactor(hooks): [use-draggable] use use-move implement use-draggable * feat(hooks): [use-draggable] remove repeated user-select * test(components): [modal] update test case to use-draggable base use-move * docs(components): [modal] update draggable examples * fix(hooks): [use-draggable] fix mobile device touchmove event conflict * refactor(hooks): [use-draggable] remove drag ref prop * refactor(hooks): [use-draggable] draggable2is-disabled overflow2can-overflow * test(components): [modal] add draggble disable test * chore(hooks): [use-draggable] add commant for body touchmove * Update packages/hooks/use-draggable/src/index.ts Co-authored-by: Ryo Matsukawa <[email protected]> * fix(hooks): [use-draggable] import use-callback * test(components): [modal] add mobile-sized test for draggable * chore(hooks): [use-draggable] add use-callback for func * chore(hooks): [use-draggable] update version to 2.0.0 * chore: fix typo * Update .changeset/soft-apricots-sleep.md * fix: pnpm lock * fix: build * chore: add updated moadl --------- Co-authored-by: wzc520pyfm <[email protected]> Co-authored-by: աɨռɢӄաօռɢ <[email protected]> Co-authored-by: Ryo Matsukawa <[email protected]> * chore: upgrade react-aria / React 19 & Next.js 15 support (#3732) * chore: upgrade react-aria * chore: add changeset * chore: fix type error --------- Co-authored-by: Junior Garcia <[email protected]> * feat(date-picker): add selectorButtonPlacement property (#3248) * feat(date-picker): add selectorButtonPlacement property * chore: update changeset * Update .changeset/neat-donkeys-accept.md Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: Junior Garcia <[email protected]> * feat: add tab ref (#3974) * feat: add tab ref * feat: add changeset * feat: pre-release workflow (#2910) * feat(workflow): pre-release * feat(workflow): exit pre-release * chore(workflow): update version & publish commands * fix(workflow): add missing attributes and use schangeset:beta cmd * feat(root): add changeset:beta * fix(workflows): revise pre-release logic * fix(workflows): add missing run * fix(workflows): use changeset:exit with version instead * feat(root): add changeset:exit cmd * refactor(workflows): add pths, id, and format * feat(workflows): enter pre-release mode * chore(workflows): remove pre.json only * refactor(workflows): remove enter-pre-release-mode * fix(workflows): incorrect url * refactor(root): remove unused exit command * refactor(workflows): add comments * feat(changeset): change to main branch as baseBranch * feat(root): add changeset:canary * refactor(workflows): remove unused workflow * feat(workflow): support canary pre-release mode * refactor(docs): change to canary * feat(popover): added control for closing popover on scroll (#3595) * fix(navbar): fixed the height when style h-full * fix(navbar): fixed the height when style h-full * docs(changeset): resolved extra file * feat(popover): added control for closing popover on scroll * update(changeset): correction * feat(popover): removed extra story * refactor(test): corrected test for both true and false values of shouldCloseOnScroll * refactor(docs): added shouldCloseOnScroll prop * chore(changeset): change to minor --------- Co-authored-by: աӄա <[email protected]> * feat: add month and year pickers to DateRangePicker and RangeCalendar (#3302) * feat: add month and year pickers to DateRangePicker and RangeCalendar * chore: update docs * Update .changeset/kind-cobras-travel.md * chore: react package version --------- Co-authored-by: Junior Garcia <[email protected]> * chore(deps): bump tailwind-merge version (#3657) * chore(deps): bump tailwind-merge versions * chore(theme): adopt latest extendTailwindMerge * chore(changeset): add changeset * chore(changeset): change to minor * Update .changeset/grumpy-mayflies-rhyme.md --------- Co-authored-by: Junior Garcia <[email protected]> * feat: added drawer component (#3986) Signed-off-by: The1111mp <[email protected]> Co-authored-by: The1111mp <[email protected]> * refactor: optimisations (#3523) * refactor: replace lodash with native approaches * refactor(deps): update framer-motion versions * feat(utilities): add @nextui-org/dom-animation * refactor(components): load domAnimation dynamically * refactor(deps): add @nextui-org/dom-animation * fix(utilities): relocate index.ts * feat(changeset): framer motion optimization * chore(deps): bump framer-motion version * fix(docs): conflict issue * refactor(hooks): remove the unnecessary this aliasing * refactor(utilities): remove the unnecessary this aliasing * chore(docs): remove {} so that it won't be true all the time * chore(dom-animation): end with new line * refactor(hooks): use debounce from `@nextui-org/shared-utils` * chore(deps): add `@nextui-org/shared-utils` * refactor: move mapKeys logic to `@nextui-org/shared-utils` * refactor: use `get` from `@nextui-org/shared-utils` * refactor(docs): use `get` from `@nextui-org/shared-utils` * refactor(shared-utils): mapKeys * chore(deps): bump framer-motion version * chore(deps): remove lodash * refactor(docs): use intersectionBy from shared-utils * feat(shared-utils): add intersectionBy * chore(dom-animation): remove extra blank line * refactor(shared-utils): revise intersectionBy * fix(modal): add willChange * refactor(shared-utils): add comments * fix: build & tests --------- Co-authored-by: Junior Garcia <[email protected]> * feat(hooks): use-theme hook (#3169) * feat(docs): update dark mode content * feat(hooks): @nextui-org/use-theme * chore(docs): revise ThemeSwitcher code * refactor(hooks): simplify useTheme and support custom theme names * feat(hooks): add use-theme test cases * feat(changeset): add changeset * refactor(hooks): make localStorageMock globally and clear before each test * fix(docs): typo * fix(hooks): coderabbitai comments * chore(hooks): remove unnecessary + * chore(changeset): change to minor * feat(hooks): handle system theme * chore(hooks): add EOL * refactor(hooks): add default theme * refactor(hooks): revise useTheme * refactor(hooks): resolve pr comments * refactor(hooks): resolve pr comments * refactor(hooks): resolve pr comments * refactor(hooks): remove unused theme in dependency array * chore(docs): typos * refactor(hooks): mark system as key for system theme * chore: merged with canary --------- Co-authored-by: Junior Garcia <[email protected]> * Fix/avatar flashing (#3987) * fix(use-image): cached image flashing * chore: merged with canary --------- Co-authored-by: Rakha Kanz Kautsar <[email protected]> * refactor(menu): Use `useMenu` and `useMenuItem` from RA (#3261) * refactor(menu): use useMenu from react-aria instead * refactor(menu): use useMenuItem from react-aria instead * feat(changeset): add changeset * chore: merged with canary * fix: dropdown tests --------- Co-authored-by: Junior Garcia <[email protected]> * fix(theme): added stripe color gradients for progress (#3938) * fix(breadcrumbs): added separator rotation for RTL #2486 * chore(changeset): added changeset * fix(docs): removed unused Link import and merged classnames in dropdown * fix(theme):added stripe color gradients for progress #1933 * refactor(theme): added stripe-size and createStripeGradient * chore: add all minor releases * fix(docs): invalid canary storybook link (#4030) * fix(use-image): image ReferenceError in SSR (#4122) * fix(use-image): image ReferenceError in SSR * fix(use-image): sync with beta * fix(use-image): sync with beta * chore(use-image): remove unnecessary comments * fix(docs): buildLocation expects an object (#4118) * fix(docs): routing.mdx * Delete .changeset/pre.json * chore(docs): update yarn installation command (#4132) There is no `-g` flag in yarn. `global` is a command which must immediately follow yarn. Source: https://classic.yarnpkg.com/lang/en/docs/cli/global/ * chore: upgrade storybook 8 (#4124) * feat: upgrade storybook8 * chore: upgrade storybook and vite * chore: remove @mdx-js/react optimizeDep * chore: add @mdx-js/react optimizeDep * fix: format * docs: add forms guide (#3822) * v2.5.0 [BETA] (#4164) * chore(pre-release): enter pre-release mode * fix(theme): apply tw nested group (#3909) * chore(changset): add changeset * fix(theme): apply nested group to table * chore(docs): update table bottomContent code * fix: changeset * fix: changeset * fix: changeset * fix: changeset * fix: changeset * fix: pkg versions * fix: changeset * fix: drawer peer dep * chore: update plop components tempalte * ci(changesets): version packages (beta) (#3988) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: pre-release workflow * chore: debug log added * chore: force pre-release * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * chore: beta1 (#3990) * ci(changesets): version packages (beta) (#3991) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(use-image): image ReferenceError in SSR (#3993) * fix(input): fixed a sliding issue caused by the helper wrapper (#3966) * If it is false and there is an error message or description it will create a div * Update packages/components/input/src/input.tsx * Update packages/components/select/src/select.tsx * Update packages/components/input/src/textarea.tsx * add changeset * changeset update * ci(changesets): version packages (beta) (#3995) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: image loading in the server (#3996) * fix: lock file * chore: force release * chore: force release 2 * ci(changesets): version packages (beta) (#3997) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: image load on next.js (#3998) * ci(changesets): version packages (beta) (#3999) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: element.ref was removed in React 19 warning (#4003) * ci(changesets): version packages (beta) (#4004) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: react 19 as peer dep (#4008) * ci(changesets): version packages (beta) (#4009) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Beta/react 19 support (#4010) * fix: react 19 as peer dep * fix: react 19 as peer dep * chore: support framer-motion alpha version * ci(changesets): version packages (beta) (#4011) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(theme): making select and input themes consistent (#3881) * ci(changesets): version packages (beta) (#4012) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: support inert value with boolean type for react 19 (#4039) * ci(changesets): version packages (beta) (#4041) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: alert design improved (#4054) * ci(changesets): version packages (beta) (#4056) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: drawer improvements (#4057) * ci(changesets): version packages (beta) (#4058) * feat: alert styles improved (#4071) * ci(changesets): version packages (beta) (#4072) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: alert styles improved (#4073) * ci(changesets): version packages (beta) (#4074) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: add number of stars and credits * chore: fix build * chore: improve navabr colors * chore: new changeset (#4083) * ci(changesets): version packages (beta) (#4084) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: pnpm cleaned (#4086) * ci(changesets): version packages (beta) (#4087) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: custom runnner added * chore: custom runner test (#4091) * Beta/custom runner (#4092) * chore: custom runner test * chore: custom runner test * chore: remove 2 from older changeset * ci(changesets): version packages (beta) (#4093) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: new demo added to alert * Feat/virtualization for autocomplete (#4094) * feat: add react-window virtualization for autocomplete * fix: wrong imports and wrong sizing * fix: update pnpm lock * chore: add test cases for large dataset (1000 and 10000 items) * chore: move virtualized-listbox to listbox components folder, implement isVirtualized conditional * feat: implement dynamic listboxheight n item height, add story * chore: rename props, remove unnecessary line changes * fix: maxHeight style 256px for default, conditional usage of virtualizer * feat: migrate to tan-stack virtual. (todo: fix scroll shadow) * feat: virtualization support --------- Co-authored-by: Vincentius Roger Kuswara <[email protected]> * ci(changesets): version packages (beta) (#4095) * feat: small fixes * feat: add reducedMotion setting to Provider (#3470) * feat: add reducedMotion setting to Provider * chore: refactor reducedMotion story * Update .changeset/pretty-parrots-guess.md --------- Co-authored-by: Junior Garcia <[email protected]> * ci(changesets): version packages (beta) (#4106) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: move circular-progress tv to progress (#3321) * fix: remove circular-progress tv to progress * docs: changeset * chore(changeset): update changeset message * Update .changeset/angry-maps-serve.md --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * fix: label placement when the select has a placeholder or description (#4126) * ci(changesets): version packages (beta) (#4107) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(deps): add missing `framer-motion` in `peerDependencies` (#4140) * fix(theme): add truncate class to the list item to avoid overflow the wrapper (#4105) * fix(docs): invalid canary storybook link (#4030) * fix: menu item hidden overflow text * feat: changeset * Merge branch 'beta/release-next' into fix/menu-item-hidden * fix: truncate list item * feat: update changeset * fix(menu): omit internal props --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * feat(table): add isKeyboardNavigationDisabled prop to the table (#3735) Co-authored-by: Maharshi Alpesh <[email protected]> * feat: add form component (#3036) * chore: add support validationBehavior aria * chore: add validationBehavior to Provider * chore: add autocomplete validation test * chore: add checkbox validation test * fix(input): require condition * docs: add description of validationBehavior props * chore: add support validationBehavior props for date components * docs(dates): add description of validationBehavior props * chore: add changeset * chore: format * chore: fix test * fix: select validationBehavior is not support yet * fix: select validationBehavior not supported yet * feat: add form component with input support * feat: add support form context * chore: wip add support for form server errors * chore: add support checkbox server validation * chore: add support radio server validation * chore: update pnpm-lock.yaml * chore: add support input server validation * chore: add support autocomplete server validation * chore(form): add server validation stories * chore: fix test * chore: add date-picker validation test * chore: update form stories * chore: add changeset * chore: update react-aria version * chore: add pnpm-lock.yaml * chore: update react-aria version * chore: add comment * chore: update react-aria version * chore: fix change set * chore: export form component in the main package * chore: upgrade react-aria * chore: fixed internationalized/date version * fix: build error * chore: upgrade docs react-aria version * fix: remove comment * fix: debug setting * chore(docs): update sponsor (#3904) * chore(docs): remove Scrumbuiss * chore(docs): remove Scrumbuiss logo * chore(docs): replace va by posthog (#4123) * chore(changeset): change to patch * refactor: react-aria-components remove to decrease package size, logic moved to the form package --------- Co-authored-by: Junior Garcia <[email protected]> Co-authored-by: WK Wong <[email protected]> * docs: add forms guide (#4155) Co-authored-by: Ryo Matsukawa <[email protected]> * chore: routes updated * ci(changesets): version packages (beta) (#4151) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: fix indentation * fix(changeset): package not be found * ci(changesets): version packages (beta) (#4158) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(select): controlled isInvalid prop (#4082) * fix(select): controlled isInvalid prop * chore: add changeset * Merge branch 'beta/release-next' into pr/4082 --------- Co-authored-by: WK Wong <[email protected]> * ci(changesets): version packages (beta) (#4159) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore(changeset): bump all versions * ci(changesets): version packages (beta) (#4160) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(deps): missing peer / dev dependency for framer-motion (#4161) * fix(system): align `navigate` function parameters with `@react-aria` (#4163) * fix: menu item classNames not work (#4156) * fix: menu item classNames not work * feat: changeset * docs: update * feat: merge classes utility added * Update .changeset/brave-trains-wave.md --------- Co-authored-by: WK Wong <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * chore(docs): remove incorrect info * ci(changesets): version packages (beta) (#4162) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * refactor(docs): overall dx (#4055) * refactor(docs): revise code block (#3922) * refactor(docs): revise code block * chore(docs): resolve pr comments * refactor(docs): autocomplete dx (#3934) * feat(docs): add *.js?raw module * feat(docs): change to react-jsx and add **/*.js * chore(root): include js and jsx * refactor(docs): autocomplete dx * chore(docs): rollback overrides * chore(autocomplete): lint * fix(autocomplete): incorrect import path * fix(docs): autocomplete dx * chore(docs): remove highlightedLines * refactor(docs): breadcrumbs dx (#3968) * refactor(docs): breadcrumbs dx * fix(docs): export issue * chore(docs): use preserve for jsx * fix(docs): support multiline import * fix(docs): support multiple export * chore(docs): add back export * refactor(docs): avatar dx (#3951) * refactor(docs): badge dx (#3960) * refactor(docs): badge dx * chore(docs): incorrect import path * refactor(docs): button dx (#3981) * refactor(docs): calendar dx (#4022) * refactor(docs): calendar dx * fix(docs): incorrect import path * refactor(docs): switch dx (#4037) * refactor(docs): switch dx * chore(docs): remove highlightedLines * refactor(docs): tooltip (#4035) * refactor(docs): usage dx (#4036) * refactor(docs): circular-progress dx (#4029) * refactor(docs): chip-dx (#4028) * refactor(docs): checkbox-group dx (#4027) * refactor(docs): checkbox dx (#4024) * refactor(docs): checkbox dx * fix(docs): incorrect import path * refactor(docs): card dx (#4023) * refactor(docs): skeleton dx (#4042) * refactor(docs): spacer dx (#4043) * refactor(docs): snippet dx (#4044) * refactor(docs): scroll-shadow dx (#4045) * refactor(docs): code dx (#4046) * refactor(docs): kbd dx (#4047) * refactor(docs): link dx (#4048) * refactor(docs): progress dx (#4049) * refactor(docs): divider dx (#4050) * refactor(docs): listbox dx (#4051) * refactor(docs): listbox dx * fix(docs): import path * fix(docs): import path * chore(docs): remove highlightedLines * fix(docs): indentation * chore(docs): replace the props of autocomplete from value to key (#4129) * refactor(docs): alert dx (#4108) * refactor(docs): alert dx * refactor(docs): alert dx * refactor(docs): image dx (#4061) * refactor(docs): textarea dx (#4063) * refactor(docs): spinner dx (#4088) * refactor(docs): radio-group dx (#4064) * refactor(docs): pagination dx (#4062) * refactor(docs): pagination dx * refactor(docs): pagination dx * refactor(docs): time-input dx (#4065) * refactor(docs): time-input dx * refactor(docs): time-input dx * refactor(docs): slider dx (#4066) * refactor(docs): slider dx * refactor(docs): slider dx * refactor(docs): move SliderValue to type * refactor(docs): slider dx * refactor(docs): make icon code collapsible * refactor(docs): specify versions for date packages (#4138) * refactor(docs): specify versions for date packages * fix(docs): correct RA i18n version * chore(deps): sync version from package * refactor(docs): tabs dx (#4067) * refactor(docs): tab dx * refactor(docs): tabs dx * refactor(docs): input dx (#4102) * refactor(docs): input dx * refactor(docs): input dx * refactor(docs): navbar dx (#4076) * refactor(docs): navbar dx * refactor(docs): navbar dx * refactor(docs): navbar dx * refactor(docs): modal dx (#4077) * refactor(docs): modal dx * refactor(docs): modal dx * refactor(docs): select dx (#4078) * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): table dx (#4079) * refactor(docs): table dx * fix(docs): import path * refactor(docs): table dx * refactor(docs): table dx * refactor(docs): popover dx (#4090) * refactor(docs): range-calendar dx (#4089) * refactor(docs): range-calendar dx * fix(docs): import path * refactor(docs): date input dx (#4100) * refactor(docs): dropdown dx (#4101) * refactor(docs): dropdown dx * refactor(docs): remove highlightedLines * refactor(docs): dropdown dx * refactor(docs): dropdown dx * refactor(docs): date-picker dx (#4103) * refactor(docs): date-picker dx * fix(docs): import paths * refactor(docs): date-range-picker dx (#4104) * refactor(docs): date-range-picker dx * fix(docs): date-range-picker dx * refactor(docs): drawer dx (#4109) * refactor(docs): drawer dx * fix(docs): indentation * refactor(docs): make icon collapsible --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Ryo Matsukawa <[email protected]> * feat(input-otp): introduce input OTP component (#4052) * feat(input-otp): adding the functionality * fix(input-otp): making the use of input-otp library * Update .changeset/spotty-flies-jump.md * chore(input-otp): nits * feat: improvements and fixes added * refactor: input-otp docs improvements * fix: changeset * fix: build --------- Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * ci(changesets): version packages (beta) (#4169) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * refactor(theme): revise label font size for lg (#4141) * refactor(theme): revise label font size for lg * chore(changeset): add changeset * refactor(theme): revise label font size for lg * fix(docs): typecheck errors (#4171) * fix(docs): remove duplicate import * fix(docs): update type for onChange in range-calendar page * fix(docs): add missing `@react-types/calendar` * fix(docs): broken syntax * fix(docs): typecheck issues * fix(docs): add missing `@react-types/datepicker` * fix(docs): typecheck issues * fix: missing li tag when href is specified (#4168) * fix(items): items in list should wrapped in li in case of a * chore: adding the tests * Feat/textarea add clear button (#4172) * feat(components): add clear button to the textarea component * docs(textarea): add test and changeset * feat(textarea): modify the changeset file * feat(textarea): add clear button to textarea * feat(textarea): add isClearable prop to textarea * docs(textarea): add documentation to textarea * docs(textarea): add documentation to textarea * feat(textarea): replace the textarea component clear icon and modify its location * feat(textarea): revise the clear button position * feat(textarea): revise the clear button structure * feat(textarea): revise the styles of clear button and textarea * feat(textarea): revise the styles of RTL case * feat(textarea): change the rtl to pe * feat(textarea): delete the px classname * chore(changeset): update package and message * test(textarea): add test case * feat(textarea): change the clear button structure * feat(textarea): optimized code * chore(textarea): update the changeset file * docs(textarea): add slots doc to textarea * chore(textarea): update peerDevpeerDependencies version * chore(textarea): add usecallback dep * Update .changeset/five-adults-protect.md * chore(pre-release): enter pre-release mode * feat(textarea): modify the clear button icon * fix(theme): apply tw nested group (#3909) * chore(changset): add changeset * fix(theme): apply nested group to table * chore(docs): update table bottomContent code * fix: changeset * fix: changeset * fix: changeset * fix: changeset * fix: changeset * fix: pkg versions * fix: changeset * fix: drawer peer dep * chore: update plop components tempalte * ci(changesets): version packages (beta) (#3988) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: pre-release workflow * chore: debug log added * chore: force pre-release * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * chore: beta1 (#3990) * ci(changesets): version packages (beta) (#3991) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(use-image): image ReferenceError in SSR (#3993) * fix(input): fixed a sliding issue caused by the helper wrapper (#3966) * If it is false and there is an error message or description it will create a div * Update packages/components/input/src/input.tsx * Update packages/components/select/src/select.tsx * Update packages/components/input/src/textarea.tsx * add changeset * changeset update * ci(changesets): version packages (beta) (#3995) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: image loading in the server (#3996) * fix: lock file * chore: force release * chore: force release 2 * ci(changesets): version packages (beta) (#3997) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: image load on next.js (#3998) * ci(changesets): version packages (beta) (#3999) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: element.ref was removed in React 19 warning (#4003) * ci(changesets): version packages (beta) (#4004) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: react 19 as peer dep (#4008) * ci(changesets): version packages (beta) (#4009) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Beta/react 19 support (#4010) * fix: react 19 as peer dep * fix: react 19 as peer dep * chore: support framer-motion alpha version * ci(changesets): version packages (beta) (#4011) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(theme): making select and input themes consistent (#3881) * ci(changesets): version packages (beta) (#4012) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(textarea): fix clearButton display * fix: support inert value with boolean type for react 19 (#4039) * ci(changesets): version packages (beta) (#4041) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: alert design improved (#4054) * ci(changesets): version packages (beta) (#4056) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: drawer improvements (#4057) * ci(changesets): version packages (beta) (#4058) * feat: alert styles improved (#4071) * ci(changesets): version packages (beta) (#4072) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: alert styles improved (#4073) * ci(changesets): version packages (beta) (#4074) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: add number of stars and credits * chore: fix build * chore: improve navabr colors * chore: new changeset (#4083) * ci(changesets): version packages (beta) (#4084) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: pnpm cleaned (#4086) * ci(changesets): version packages (beta) (#4087) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: custom runnner added * chore: custom runner test (#4091) * Beta/custom runner (#4092) * chore: custom runner test * chore: custom runner test * chore: remove 2 from older changeset * ci(changesets): version packages (beta) (#4093) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: new demo added to alert * Feat/virtualization for autocomplete (#4094) * feat: add react-window virtualization for autocomplete * fix: wrong imports and wrong sizing * fix: update pnpm lock * chore: add test cases for large dataset (1000 and 10000 items) * chore: move virtualized-listbox to listbox components folder, implement isVirtualized conditional * feat: implement dynamic listboxheight n item height, add story * chore: rename props, remove unnecessary line changes * fix: maxHeight style 256px for default, conditional usage of virtualizer * feat: migrate to tan-stack virtual. (todo: fix scroll shadow) * feat: virtualization support --------- Co-authored-by: Vincentius Roger Kuswara <[email protected]> * ci(changesets): version packages (beta) (#4095) * feat: small fixes * feat: add reducedMotion setting to Provider (#3470) * feat: add reducedMotion setting to Provider * chore: refactor reducedMotion story * Update .changeset/pretty-parrots-guess.md --------- Co-authored-by: Junior Garcia <[email protected]> * ci(changesets): version packages (beta) (#4106) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: move circular-progress tv to progress (#3321) * fix: remove circular-progress tv to progress * docs: changeset * chore(changeset): update changeset message * Update .changeset/angry-maps-serve.md --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * fix: label placement when the select has a placeholder or description (#4126) * ci(changesets): version packages (beta) (#4107) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(deps): add missing `framer-motion` in `peerDependencies` (#4140) * fix(theme): add truncate class to the list item to avoid overflow the wrapper (#4105) * fix(docs): invalid canary storybook link (#4030) * fix: menu item hidden overflow text * feat: changeset * Merge branch 'beta/release-next' into fix/menu-item-hidden * fix: truncate list item * feat: update changeset * fix(menu): omit internal props --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * Update apps/docs/content/docs/components/textarea.mdx * feat(table): add isKeyboardNavigationDisabled prop to the table (#3735) Co-authored-by: Maharshi Alpesh <[email protected]> * feat: add form component (#3036) * chore: add support validationBehavior aria * chore: add validationBehavior to Provider * chore: add autocomplete validation test * chore: add checkbox validation test * fix(input): require condition * docs: add description of validationBehavior props * chore: add support validationBehavior props for date components * docs(dates): add description of validationBehavior props * chore: add changeset * chore: format * chore: fix test * fix: select validationBehavior is not support yet * fix: select validationBehavior not supported yet * feat: add form component with input support * feat: add support form context * chore: wip add support for form server errors * chore: add support checkbox server validation * chore: add support radio server validation * chore: update pnpm-lock.yaml * chore: add support input server validation * chore: add support autocomplete server validation * chore(form): add server validation stories * chore: fix test * chore: add date-picker validation test * chore: update form stories * chore: add changeset * chore: update react-aria version * chore: add pnpm-lock.yaml * chore: update react-aria version * chore: add comment * chore: update react-aria version * chore: fix change set * chore: export form component in the main package * chore: upgrade react-aria * chore: fixed internationalized/date version * fix: build error * chore: upgrade docs react-aria version * fix: remove comment * fix: debug setting * chore(docs): update sponsor (#3904) * chore(docs): remove Scrumbuiss * chore(docs): remove Scrumbuiss logo * chore(docs): replace va by posthog (#4123) * chore(changeset): change to patch * refactor: react-aria-components remove to decrease package size, logic moved to the form package --------- Co-authored-by: Junior Garcia <[email protected]> Co-authored-by: WK Wong <[email protected]> * docs: add forms guide (#4155) Co-authored-by: Ryo Matsukawa <[email protected]> * chore: routes updated * ci(changesets): version packages (beta) (#4151) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: fix indentation * fix(changeset): package not be found * ci(changesets): version packages (beta) (#4158) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(select): controlled isInvalid prop (#4082) * fix(select): controlled isInvalid prop * chore: add changeset * Merge branch 'beta/release-next' into pr/4082 --------- Co-authored-by: WK Wong <[email protected]> * ci(changesets): version packages (beta) (#4159) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore(changeset): bump all versions * ci(changesets): version packages (beta) (#4160) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(deps): missing peer / dev dependency for framer-motion (#4161) * fix(system): align `navigate` function parameters with `@react-aria` (#4163) * fix: menu item classNames not work (#4156) * fix: menu item classNames not work * feat: changeset * docs: update * feat: merge classes utility added * Update .changeset/brave-trains-wave.md --------- Co-authored-by: WK Wong <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * chore(docs): remove incorrect info * ci(changesets): version packages (beta) (#4162) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * refactor(docs): overall dx (#4055) * refactor(docs): revise code block (#3922) * refactor(docs): revise code block * chore(docs): resolve pr comments * refactor(docs): autocomplete dx (#3934) * feat(docs): add *.js?raw module * feat(docs): change to react-jsx and add **/*.js * chore(root): include js and jsx * refactor(docs): autocomplete dx * chore(docs): rollback overrides * chore(autocomplete): lint * fix(autocomplete): incorrect import path * fix(docs): autocomplete dx * chore(docs): remove highlightedLines * refactor(docs): breadcrumbs dx (#3968) * refactor(docs): breadcrumbs dx * fix(docs): export issue * chore(docs): use preserve for jsx * fix(docs): support multiline import * fix(docs): support multiple export * chore(docs): add back export * refactor(docs): avatar dx (#3951) * refactor(docs): badge dx (#3960) * refactor(docs): badge dx * chore(docs): incorrect import path * refactor(docs): button dx (#3981) * refactor(docs): calendar dx (#4022) * refactor(docs): calendar dx * fix(docs): incorrect import path * refactor(docs): switch dx (#4037) * refactor(docs): switch dx * chore(docs): remove highlightedLines * refactor(docs): tooltip (#4035) * refactor(docs): usage dx (#4036) * refactor(docs): circular-progress dx (#4029) * refactor(docs): chip-dx (#4028) * refactor(docs): checkbox-group dx (#4027) * refactor(docs): checkbox dx (#4024) * refactor(docs): checkbox dx * fix(docs): incorrect import path * refactor(docs): card dx (#4023) * refactor(docs): skeleton dx (#4042) * refactor(docs): spacer dx (#4043) * refactor(docs): snippet dx (#4044) * refactor(docs): scroll-shadow dx (#4045) * refactor(docs): code dx (#4046) * refactor(docs): kbd dx (#4047) * refactor(docs): link dx (#4048) * refactor(docs): progress dx (#4049) * refactor(docs): divider dx (#4050) * refactor(docs): listbox dx (#4051) * refactor(docs): listbox dx * fix(docs): import path * fix(docs): import path * chore(docs): remove highlightedLines * fix(docs): indentation * chore(docs): replace the props of autocomplete from value to key (#4129) * refactor(docs): alert dx (#4108) * refactor(docs): alert dx * refactor(docs): alert dx * refactor(docs): image dx (#4061) * refactor(docs): textarea dx (#4063) * refactor(docs): spinner dx (#4088) * refactor(docs): radio-group dx (#4064) * refactor(docs): pagination dx (#4062) * refactor(docs): pagination dx * refactor(docs): pagination dx * refactor(docs): time-input dx (#4065) * refactor(docs): time-input dx * refactor(docs): time-input dx * refactor(docs): slider dx (#4066) * refactor(docs): slider dx * refactor(docs): slider dx * refactor(docs): move SliderValue to type * refactor(docs): slider dx * refactor(docs): make icon code collapsible * refactor(docs): specify versions for date packages (#4138) * refactor(docs): specify versions for date packages * fix(docs): correct RA i18n version * chore(deps): sync version from package * refactor(docs): tabs dx (#4067) * refactor(docs): tab dx * refactor(docs): tabs dx * refactor(docs): input dx (#4102) * refactor(docs): input dx * refactor(docs): input dx * refactor(docs): navbar dx (#4076) * refactor(docs): navbar dx * refactor(docs): navbar dx * refactor(docs): navbar dx * refactor(docs): modal dx (#4077) * refactor(docs): modal dx * refactor(docs): modal dx * refactor(docs): select dx (#4078) * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): table dx (#4079) * refactor(docs): table dx * fix(docs): import path * refactor(docs): table dx * refactor(docs): table dx * refactor(docs): popover dx (#4090) * refactor(docs): range-calendar dx (#4089) * refactor(docs): range-calendar dx * fix(docs): import path * refactor(docs): date input dx (#4100) * refactor(docs): dropdown dx (#4101) * refactor(docs): dropdown dx * refactor(docs): remove highlightedLines * refactor(docs): dropdown dx * refactor(docs): dropdown dx * refactor(docs): date-picker dx (#4103) * refactor(docs): date-picker dx * fix(docs): import paths * refactor(docs): date-range-picker dx (#4104) * refactor(docs): date-range-picker dx * fix(docs): date-range-picker dx * refactor(docs): drawer dx (#4109) * refactor(docs): drawer dx * fix(docs): indentation * refactor(docs): make icon collapsible --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Ryo Matsukawa <[email protected]> * Merge branch 'beta/release-next' into pr/3477 * refactor(docs): apply new structure to doc * feat(input-otp): introduce input OTP component (#4052) * feat(input-otp): adding the functionality * fix(input-otp): making the use of input-otp library * Update .changeset/spotty-flies-jump.md * chore(input-otp): nits * feat: improvements and fixes added * refactor: input-otp docs improvements * fix: changeset * fix: build --------- Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * ci(changesets): version packages (beta) (#4169) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * refactor(theme): revise label font size for lg (#4141) * refactor(theme): revise label font size for lg * chore(changeset): add changeset * refactor(theme): revise label font size for lg * fix(docs): typecheck errors (#4171) * fix(docs): remove duplicate import * fix(docs): update type for onChange in range-calendar page * fix(docs): add missing `@react-types/calendar` * fix(docs): broken syntax * fix(docs): typecheck issues * fix(docs): add missing `@react-types/datepicker` * fix(docs): typecheck issues * fix: missing li tag when href is specified (#4168) * fix(items): items in list should wrapped in li in case of a * chore: adding the tests * fix: textarea issues with the clear button * chore: adjust clear button position --------- Co-authored-by: doki- <[email protected]> Co-authored-by: WK Wong <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Mustafa Balcı <[email protected]> Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: Vincentius Roger Kuswara <[email protected]> Co-authored-by: Ryo Matsukawa <[email protected]> Co-authored-by: winches <[email protected]> Co-authored-by: Tianen Pang <[email protected]> Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: chirokas <[email protected]> * ci(changesets): version packages (beta) (#4170) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * docs: sync api from nextui-cli v0.3.5 (#4173) Co-authored-by: GitHub Action <[email protected]> * ci(changesets): exit pre-release mode --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: աӄա <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Mustafa Balcı <[email protected]> Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: Vincentius Roger Kuswara <[email protected]> Co-authored-by: Ryo Matsukawa <[email protected]> Co-authored-by: winches <[email protected]> Co-authored-by: Tianen Pang <[email protected]> Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: chirokas <[email protected]> Co-authored-by: doki- <[email protected]> Co-authored-by: GitHub Action <[email protected]> * fix: pre release workflow on protected branches (#4174) * chore(pre-release): enter pre-release mode (#4175) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * fix: input otp peer deps (#4176) * chore: update workflows * chore: pre release workflow modified (#4177) * chore: canary versions (#4178) * fix: pre-release workflow (#4179) * chore: merged with beta branch * chore: workflow updated * ci(changesets): version packages * fix: changeset get github info * chore: force canary to release (#4180) * Feat/canary release (#4181) * chore: force canary to release * feat: canary release * ci(changesets): version packages * ci(changesets): version packages * fix: exit pre-release mode * fix: exit pre-release mode * fix: exit pre-release mode * fix: exit pre-release mode * fix: exit pre-release mode * chore: exit pre release mode * fix(workflows): release & pre-release flow (#4184) * chore: revert exit and enter pre release changes * chore: canary release test (#4185) * chore: update exit and enter workflows * chore: update workflow name * fix: exit pre-release mode * fix: exit pre-release mode * chore: delete pre file * chore: remove duplicate changesets * chore: base branch change to canary, changeset config * refactor: beta tags manually deleted (#4187) * fix: install * fix: peer deps (#4188) * Fix/peer deps (#4189) * fix: peer deps * fix: tests * fix: routes * chore(docs): revise defaultShowFlagList (#4193) * chore(docs): add Example to defaultShowFlagList * chore(docs): revise defaultShowFlagList * feat: documentation improvements (#4195) * feat: documentation improvements * fix: alert api * Feat/doc improvements (#4196) * feat: documentation improvements * fix: alert api * fix: copy button * fix: return in card demo * Fix/react core pkg (#4204) * fix: double use client tag import in react core package * fix: double use client * chore: restore postbuild script * docs: optimize code fold (#4202) * docs: optimize code fold * fix: code review * fix(input): teaxtarea label squish (#4197) * fix(input): teaxtarea label squish * chore(changeset): add changeset for textarea label fix * chore: remove customer runner * chore: rename changeset * chore: increase timeout * chore: change get info pkg version * chore: new changeset * chore: single chnageset * chore: consolidated changeset * chore: consolidated changeset * Update release.yaml (#4205) * chore: consolidated changeset * fix: forwardRef render functions not using ref (#4198) * fix: forwardRef render functions not using ref * fix: changelog * fix: review * fix: forwardRef render functions not using ref * docs: update changeset * feat(listbox): virtualization (#4206) * fix: should not export list item internal variables type * feat: changeset * fix: type error * fix: code block type error * feat: virtualization feature, docs for listbox * chore: update routes.json * fix: fix code-demo for typecheck * chore: rollback for files * chore: props omitted in the component itself * fix: menu item types * fix: tupecheck --------- Co-authored-by: winches <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * feat(select): virtualization (#4203) * fix: should not export list item internal variables type * feat: changeset * feat: integrate virtualized listbox to select component, add more props * feat: update docs for select component * feat: update docs to include API for virtualization * fix: update docs to follow the newest format * fix: update test for disable virtualization, add test for virtualized version * fix: fix typo * fix: type error * fix: code block type error * chore: update docs to use raw jsx instead of template literal * fix: fix code-demo for typecheck * chore: rollback for files * fix: types * chore: remove caret version on tanstack virtual pkg * fix: pnpm lock file * fix: virtualization examples * fix: number of items --------- Co-authored-by: winches <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * chore: adjust code colors * fix: collection based components ref (#4207) * chore: documentation adjustments * Update data-slot for the error message in the select. (#4214) * Update data-slot for the error message in the select. All components use the `data-slot="error-message"` attribute, except for the select component. I observed this behavior when a test in my application started failing. * refactor(select): refactors the data-slots attribute for the error message * fix(docs): types for classNames and itemClasses (#4209) * feat: documentation improvements * chore: more improvements to the docs, routing updated, acccordiong font size change * feat: forms doc in progress * fix(touch): fixing the selection functionality on touch (#4220) * fix(touch): fixing the selection functionality on touch * fix: radio, checkbox & switch interactions --------- Co-authored-by: Junior Garcia <[email protected]> * chore(docs): remove non-existing attribute (#4221) * fix(select): hideEmptyContent API (#4219) * fix(select): hideEmptyContent API * test(select): hideEmptyContent tests * docs(select): hideEmptyContent API * chore(select): hideEmptyContent storybook * chore(changeset): add hideEmptyContent API to select * refactor(select): hideEmptyContent nitpick * test(select): hideEmptyContent UI assertions * fix(select): hideEmptyContent default false * docs(select): hideEmptyContent default false * fix(pagination): cursor position when hidden on init (#4222) * fix(pagination): cusor position when hidden on init * test(pagination): cursor intersection observer * chore(changeset): pagination cursor position fix * refactor(pagination): minor nitpicks - check for null ref in usePagination - restore original IntersectionObserver in test * fix: form fixes and improvements (#4224) * chore: form in progress * chore: main demo addded to forms, checkbox validation fixed * chore: forms docs improved * fix(deps): bump `@react-aria/utils` version (#4226) * fix(deps): bump `@react-aria/utils` version * chore(changeset): add changeset * feat: forms doc completed * chore: form component doc created * chore: forms doc improved * chore: doc improvements * chore: alert doc improved * feat: nextjs 15 migration in progress * feat: nextjs 15 migration [docs] (#4228) * feat: nextjs 15 migration in progress * feat: next 15 downgraded to next 14 * fix: migration errors * feat: codeblog is now rendered only when visible, this made a huge performance improvement * fix: remove folding * feat: v2.6.0 blog * feat: Adding nextui pro section on the landing page (#4227) * feat: adding nextui pro section on the landing page * chore(nits): nits * fix: remove pro image on mobile --------- Co-authored-by: Junior Garcia <[email protected]> * fix(docs): prevent scrolling up on pressing theme change switch (#4233) * chore: improve v2.6.0 blog * chore: small improvements * chore: improve blog * ci(changesets): version packages (#4186) Co-authored-by: Junior Garcia <[email protected]> * fix: snippet release (#4235) * ci(changesets): version packages (#4236) Co-authored-by: Junior Garcia <[email protected]> * chore: v2.6.2 * ci(changesets): version packages (#4237) Co-authored-by: Junior Garcia <[email protected]> * fix: draggable modal demo * fix: v2.6 blog * chore: adjust blog --------- Signed-off-by: Innei <[email protected]> Signed-off-by: The1111mp…
* fix(input): ensure clear button is not focusable when disabled (#3774) * fix(input): ensure clear button is not focusable when disabled * test(input): add test to ensure clear button is not focusable when disabled * chore: add changeset for clear button focus fix when input is disabled * fix(input): update clear button to use button element * test(input): add focus test when disabled and update tests for clear button using button element * test(input): replace querySelector with getByRole for clear button * fix(input): set tabIndex to -1 for clear button * test(input): ensure clear button is not focusable * fix(image): add missing `w` to `getWrapperProps` dependency (#3802) * fix(image): add missing `w` to `getWrapperProps` dependency * chore(changeset): add changeset * fix(autocomplete): popover should remain open after clicking clear button (#3788) * fix: add state.open() so that dropdown is not closed * chore: add changeset * chore(autocomplete): add testcases for keeping lisbox open when clearButton is clicked * chore: update changeset * chore(autocomplete): change the docs for test cases * chore(changeset): update changeset message and add issue number --------- Co-authored-by: WK Wong <[email protected]> * refactor(docs): example of blurred card (#3741) * docs(card): adding info regarding the gradient for blurred card * chore(nit): adding example * chore(docs): revise content for card isBlurred example * chore(docs): revise isBlurred note --------- Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: WK Wong <[email protected]> * fix(docs): replace twitter logo/links with x logo/links (#3815) * fix(docs): replace Twitter logo/links with X logo/links * docs: update twitter references to x * docs: update changeset for twitter to x changes * docs: update twitter references to x * docs: update twitter references to x * chore(docs): undo .sponsorsrc since it's generated * refactor(docs): remove unnecessary classes * chore(docs): undo .sponsorsrc since it's generated --------- Co-authored-by: WK Wong <[email protected]> * fix(date-picker): adding props from calendarProps to getCalendarProps (#3773) * fix(date-picker): adding props from calendarProps to the getCalendarProps * chore(date-picker): adding the changeset * chore(changeset): add issue number --------- Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: WK Wong <[email protected]> * feat(autocomplete): automatically focus first non-disabled item (#2186) Co-authored-by: WK Wong <[email protected]> * docs(accordion): add overflow to custom motion example (#3793) * fix(docs): typos in dark mode page (#3823) * fix(theme): fullWidth in input and select (#3768) * fix(input): fixing the fullWidth functionality * chore(changeset): add issue number * chore(changeset): revise changeset message --------- Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: WK Wong <[email protected]> * fix(autocomplete): exit animation on popover close (#3845) * fix(autocomplete): exit animation on popover close * refactor(autocomplete): getListBoxProps --------- Co-authored-by: WK Wong <[email protected]> * refactor(theme): replace the use of RTL-specific styles with logical properties (#3868) * chore(rtl): remove the usages of rtl * chore(changeset): adding the changeset * chore(changeset): update changeset message --------- Co-authored-by: WK Wong <[email protected]> * fix(select): label placement discrepancy in Select (#3853) * fix(select): label placement incorrect in case of multiline * chore(select): adding the changeset * chore(select): adding the tests * chore(select): code imrovement, wkw's suggestions * chore(changeset): update changeset message --------- Co-authored-by: WK Wong <[email protected]> * fix(theme): label placement in select and input (#3869) * fix(theme): fix the label placement * chore(changeset): adding the changeset * chore(select): adding comments * fix(docs): avoid translating the code block (#3878) * docs(Codeblock): avoid code be translated * fix(docs): lint issue --------- Co-authored-by: WK Wong <[email protected]> * fix(listbox): change listBoxItem key to optional (#3883) * fix(listbox): listBoxItem key to optional * chore: add defaultSelectedKeys test for numeric keys and ids * chore: add changeset * chore: comment out section prompts in PR template (#3884) * chore(test): update testing libraries and refactor (#3886) * fix(theme): show margin only with label in Switch component (#3861) * fix(switch): removed right margin in wrapper #3791 * feat(changeset): added changeset * fix(switch): removed me-2 in wrapper * fix(switch): added ms-2 to label * chore(changeset): correct package and message --------- Co-authored-by: WK Wong <[email protected]> * fix(theme): removed pseudo cancel btn from input (#3912) * fix(theme): removed pseudo cancel btn from input * chore(changeset): adding the changeset * fix(input): conditionally hiding the webkit search * chore(changeset): revise changeset message --------- Co-authored-by: WK Wong <[email protected]> * refactor(docs): dx improvement in accordion (#3856) * refactor: improve dx for writing a docs component (#2544) * refactor: improve dx for write a docs component Signed-off-by: Innei <[email protected]> * refactor(docs): switch to contentlayer2 * chore(docs): rename to avoid conflict * refactor(docs): switch to next-contentlayer2 * refactor(docs): revise docs lib * chore(deps): bump docs related dependencies * fix(use-aria-multiselect): type issue due to ts version bump --------- Signed-off-by: Innei <[email protected]> Co-authored-by: WK Wong <[email protected]> * refactor(docs): accordion codes * feat(docs): declare module `*.jsx?raw` * feat(docs): include `**/*.jsx` * fix(docs): incorrect content * chore(docs): add new lines * refactor(docs): lint --------- Signed-off-by: Innei <[email protected]> Co-authored-by: Innei <[email protected]> * fix(docs): typos in hero section (#3928) * fix(theme): support RTL for breadcrumbs (#3927) * fix(breadcrumbs): added separator rotation for RTL #2486 * chore(changeset): added changeset * fix(docs): removed unused import and merged classNames in dropdown (#3936) * fix(breadcrumbs): added separator rotation for RTL #2486 * chore(changeset): added changeset * fix(docs): removed unused Link import and merged classnames in dropdown * fix: avatar filter disableAnimation to dom prop (#3946) * feat: add git hook to auto update dependencies (#3365) * feat: add git hook to auto update dependencies * feat: update color * fix: prevent test matcher warning (#3893) * fix: prevent test matcher warning * chore: add node types * chore: update Jest related packages * chore: run pnpm install * fix(tabs): correct inert value for true condition (#3978) * Alert component (#3982) * feat(alert): began the work on alert component * fix(readme): making correction * chore(deps): change to 2.0.0 * chore(docs): update README.md * feat(theme): init alert tv * chore(alert): update package.json * feat(alert): init alert storybook structure * chore(changeset): add changeset * chore(changeset): change to minor * chore(alert): revise alert package.json * feat(alert): init test structure * chore(deps): pnpm-lock.yaml * feat(alert): initailized theme and basic structure * feat(alert): completed use-alert.ts and alert.tsx * feat(alert): remove innerWrapper, replace helperWrapper with mainWrapper, adding isCloseable prop * feat(alert): adding isCloseable prop to baseWrapper dependency * feat(alert): setting the default value of isCloseable prop to true * feat(alert): moving CloseIcon inside the button * feat(alert): updated package.json * feat(alert): default variant and default story * feat(alert): adding color and radius stories * feat(alert): completed the styling * feat(alert): add stories for isCloseable prop and restyle other stories * feat(alert): correcting ref type * feat(alert): add test cases * feat(alert): remove startContent and endContent props * feat(alert): make styling more accurate * feat(alert): fixed default props * feat(alert): fixed theme docs * feat(alert): add logic for icons * feat(alert): begin to add docs * chore(alert): implement the changes suggested in code review * feat(alert): add onclose prop to alert * feat(alert): add test cases * docs(alert): add onClose event * feat(docs): add alert to routes.json * fix(alert): correct the text colors * docs(alert): fix imports and syntax errors * chore(alert): implement the changes suggested in code review * chore(alert): lint the code and change isCloseable to isClosable * chore(alert): lint the code * chore(alert): run pnpm i * fix(alert): fix the logic for close button and add test case * docs(alert): fix docs, change isCloseable to isClosable and change docs for isClosable property * chore(alert): add the support for RTL, refactor the code and fix the typos * docs(alert): grammer issues fix * fix(alert): replace rtl with ms * chore(alert): custom style and custom implementation, remove isClosable={false}, refactor, fix typos * chore(alert): linting and implement coderabbit suggestions * chore(alert): refactor and typos fix * chore(alert): add import for closeIcon * chore(alert): add props for closeIcon * chore(alert): refactor fixes * chore(alert): implement ryo-manba's suggestion on close Icon * chore(alert): make alert more responsive * chore(alert): fix grammer issues suggested by coderabbit * fix(alert): add max-w property to make alert responsive * chore(alert): improve responsiveness and refactor alertIcon * chore(alert): add missing dependency to useMemo * chore(alert): implement coderabbit's suggestions * chore(alert): update docs and refactor * chore(alert): refactor alertIcon and implement coderabbit's suggestion * chore: fixes --------- Co-authored-by: Abhinav Agarwal <[email protected]> Co-authored-by: WK Wong <[email protected]> Co-authored-by: Abhinav Agarwal <[email protected]> * Feat/add draggable modal (#3983) * feat(hooks): add use-draggable hook * feat(components): [modal] export use-draggable * docs(components): [modal] add draggable modal * feat(components): [modal] add ref prop for modal-header * chore(components): [modal] add draggable modal for storybook * chore: add changeset for draggable modal * docs(hooks): [use-draggable] fix typo * chore: upper changeset * chore(components): [modal] add overflow draggable modal to sb * test(components): [modal] add draggable modal tests * build: update pnpm-lock * chore(changeset): include issue number * feat(hooks): [use-draggable] set user-select to none when during the dragging * docs(components): [modal] update code demo title * docs(components): [modal] condense description for draggable overflow * feat(hooks): [use-draggable] change version to 0.1.0 * refactor(hooks): [use-draggable] use use-move implement use-draggable * feat(hooks): [use-draggable] remove repeated user-select * test(components): [modal] update test case to use-draggable base use-move * docs(components): [modal] update draggable examples * fix(hooks): [use-draggable] fix mobile device touchmove event conflict * refactor(hooks): [use-draggable] remove drag ref prop * refactor(hooks): [use-draggable] draggable2is-disabled overflow2can-overflow * test(components): [modal] add draggble disable test * chore(hooks): [use-draggable] add commant for body touchmove * Update packages/hooks/use-draggable/src/index.ts Co-authored-by: Ryo Matsukawa <[email protected]> * fix(hooks): [use-draggable] import use-callback * test(components): [modal] add mobile-sized test for draggable * chore(hooks): [use-draggable] add use-callback for func * chore(hooks): [use-draggable] update version to 2.0.0 * chore: fix typo * Update .changeset/soft-apricots-sleep.md * fix: pnpm lock * fix: build * chore: add updated moadl --------- Co-authored-by: wzc520pyfm <[email protected]> Co-authored-by: աɨռɢӄաօռɢ <[email protected]> Co-authored-by: Ryo Matsukawa <[email protected]> * chore: upgrade react-aria / React 19 & Next.js 15 support (#3732) * chore: upgrade react-aria * chore: add changeset * chore: fix type error --------- Co-authored-by: Junior Garcia <[email protected]> * feat(date-picker): add selectorButtonPlacement property (#3248) * feat(date-picker): add selectorButtonPlacement property * chore: update changeset * Update .changeset/neat-donkeys-accept.md Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: Junior Garcia <[email protected]> * feat: add tab ref (#3974) * feat: add tab ref * feat: add changeset * feat: pre-release workflow (#2910) * feat(workflow): pre-release * feat(workflow): exit pre-release * chore(workflow): update version & publish commands * fix(workflow): add missing attributes and use schangeset:beta cmd * feat(root): add changeset:beta * fix(workflows): revise pre-release logic * fix(workflows): add missing run * fix(workflows): use changeset:exit with version instead * feat(root): add changeset:exit cmd * refactor(workflows): add pths, id, and format * feat(workflows): enter pre-release mode * chore(workflows): remove pre.json only * refactor(workflows): remove enter-pre-release-mode * fix(workflows): incorrect url * refactor(root): remove unused exit command * refactor(workflows): add comments * feat(changeset): change to main branch as baseBranch * feat(root): add changeset:canary * refactor(workflows): remove unused workflow * feat(workflow): support canary pre-release mode * refactor(docs): change to canary * feat(popover): added control for closing popover on scroll (#3595) * fix(navbar): fixed the height when style h-full * fix(navbar): fixed the height when style h-full * docs(changeset): resolved extra file * feat(popover): added control for closing popover on scroll * update(changeset): correction * feat(popover): removed extra story * refactor(test): corrected test for both true and false values of shouldCloseOnScroll * refactor(docs): added shouldCloseOnScroll prop * chore(changeset): change to minor --------- Co-authored-by: աӄա <[email protected]> * feat: add month and year pickers to DateRangePicker and RangeCalendar (#3302) * feat: add month and year pickers to DateRangePicker and RangeCalendar * chore: update docs * Update .changeset/kind-cobras-travel.md * chore: react package version --------- Co-authored-by: Junior Garcia <[email protected]> * chore(deps): bump tailwind-merge version (#3657) * chore(deps): bump tailwind-merge versions * chore(theme): adopt latest extendTailwindMerge * chore(changeset): add changeset * chore(changeset): change to minor * Update .changeset/grumpy-mayflies-rhyme.md --------- Co-authored-by: Junior Garcia <[email protected]> * feat: added drawer component (#3986) Signed-off-by: The1111mp <[email protected]> Co-authored-by: The1111mp <[email protected]> * refactor: optimisations (#3523) * refactor: replace lodash with native approaches * refactor(deps): update framer-motion versions * feat(utilities): add @nextui-org/dom-animation * refactor(components): load domAnimation dynamically * refactor(deps): add @nextui-org/dom-animation * fix(utilities): relocate index.ts * feat(changeset): framer motion optimization * chore(deps): bump framer-motion version * fix(docs): conflict issue * refactor(hooks): remove the unnecessary this aliasing * refactor(utilities): remove the unnecessary this aliasing * chore(docs): remove {} so that it won't be true all the time * chore(dom-animation): end with new line * refactor(hooks): use debounce from `@nextui-org/shared-utils` * chore(deps): add `@nextui-org/shared-utils` * refactor: move mapKeys logic to `@nextui-org/shared-utils` * refactor: use `get` from `@nextui-org/shared-utils` * refactor(docs): use `get` from `@nextui-org/shared-utils` * refactor(shared-utils): mapKeys * chore(deps): bump framer-motion version * chore(deps): remove lodash * refactor(docs): use intersectionBy from shared-utils * feat(shared-utils): add intersectionBy * chore(dom-animation): remove extra blank line * refactor(shared-utils): revise intersectionBy * fix(modal): add willChange * refactor(shared-utils): add comments * fix: build & tests --------- Co-authored-by: Junior Garcia <[email protected]> * feat(hooks): use-theme hook (#3169) * feat(docs): update dark mode content * feat(hooks): @nextui-org/use-theme * chore(docs): revise ThemeSwitcher code * refactor(hooks): simplify useTheme and support custom theme names * feat(hooks): add use-theme test cases * feat(changeset): add changeset * refactor(hooks): make localStorageMock globally and clear before each test * fix(docs): typo * fix(hooks): coderabbitai comments * chore(hooks): remove unnecessary + * chore(changeset): change to minor * feat(hooks): handle system theme * chore(hooks): add EOL * refactor(hooks): add default theme * refactor(hooks): revise useTheme * refactor(hooks): resolve pr comments * refactor(hooks): resolve pr comments * refactor(hooks): resolve pr comments * refactor(hooks): remove unused theme in dependency array * chore(docs): typos * refactor(hooks): mark system as key for system theme * chore: merged with canary --------- Co-authored-by: Junior Garcia <[email protected]> * Fix/avatar flashing (#3987) * fix(use-image): cached image flashing * chore: merged with canary --------- Co-authored-by: Rakha Kanz Kautsar <[email protected]> * refactor(menu): Use `useMenu` and `useMenuItem` from RA (#3261) * refactor(menu): use useMenu from react-aria instead * refactor(menu): use useMenuItem from react-aria instead * feat(changeset): add changeset * chore: merged with canary * fix: dropdown tests --------- Co-authored-by: Junior Garcia <[email protected]> * fix(theme): added stripe color gradients for progress (#3938) * fix(breadcrumbs): added separator rotation for RTL #2486 * chore(changeset): added changeset * fix(docs): removed unused Link import and merged classnames in dropdown * fix(theme):added stripe color gradients for progress #1933 * refactor(theme): added stripe-size and createStripeGradient * chore: add all minor releases * fix(docs): invalid canary storybook link (#4030) * fix(use-image): image ReferenceError in SSR (#4122) * fix(use-image): image ReferenceError in SSR * fix(use-image): sync with beta * fix(use-image): sync with beta * chore(use-image): remove unnecessary comments * fix(docs): buildLocation expects an object (#4118) * fix(docs): routing.mdx * Delete .changeset/pre.json * chore(docs): update yarn installation command (#4132) There is no `-g` flag in yarn. `global` is a command which must immediately follow yarn. Source: https://classic.yarnpkg.com/lang/en/docs/cli/global/ * chore: upgrade storybook 8 (#4124) * feat: upgrade storybook8 * chore: upgrade storybook and vite * chore: remove @mdx-js/react optimizeDep * chore: add @mdx-js/react optimizeDep * fix: format * docs: add forms guide (#3822) * v2.5.0 [BETA] (#4164) * chore(pre-release): enter pre-release mode * fix(theme): apply tw nested group (#3909) * chore(changset): add changeset * fix(theme): apply nested group to table * chore(docs): update table bottomContent code * fix: changeset * fix: changeset * fix: changeset * fix: changeset * fix: changeset * fix: pkg versions * fix: changeset * fix: drawer peer dep * chore: update plop components tempalte * ci(changesets): version packages (beta) (#3988) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: pre-release workflow * chore: debug log added * chore: force pre-release * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * chore: beta1 (#3990) * ci(changesets): version packages (beta) (#3991) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(use-image): image ReferenceError in SSR (#3993) * fix(input): fixed a sliding issue caused by the helper wrapper (#3966) * If it is false and there is an error message or description it will create a div * Update packages/components/input/src/input.tsx * Update packages/components/select/src/select.tsx * Update packages/components/input/src/textarea.tsx * add changeset * changeset update * ci(changesets): version packages (beta) (#3995) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: image loading in the server (#3996) * fix: lock file * chore: force release * chore: force release 2 * ci(changesets): version packages (beta) (#3997) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: image load on next.js (#3998) * ci(changesets): version packages (beta) (#3999) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: element.ref was removed in React 19 warning (#4003) * ci(changesets): version packages (beta) (#4004) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: react 19 as peer dep (#4008) * ci(changesets): version packages (beta) (#4009) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Beta/react 19 support (#4010) * fix: react 19 as peer dep * fix: react 19 as peer dep * chore: support framer-motion alpha version * ci(changesets): version packages (beta) (#4011) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(theme): making select and input themes consistent (#3881) * ci(changesets): version packages (beta) (#4012) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: support inert value with boolean type for react 19 (#4039) * ci(changesets): version packages (beta) (#4041) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: alert design improved (#4054) * ci(changesets): version packages (beta) (#4056) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: drawer improvements (#4057) * ci(changesets): version packages (beta) (#4058) * feat: alert styles improved (#4071) * ci(changesets): version packages (beta) (#4072) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: alert styles improved (#4073) * ci(changesets): version packages (beta) (#4074) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: add number of stars and credits * chore: fix build * chore: improve navabr colors * chore: new changeset (#4083) * ci(changesets): version packages (beta) (#4084) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: pnpm cleaned (#4086) * ci(changesets): version packages (beta) (#4087) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: custom runnner added * chore: custom runner test (#4091) * Beta/custom runner (#4092) * chore: custom runner test * chore: custom runner test * chore: remove 2 from older changeset * ci(changesets): version packages (beta) (#4093) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: new demo added to alert * Feat/virtualization for autocomplete (#4094) * feat: add react-window virtualization for autocomplete * fix: wrong imports and wrong sizing * fix: update pnpm lock * chore: add test cases for large dataset (1000 and 10000 items) * chore: move virtualized-listbox to listbox components folder, implement isVirtualized conditional * feat: implement dynamic listboxheight n item height, add story * chore: rename props, remove unnecessary line changes * fix: maxHeight style 256px for default, conditional usage of virtualizer * feat: migrate to tan-stack virtual. (todo: fix scroll shadow) * feat: virtualization support --------- Co-authored-by: Vincentius Roger Kuswara <[email protected]> * ci(changesets): version packages (beta) (#4095) * feat: small fixes * feat: add reducedMotion setting to Provider (#3470) * feat: add reducedMotion setting to Provider * chore: refactor reducedMotion story * Update .changeset/pretty-parrots-guess.md --------- Co-authored-by: Junior Garcia <[email protected]> * ci(changesets): version packages (beta) (#4106) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: move circular-progress tv to progress (#3321) * fix: remove circular-progress tv to progress * docs: changeset * chore(changeset): update changeset message * Update .changeset/angry-maps-serve.md --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * fix: label placement when the select has a placeholder or description (#4126) * ci(changesets): version packages (beta) (#4107) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(deps): add missing `framer-motion` in `peerDependencies` (#4140) * fix(theme): add truncate class to the list item to avoid overflow the wrapper (#4105) * fix(docs): invalid canary storybook link (#4030) * fix: menu item hidden overflow text * feat: changeset * Merge branch 'beta/release-next' into fix/menu-item-hidden * fix: truncate list item * feat: update changeset * fix(menu): omit internal props --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * feat(table): add isKeyboardNavigationDisabled prop to the table (#3735) Co-authored-by: Maharshi Alpesh <[email protected]> * feat: add form component (#3036) * chore: add support validationBehavior aria * chore: add validationBehavior to Provider * chore: add autocomplete validation test * chore: add checkbox validation test * fix(input): require condition * docs: add description of validationBehavior props * chore: add support validationBehavior props for date components * docs(dates): add description of validationBehavior props * chore: add changeset * chore: format * chore: fix test * fix: select validationBehavior is not support yet * fix: select validationBehavior not supported yet * feat: add form component with input support * feat: add support form context * chore: wip add support for form server errors * chore: add support checkbox server validation * chore: add support radio server validation * chore: update pnpm-lock.yaml * chore: add support input server validation * chore: add support autocomplete server validation * chore(form): add server validation stories * chore: fix test * chore: add date-picker validation test * chore: update form stories * chore: add changeset * chore: update react-aria version * chore: add pnpm-lock.yaml * chore: update react-aria version * chore: add comment * chore: update react-aria version * chore: fix change set * chore: export form component in the main package * chore: upgrade react-aria * chore: fixed internationalized/date version * fix: build error * chore: upgrade docs react-aria version * fix: remove comment * fix: debug setting * chore(docs): update sponsor (#3904) * chore(docs): remove Scrumbuiss * chore(docs): remove Scrumbuiss logo * chore(docs): replace va by posthog (#4123) * chore(changeset): change to patch * refactor: react-aria-components remove to decrease package size, logic moved to the form package --------- Co-authored-by: Junior Garcia <[email protected]> Co-authored-by: WK Wong <[email protected]> * docs: add forms guide (#4155) Co-authored-by: Ryo Matsukawa <[email protected]> * chore: routes updated * ci(changesets): version packages (beta) (#4151) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: fix indentation * fix(changeset): package not be found * ci(changesets): version packages (beta) (#4158) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(select): controlled isInvalid prop (#4082) * fix(select): controlled isInvalid prop * chore: add changeset * Merge branch 'beta/release-next' into pr/4082 --------- Co-authored-by: WK Wong <[email protected]> * ci(changesets): version packages (beta) (#4159) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore(changeset): bump all versions * ci(changesets): version packages (beta) (#4160) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(deps): missing peer / dev dependency for framer-motion (#4161) * fix(system): align `navigate` function parameters with `@react-aria` (#4163) * fix: menu item classNames not work (#4156) * fix: menu item classNames not work * feat: changeset * docs: update * feat: merge classes utility added * Update .changeset/brave-trains-wave.md --------- Co-authored-by: WK Wong <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * chore(docs): remove incorrect info * ci(changesets): version packages (beta) (#4162) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * refactor(docs): overall dx (#4055) * refactor(docs): revise code block (#3922) * refactor(docs): revise code block * chore(docs): resolve pr comments * refactor(docs): autocomplete dx (#3934) * feat(docs): add *.js?raw module * feat(docs): change to react-jsx and add **/*.js * chore(root): include js and jsx * refactor(docs): autocomplete dx * chore(docs): rollback overrides * chore(autocomplete): lint * fix(autocomplete): incorrect import path * fix(docs): autocomplete dx * chore(docs): remove highlightedLines * refactor(docs): breadcrumbs dx (#3968) * refactor(docs): breadcrumbs dx * fix(docs): export issue * chore(docs): use preserve for jsx * fix(docs): support multiline import * fix(docs): support multiple export * chore(docs): add back export * refactor(docs): avatar dx (#3951) * refactor(docs): badge dx (#3960) * refactor(docs): badge dx * chore(docs): incorrect import path * refactor(docs): button dx (#3981) * refactor(docs): calendar dx (#4022) * refactor(docs): calendar dx * fix(docs): incorrect import path * refactor(docs): switch dx (#4037) * refactor(docs): switch dx * chore(docs): remove highlightedLines * refactor(docs): tooltip (#4035) * refactor(docs): usage dx (#4036) * refactor(docs): circular-progress dx (#4029) * refactor(docs): chip-dx (#4028) * refactor(docs): checkbox-group dx (#4027) * refactor(docs): checkbox dx (#4024) * refactor(docs): checkbox dx * fix(docs): incorrect import path * refactor(docs): card dx (#4023) * refactor(docs): skeleton dx (#4042) * refactor(docs): spacer dx (#4043) * refactor(docs): snippet dx (#4044) * refactor(docs): scroll-shadow dx (#4045) * refactor(docs): code dx (#4046) * refactor(docs): kbd dx (#4047) * refactor(docs): link dx (#4048) * refactor(docs): progress dx (#4049) * refactor(docs): divider dx (#4050) * refactor(docs): listbox dx (#4051) * refactor(docs): listbox dx * fix(docs): import path * fix(docs): import path * chore(docs): remove highlightedLines * fix(docs): indentation * chore(docs): replace the props of autocomplete from value to key (#4129) * refactor(docs): alert dx (#4108) * refactor(docs): alert dx * refactor(docs): alert dx * refactor(docs): image dx (#4061) * refactor(docs): textarea dx (#4063) * refactor(docs): spinner dx (#4088) * refactor(docs): radio-group dx (#4064) * refactor(docs): pagination dx (#4062) * refactor(docs): pagination dx * refactor(docs): pagination dx * refactor(docs): time-input dx (#4065) * refactor(docs): time-input dx * refactor(docs): time-input dx * refactor(docs): slider dx (#4066) * refactor(docs): slider dx * refactor(docs): slider dx * refactor(docs): move SliderValue to type * refactor(docs): slider dx * refactor(docs): make icon code collapsible * refactor(docs): specify versions for date packages (#4138) * refactor(docs): specify versions for date packages * fix(docs): correct RA i18n version * chore(deps): sync version from package * refactor(docs): tabs dx (#4067) * refactor(docs): tab dx * refactor(docs): tabs dx * refactor(docs): input dx (#4102) * refactor(docs): input dx * refactor(docs): input dx * refactor(docs): navbar dx (#4076) * refactor(docs): navbar dx * refactor(docs): navbar dx * refactor(docs): navbar dx * refactor(docs): modal dx (#4077) * refactor(docs): modal dx * refactor(docs): modal dx * refactor(docs): select dx (#4078) * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): table dx (#4079) * refactor(docs): table dx * fix(docs): import path * refactor(docs): table dx * refactor(docs): table dx * refactor(docs): popover dx (#4090) * refactor(docs): range-calendar dx (#4089) * refactor(docs): range-calendar dx * fix(docs): import path * refactor(docs): date input dx (#4100) * refactor(docs): dropdown dx (#4101) * refactor(docs): dropdown dx * refactor(docs): remove highlightedLines * refactor(docs): dropdown dx * refactor(docs): dropdown dx * refactor(docs): date-picker dx (#4103) * refactor(docs): date-picker dx * fix(docs): import paths * refactor(docs): date-range-picker dx (#4104) * refactor(docs): date-range-picker dx * fix(docs): date-range-picker dx * refactor(docs): drawer dx (#4109) * refactor(docs): drawer dx * fix(docs): indentation * refactor(docs): make icon collapsible --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Ryo Matsukawa <[email protected]> * feat(input-otp): introduce input OTP component (#4052) * feat(input-otp): adding the functionality * fix(input-otp): making the use of input-otp library * Update .changeset/spotty-flies-jump.md * chore(input-otp): nits * feat: improvements and fixes added * refactor: input-otp docs improvements * fix: changeset * fix: build --------- Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * ci(changesets): version packages (beta) (#4169) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * refactor(theme): revise label font size for lg (#4141) * refactor(theme): revise label font size for lg * chore(changeset): add changeset * refactor(theme): revise label font size for lg * fix(docs): typecheck errors (#4171) * fix(docs): remove duplicate import * fix(docs): update type for onChange in range-calendar page * fix(docs): add missing `@react-types/calendar` * fix(docs): broken syntax * fix(docs): typecheck issues * fix(docs): add missing `@react-types/datepicker` * fix(docs): typecheck issues * fix: missing li tag when href is specified (#4168) * fix(items): items in list should wrapped in li in case of a * chore: adding the tests * Feat/textarea add clear button (#4172) * feat(components): add clear button to the textarea component * docs(textarea): add test and changeset * feat(textarea): modify the changeset file * feat(textarea): add clear button to textarea * feat(textarea): add isClearable prop to textarea * docs(textarea): add documentation to textarea * docs(textarea): add documentation to textarea * feat(textarea): replace the textarea component clear icon and modify its location * feat(textarea): revise the clear button position * feat(textarea): revise the clear button structure * feat(textarea): revise the styles of clear button and textarea * feat(textarea): revise the styles of RTL case * feat(textarea): change the rtl to pe * feat(textarea): delete the px classname * chore(changeset): update package and message * test(textarea): add test case * feat(textarea): change the clear button structure * feat(textarea): optimized code * chore(textarea): update the changeset file * docs(textarea): add slots doc to textarea * chore(textarea): update peerDevpeerDependencies version * chore(textarea): add usecallback dep * Update .changeset/five-adults-protect.md * chore(pre-release): enter pre-release mode * feat(textarea): modify the clear button icon * fix(theme): apply tw nested group (#3909) * chore(changset): add changeset * fix(theme): apply nested group to table * chore(docs): update table bottomContent code * fix: changeset * fix: changeset * fix: changeset * fix: changeset * fix: changeset * fix: pkg versions * fix: changeset * fix: drawer peer dep * chore: update plop components tempalte * ci(changesets): version packages (beta) (#3988) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: pre-release workflow * chore: debug log added * chore: force pre-release * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * chore: beta1 (#3990) * ci(changesets): version packages (beta) (#3991) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(use-image): image ReferenceError in SSR (#3993) * fix(input): fixed a sliding issue caused by the helper wrapper (#3966) * If it is false and there is an error message or description it will create a div * Update packages/components/input/src/input.tsx * Update packages/components/select/src/select.tsx * Update packages/components/input/src/textarea.tsx * add changeset * changeset update * ci(changesets): version packages (beta) (#3995) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: image loading in the server (#3996) * fix: lock file * chore: force release * chore: force release 2 * ci(changesets): version packages (beta) (#3997) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: image load on next.js (#3998) * ci(changesets): version packages (beta) (#3999) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: element.ref was removed in React 19 warning (#4003) * ci(changesets): version packages (beta) (#4004) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: react 19 as peer dep (#4008) * ci(changesets): version packages (beta) (#4009) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Beta/react 19 support (#4010) * fix: react 19 as peer dep * fix: react 19 as peer dep * chore: support framer-motion alpha version * ci(changesets): version packages (beta) (#4011) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(theme): making select and input themes consistent (#3881) * ci(changesets): version packages (beta) (#4012) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(textarea): fix clearButton display * fix: support inert value with boolean type for react 19 (#4039) * ci(changesets): version packages (beta) (#4041) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: alert design improved (#4054) * ci(changesets): version packages (beta) (#4056) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: drawer improvements (#4057) * ci(changesets): version packages (beta) (#4058) * feat: alert styles improved (#4071) * ci(changesets): version packages (beta) (#4072) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: alert styles improved (#4073) * ci(changesets): version packages (beta) (#4074) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: add number of stars and credits * chore: fix build * chore: improve navabr colors * chore: new changeset (#4083) * ci(changesets): version packages (beta) (#4084) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: pnpm cleaned (#4086) * ci(changesets): version packages (beta) (#4087) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: custom runnner added * chore: custom runner test (#4091) * Beta/custom runner (#4092) * chore: custom runner test * chore: custom runner test * chore: remove 2 from older changeset * ci(changesets): version packages (beta) (#4093) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: new demo added to alert * Feat/virtualization for autocomplete (#4094) * feat: add react-window virtualization for autocomplete * fix: wrong imports and wrong sizing * fix: update pnpm lock * chore: add test cases for large dataset (1000 and 10000 items) * chore: move virtualized-listbox to listbox components folder, implement isVirtualized conditional * feat: implement dynamic listboxheight n item height, add story * chore: rename props, remove unnecessary line changes * fix: maxHeight style 256px for default, conditional usage of virtualizer * feat: migrate to tan-stack virtual. (todo: fix scroll shadow) * feat: virtualization support --------- Co-authored-by: Vincentius Roger Kuswara <[email protected]> * ci(changesets): version packages (beta) (#4095) * feat: small fixes * feat: add reducedMotion setting to Provider (#3470) * feat: add reducedMotion setting to Provider * chore: refactor reducedMotion story * Update .changeset/pretty-parrots-guess.md --------- Co-authored-by: Junior Garcia <[email protected]> * ci(changesets): version packages (beta) (#4106) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: move circular-progress tv to progress (#3321) * fix: remove circular-progress tv to progress * docs: changeset * chore(changeset): update changeset message * Update .changeset/angry-maps-serve.md --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * fix: label placement when the select has a placeholder or description (#4126) * ci(changesets): version packages (beta) (#4107) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(deps): add missing `framer-motion` in `peerDependencies` (#4140) * fix(theme): add truncate class to the list item to avoid overflow the wrapper (#4105) * fix(docs): invalid canary storybook link (#4030) * fix: menu item hidden overflow text * feat: changeset * Merge branch 'beta/release-next' into fix/menu-item-hidden * fix: truncate list item * feat: update changeset * fix(menu): omit internal props --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * Update apps/docs/content/docs/components/textarea.mdx * feat(table): add isKeyboardNavigationDisabled prop to the table (#3735) Co-authored-by: Maharshi Alpesh <[email protected]> * feat: add form component (#3036) * chore: add support validationBehavior aria * chore: add validationBehavior to Provider * chore: add autocomplete validation test * chore: add checkbox validation test * fix(input): require condition * docs: add description of validationBehavior props * chore: add support validationBehavior props for date components * docs(dates): add description of validationBehavior props * chore: add changeset * chore: format * chore: fix test * fix: select validationBehavior is not support yet * fix: select validationBehavior not supported yet * feat: add form component with input support * feat: add support form context * chore: wip add support for form server errors * chore: add support checkbox server validation * chore: add support radio server validation * chore: update pnpm-lock.yaml * chore: add support input server validation * chore: add support autocomplete server validation * chore(form): add server validation stories * chore: fix test * chore: add date-picker validation test * chore: update form stories * chore: add changeset * chore: update react-aria version * chore: add pnpm-lock.yaml * chore: update react-aria version * chore: add comment * chore: update react-aria version * chore: fix change set * chore: export form component in the main package * chore: upgrade react-aria * chore: fixed internationalized/date version * fix: build error * chore: upgrade docs react-aria version * fix: remove comment * fix: debug setting * chore(docs): update sponsor (#3904) * chore(docs): remove Scrumbuiss * chore(docs): remove Scrumbuiss logo * chore(docs): replace va by posthog (#4123) * chore(changeset): change to patch * refactor: react-aria-components remove to decrease package size, logic moved to the form package --------- Co-authored-by: Junior Garcia <[email protected]> Co-authored-by: WK Wong <[email protected]> * docs: add forms guide (#4155) Co-authored-by: Ryo Matsukawa <[email protected]> * chore: routes updated * ci(changesets): version packages (beta) (#4151) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: fix indentation * fix(changeset): package not be found * ci(changesets): version packages (beta) (#4158) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(select): controlled isInvalid prop (#4082) * fix(select): controlled isInvalid prop * chore: add changeset * Merge branch 'beta/release-next' into pr/4082 --------- Co-authored-by: WK Wong <[email protected]> * ci(changesets): version packages (beta) (#4159) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore(changeset): bump all versions * ci(changesets): version packages (beta) (#4160) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(deps): missing peer / dev dependency for framer-motion (#4161) * fix(system): align `navigate` function parameters with `@react-aria` (#4163) * fix: menu item classNames not work (#4156) * fix: menu item classNames not work * feat: changeset * docs: update * feat: merge classes utility added * Update .changeset/brave-trains-wave.md --------- Co-authored-by: WK Wong <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * chore(docs): remove incorrect info * ci(changesets): version packages (beta) (#4162) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * refactor(docs): overall dx (#4055) * refactor(docs): revise code block (#3922) * refactor(docs): revise code block * chore(docs): resolve pr comments * refactor(docs): autocomplete dx (#3934) * feat(docs): add *.js?raw module * feat(docs): change to react-jsx and add **/*.js * chore(root): include js and jsx * refactor(docs): autocomplete dx * chore(docs): rollback overrides * chore(autocomplete): lint * fix(autocomplete): incorrect import path * fix(docs): autocomplete dx * chore(docs): remove highlightedLines * refactor(docs): breadcrumbs dx (#3968) * refactor(docs): breadcrumbs dx * fix(docs): export issue * chore(docs): use preserve for jsx * fix(docs): support multiline import * fix(docs): support multiple export * chore(docs): add back export * refactor(docs): avatar dx (#3951) * refactor(docs): badge dx (#3960) * refactor(docs): badge dx * chore(docs): incorrect import path * refactor(docs): button dx (#3981) * refactor(docs): calendar dx (#4022) * refactor(docs): calendar dx * fix(docs): incorrect import path * refactor(docs): switch dx (#4037) * refactor(docs): switch dx * chore(docs): remove highlightedLines * refactor(docs): tooltip (#4035) * refactor(docs): usage dx (#4036) * refactor(docs): circular-progress dx (#4029) * refactor(docs): chip-dx (#4028) * refactor(docs): checkbox-group dx (#4027) * refactor(docs): checkbox dx (#4024) * refactor(docs): checkbox dx * fix(docs): incorrect import path * refactor(docs): card dx (#4023) * refactor(docs): skeleton dx (#4042) * refactor(docs): spacer dx (#4043) * refactor(docs): snippet dx (#4044) * refactor(docs): scroll-shadow dx (#4045) * refactor(docs): code dx (#4046) * refactor(docs): kbd dx (#4047) * refactor(docs): link dx (#4048) * refactor(docs): progress dx (#4049) * refactor(docs): divider dx (#4050) * refactor(docs): listbox dx (#4051) * refactor(docs): listbox dx * fix(docs): import path * fix(docs): import path * chore(docs): remove highlightedLines * fix(docs): indentation * chore(docs): replace the props of autocomplete from value to key (#4129) * refactor(docs): alert dx (#4108) * refactor(docs): alert dx * refactor(docs): alert dx * refactor(docs): image dx (#4061) * refactor(docs): textarea dx (#4063) * refactor(docs): spinner dx (#4088) * refactor(docs): radio-group dx (#4064) * refactor(docs): pagination dx (#4062) * refactor(docs): pagination dx * refactor(docs): pagination dx * refactor(docs): time-input dx (#4065) * refactor(docs): time-input dx * refactor(docs): time-input dx * refactor(docs): slider dx (#4066) * refactor(docs): slider dx * refactor(docs): slider dx * refactor(docs): move SliderValue to type * refactor(docs): slider dx * refactor(docs): make icon code collapsible * refactor(docs): specify versions for date packages (#4138) * refactor(docs): specify versions for date packages * fix(docs): correct RA i18n version * chore(deps): sync version from package * refactor(docs): tabs dx (#4067) * refactor(docs): tab dx * refactor(docs): tabs dx * refactor(docs): input dx (#4102) * refactor(docs): input dx * refactor(docs): input dx * refactor(docs): navbar dx (#4076) * refactor(docs): navbar dx * refactor(docs): navbar dx * refactor(docs): navbar dx * refactor(docs): modal dx (#4077) * refactor(docs): modal dx * refactor(docs): modal dx * refactor(docs): select dx (#4078) * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): table dx (#4079) * refactor(docs): table dx * fix(docs): import path * refactor(docs): table dx * refactor(docs): table dx * refactor(docs): popover dx (#4090) * refactor(docs): range-calendar dx (#4089) * refactor(docs): range-calendar dx * fix(docs): import path * refactor(docs): date input dx (#4100) * refactor(docs): dropdown dx (#4101) * refactor(docs): dropdown dx * refactor(docs): remove highlightedLines * refactor(docs): dropdown dx * refactor(docs): dropdown dx * refactor(docs): date-picker dx (#4103) * refactor(docs): date-picker dx * fix(docs): import paths * refactor(docs): date-range-picker dx (#4104) * refactor(docs): date-range-picker dx * fix(docs): date-range-picker dx * refactor(docs): drawer dx (#4109) * refactor(docs): drawer dx * fix(docs): indentation * refactor(docs): make icon collapsible --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Ryo Matsukawa <[email protected]> * Merge branch 'beta/release-next' into pr/3477 * refactor(docs): apply new structure to doc * feat(input-otp): introduce input OTP component (#4052) * feat(input-otp): adding the functionality * fix(input-otp): making the use of input-otp library * Update .changeset/spotty-flies-jump.md * chore(input-otp): nits * feat: improvements and fixes added * refactor: input-otp docs improvements * fix: changeset * fix: build --------- Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * ci(changesets): version packages (beta) (#4169) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * refactor(theme): revise label font size for lg (#4141) * refactor(theme): revise label font size for lg * chore(changeset): add changeset * refactor(theme): revise label font size for lg * fix(docs): typecheck errors (#4171) * fix(docs): remove duplicate import * fix(docs): update type for onChange in range-calendar page * fix(docs): add missing `@react-types/calendar` * fix(docs): broken syntax * fix(docs): typecheck issues * fix(docs): add missing `@react-types/datepicker` * fix(docs): typecheck issues * fix: missing li tag when href is specified (#4168) * fix(items): items in list should wrapped in li in case of a * chore: adding the tests * fix: textarea issues with the clear button * chore: adjust clear button position --------- Co-authored-by: doki- <[email protected]> Co-authored-by: WK Wong <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Mustafa Balcı <[email protected]> Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: Vincentius Roger Kuswara <[email protected]> Co-authored-by: Ryo Matsukawa <[email protected]> Co-authored-by: winches <[email protected]> Co-authored-by: Tianen Pang <[email protected]> Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: chirokas <[email protected]> * ci(changesets): version packages (beta) (#4170) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * docs: sync api from nextui-cli v0.3.5 (#4173) Co-authored-by: GitHub Action <[email protected]> * ci(changesets): exit pre-release mode --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: աӄա <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Mustafa Balcı <[email protected]> Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: Vincentius Roger Kuswara <[email protected]> Co-authored-by: Ryo Matsukawa <[email protected]> Co-authored-by: winches <[email protected]> Co-authored-by: Tianen Pang <[email protected]> Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: chirokas <[email protected]> Co-authored-by: doki- <[email protected]> Co-authored-by: GitHub Action <[email protected]> * fix: pre release workflow on protected branches (#4174) * chore(pre-release): enter pre-release mode (#4175) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * fix: input otp peer deps (#4176) * chore: update workflows * chore: pre release workflow modified (#4177) * chore: canary versions (#4178) * fix: pre-release workflow (#4179) * chore: merged with beta branch * chore: workflow updated * ci(changesets): version packages * fix: changeset get github info * chore: force canary to release (#4180) * Feat/canary release (#4181) * chore: force canary to release * feat: canary release * ci(changesets): version packages * ci(changesets): version packages * fix: exit pre-release mode * fix: exit pre-release mode * fix: exit pre-release mode * fix: exit pre-release mode * fix: exit pre-release mode * chore: exit pre release mode * fix(workflows): release & pre-release flow (#4184) * chore: revert exit and enter pre release changes * chore: canary release test (#4185) * chore: update exit and enter workflows * chore: update workflow name * fix: exit pre-release mode * fix: exit pre-release mode * chore: delete pre file * chore: remove duplicate changesets * chore: base branch change to canary, changeset config * refactor: beta tags manually deleted (#4187) * fix: install * fix: peer deps (#4188) * Fix/peer deps (#4189) * fix: peer deps * fix: tests * fix: routes * chore(docs): revise defaultShowFlagList (#4193) * chore(docs): add Example to defaultShowFlagList * chore(docs): revise defaultShowFlagList * feat: documentation improvements (#4195) * feat: documentation improvements * fix: alert api * Feat/doc improvements (#4196) * feat: documentation improvements * fix: alert api * fix: copy button * fix: return in card demo * Fix/react core pkg (#4204) * fix: double use client tag import in react core package * fix: double use client * chore: restore postbuild script * docs: optimize code fold (#4202) * docs: optimize code fold * fix: code review * fix(input): teaxtarea label squish (#4197) * fix(input): teaxtarea label squish * chore(changeset): add changeset for textarea label fix * chore: remove customer runner * chore: rename changeset * chore: increase timeout * chore: change get info pkg version * chore: new changeset * chore: single chnageset * chore: consolidated changeset * chore: consolidated changeset * Update release.yaml (#4205) * chore: consolidated changeset * fix: forwardRef render functions not using ref (#4198) * fix: forwardRef render functions not using ref * fix: changelog * fix: review * fix: forwardRef render functions not using ref * docs: update changeset * feat(listbox): virtualization (#4206) * fix: should not export list item internal variables type * feat: changeset * fix: type error * fix: code block type error * feat: virtualization feature, docs for listbox * chore: update routes.json * fix: fix code-demo for typecheck * chore: rollback for files * chore: props omitted in the component itself * fix: menu item types * fix: tupecheck --------- Co-authored-by: winches <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * feat(select): virtualization (#4203) * fix: should not export list item internal variables type * feat: changeset * feat: integrate virtualized listbox to select component, add more props * feat: update docs for select component * feat: update docs to include API for virtualization * fix: update docs to follow the newest format * fix: update test for disable virtualization, add test for virtualized version * fix: fix typo * fix: type error * fix: code block type error * chore: update docs to use raw jsx instead of template literal * fix: fix code-demo for typecheck * chore: rollback for files * fix: types * chore: remove caret version on tanstack virtual pkg * fix: pnpm lock file * fix: virtualization examples * fix: number of items --------- Co-authored-by: winches <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * chore: adjust code colors * fix: collection based components ref (#4207) * chore: documentation adjustments * Update data-slot for the error message in the select. (#4214) * Update data-slot for the error message in the select. All components use the `data-slot="error-message"` attribute, except for the select component. I observed this behavior when a test in my application started failing. * refactor(select): refactors the data-slots attribute for the error message * fix(docs): types for classNames and itemClasses (#4209) * feat: documentation improvements * chore: more improvements to the docs, routing updated, acccordiong font size change * feat: forms doc in progress * fix(touch): fixing the selection functionality on touch (#4220) * fix(touch): fixing the selection functionality on touch * fix: radio, checkbox & switch interactions --------- Co-authored-by: Junior Garcia <[email protected]> * chore(docs): remove non-existing attribute (#4221) * fix(select): hideEmptyContent API (#4219) * fix(select): hideEmptyContent API * test(select): hideEmptyContent tests * docs(select): hideEmptyContent API * chore(select): hideEmptyContent storybook * chore(changeset): add hideEmptyContent API to select * refactor(select): hideEmptyContent nitpick * test(select): hideEmptyContent UI assertions * fix(select): hideEmptyContent default false * docs(select): hideEmptyContent default false * fix(pagination): cursor position when hidden on init (#4222) * fix(pagination): cusor position when hidden on init * test(pagination): cursor intersection observer * chore(changeset): pagination cursor position fix * refactor(pagination): minor nitpicks - check for null ref in usePagination - restore original IntersectionObserver in test * fix: form fixes and improvements (#4224) * chore: form in progress * chore: main demo addded to forms, checkbox validation fixed * chore: forms docs improved * fix(deps): bump `@react-aria/utils` version (#4226) * fix(deps): bump `@react-aria/utils` version * chore(changeset): add changeset * feat: forms doc completed * chore: form component doc created * chore: forms doc improved * chore: doc improvements * chore: alert doc improved * feat: nextjs 15 migration in progress * feat: nextjs 15 migration [docs] (#4228) * feat: nextjs 15 migration in progress * feat: next 15 downgraded to next 14 * fix: migration errors * feat: codeblog is now rendered only when visible, this made a huge performance improvement * fix: remove folding * feat: v2.6.0 blog * feat: Adding nextui pro section on the landing page (#4227) * feat: adding nextui pro section on the landing page * chore(nits): nits * fix: remove pro image on mobile --------- Co-authored-by: Junior Garcia <[email protected]> * fix(docs): prevent scrolling up on pressing theme change switch (#4233) * chore: improve v2.6.0 blog * chore: small improvements * chore: improve blog * ci(changesets): version packages (#4186) Co-authored-by: Junior Garcia <[email protected]> * fix: snippet release (#4235) * ci(changesets): version packages (#4236) Co-authored-by: Junior Garcia <[email protected]> * chore: v2.6.2 * ci(changesets): version packages (#4237) Co-authored-by: Junior Garcia <[email protected]> * fix: draggable modal demo * fix: v2.6 blog * chore: adjust blog * chore: release notes link updated --------- Signe…
* fix(input): ensure clear button is not focusable when disabled (#3774) * fix(input): ensure clear button is not focusable when disabled * test(input): add test to ensure clear button is not focusable when disabled * chore: add changeset for clear button focus fix when input is disabled * fix(input): update clear button to use button element * test(input): add focus test when disabled and update tests for clear button using button element * test(input): replace querySelector with getByRole for clear button * fix(input): set tabIndex to -1 for clear button * test(input): ensure clear button is not focusable * fix(image): add missing `w` to `getWrapperProps` dependency (#3802) * fix(image): add missing `w` to `getWrapperProps` dependency * chore(changeset): add changeset * fix(autocomplete): popover should remain open after clicking clear button (#3788) * fix: add state.open() so that dropdown is not closed * chore: add changeset * chore(autocomplete): add testcases for keeping lisbox open when clearButton is clicked * chore: update changeset * chore(autocomplete): change the docs for test cases * chore(changeset): update changeset message and add issue number --------- Co-authored-by: WK Wong <[email protected]> * refactor(docs): example of blurred card (#3741) * docs(card): adding info regarding the gradient for blurred card * chore(nit): adding example * chore(docs): revise content for card isBlurred example * chore(docs): revise isBlurred note --------- Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: WK Wong <[email protected]> * fix(docs): replace twitter logo/links with x logo/links (#3815) * fix(docs): replace Twitter logo/links with X logo/links * docs: update twitter references to x * docs: update changeset for twitter to x changes * docs: update twitter references to x * docs: update twitter references to x * chore(docs): undo .sponsorsrc since it's generated * refactor(docs): remove unnecessary classes * chore(docs): undo .sponsorsrc since it's generated --------- Co-authored-by: WK Wong <[email protected]> * fix(date-picker): adding props from calendarProps to getCalendarProps (#3773) * fix(date-picker): adding props from calendarProps to the getCalendarProps * chore(date-picker): adding the changeset * chore(changeset): add issue number --------- Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: WK Wong <[email protected]> * feat(autocomplete): automatically focus first non-disabled item (#2186) Co-authored-by: WK Wong <[email protected]> * docs(accordion): add overflow to custom motion example (#3793) * fix(docs): typos in dark mode page (#3823) * fix(theme): fullWidth in input and select (#3768) * fix(input): fixing the fullWidth functionality * chore(changeset): add issue number * chore(changeset): revise changeset message --------- Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: WK Wong <[email protected]> * fix(autocomplete): exit animation on popover close (#3845) * fix(autocomplete): exit animation on popover close * refactor(autocomplete): getListBoxProps --------- Co-authored-by: WK Wong <[email protected]> * refactor(theme): replace the use of RTL-specific styles with logical properties (#3868) * chore(rtl): remove the usages of rtl * chore(changeset): adding the changeset * chore(changeset): update changeset message --------- Co-authored-by: WK Wong <[email protected]> * fix(select): label placement discrepancy in Select (#3853) * fix(select): label placement incorrect in case of multiline * chore(select): adding the changeset * chore(select): adding the tests * chore(select): code imrovement, wkw's suggestions * chore(changeset): update changeset message --------- Co-authored-by: WK Wong <[email protected]> * fix(theme): label placement in select and input (#3869) * fix(theme): fix the label placement * chore(changeset): adding the changeset * chore(select): adding comments * fix(docs): avoid translating the code block (#3878) * docs(Codeblock): avoid code be translated * fix(docs): lint issue --------- Co-authored-by: WK Wong <[email protected]> * fix(listbox): change listBoxItem key to optional (#3883) * fix(listbox): listBoxItem key to optional * chore: add defaultSelectedKeys test for numeric keys and ids * chore: add changeset * chore: comment out section prompts in PR template (#3884) * chore(test): update testing libraries and refactor (#3886) * fix(theme): show margin only with label in Switch component (#3861) * fix(switch): removed right margin in wrapper #3791 * feat(changeset): added changeset * fix(switch): removed me-2 in wrapper * fix(switch): added ms-2 to label * chore(changeset): correct package and message --------- Co-authored-by: WK Wong <[email protected]> * fix(theme): removed pseudo cancel btn from input (#3912) * fix(theme): removed pseudo cancel btn from input * chore(changeset): adding the changeset * fix(input): conditionally hiding the webkit search * chore(changeset): revise changeset message --------- Co-authored-by: WK Wong <[email protected]> * refactor(docs): dx improvement in accordion (#3856) * refactor: improve dx for writing a docs component (#2544) * refactor: improve dx for write a docs component Signed-off-by: Innei <[email protected]> * refactor(docs): switch to contentlayer2 * chore(docs): rename to avoid conflict * refactor(docs): switch to next-contentlayer2 * refactor(docs): revise docs lib * chore(deps): bump docs related dependencies * fix(use-aria-multiselect): type issue due to ts version bump --------- Signed-off-by: Innei <[email protected]> Co-authored-by: WK Wong <[email protected]> * refactor(docs): accordion codes * feat(docs): declare module `*.jsx?raw` * feat(docs): include `**/*.jsx` * fix(docs): incorrect content * chore(docs): add new lines * refactor(docs): lint --------- Signed-off-by: Innei <[email protected]> Co-authored-by: Innei <[email protected]> * fix(docs): typos in hero section (#3928) * fix(theme): support RTL for breadcrumbs (#3927) * fix(breadcrumbs): added separator rotation for RTL #2486 * chore(changeset): added changeset * fix(docs): removed unused import and merged classNames in dropdown (#3936) * fix(breadcrumbs): added separator rotation for RTL #2486 * chore(changeset): added changeset * fix(docs): removed unused Link import and merged classnames in dropdown * fix: avatar filter disableAnimation to dom prop (#3946) * feat: add git hook to auto update dependencies (#3365) * feat: add git hook to auto update dependencies * feat: update color * fix: prevent test matcher warning (#3893) * fix: prevent test matcher warning * chore: add node types * chore: update Jest related packages * chore: run pnpm install * fix(tabs): correct inert value for true condition (#3978) * Alert component (#3982) * feat(alert): began the work on alert component * fix(readme): making correction * chore(deps): change to 2.0.0 * chore(docs): update README.md * feat(theme): init alert tv * chore(alert): update package.json * feat(alert): init alert storybook structure * chore(changeset): add changeset * chore(changeset): change to minor * chore(alert): revise alert package.json * feat(alert): init test structure * chore(deps): pnpm-lock.yaml * feat(alert): initailized theme and basic structure * feat(alert): completed use-alert.ts and alert.tsx * feat(alert): remove innerWrapper, replace helperWrapper with mainWrapper, adding isCloseable prop * feat(alert): adding isCloseable prop to baseWrapper dependency * feat(alert): setting the default value of isCloseable prop to true * feat(alert): moving CloseIcon inside the button * feat(alert): updated package.json * feat(alert): default variant and default story * feat(alert): adding color and radius stories * feat(alert): completed the styling * feat(alert): add stories for isCloseable prop and restyle other stories * feat(alert): correcting ref type * feat(alert): add test cases * feat(alert): remove startContent and endContent props * feat(alert): make styling more accurate * feat(alert): fixed default props * feat(alert): fixed theme docs * feat(alert): add logic for icons * feat(alert): begin to add docs * chore(alert): implement the changes suggested in code review * feat(alert): add onclose prop to alert * feat(alert): add test cases * docs(alert): add onClose event * feat(docs): add alert to routes.json * fix(alert): correct the text colors * docs(alert): fix imports and syntax errors * chore(alert): implement the changes suggested in code review * chore(alert): lint the code and change isCloseable to isClosable * chore(alert): lint the code * chore(alert): run pnpm i * fix(alert): fix the logic for close button and add test case * docs(alert): fix docs, change isCloseable to isClosable and change docs for isClosable property * chore(alert): add the support for RTL, refactor the code and fix the typos * docs(alert): grammer issues fix * fix(alert): replace rtl with ms * chore(alert): custom style and custom implementation, remove isClosable={false}, refactor, fix typos * chore(alert): linting and implement coderabbit suggestions * chore(alert): refactor and typos fix * chore(alert): add import for closeIcon * chore(alert): add props for closeIcon * chore(alert): refactor fixes * chore(alert): implement ryo-manba's suggestion on close Icon * chore(alert): make alert more responsive * chore(alert): fix grammer issues suggested by coderabbit * fix(alert): add max-w property to make alert responsive * chore(alert): improve responsiveness and refactor alertIcon * chore(alert): add missing dependency to useMemo * chore(alert): implement coderabbit's suggestions * chore(alert): update docs and refactor * chore(alert): refactor alertIcon and implement coderabbit's suggestion * chore: fixes --------- Co-authored-by: Abhinav Agarwal <[email protected]> Co-authored-by: WK Wong <[email protected]> Co-authored-by: Abhinav Agarwal <[email protected]> * Feat/add draggable modal (#3983) * feat(hooks): add use-draggable hook * feat(components): [modal] export use-draggable * docs(components): [modal] add draggable modal * feat(components): [modal] add ref prop for modal-header * chore(components): [modal] add draggable modal for storybook * chore: add changeset for draggable modal * docs(hooks): [use-draggable] fix typo * chore: upper changeset * chore(components): [modal] add overflow draggable modal to sb * test(components): [modal] add draggable modal tests * build: update pnpm-lock * chore(changeset): include issue number * feat(hooks): [use-draggable] set user-select to none when during the dragging * docs(components): [modal] update code demo title * docs(components): [modal] condense description for draggable overflow * feat(hooks): [use-draggable] change version to 0.1.0 * refactor(hooks): [use-draggable] use use-move implement use-draggable * feat(hooks): [use-draggable] remove repeated user-select * test(components): [modal] update test case to use-draggable base use-move * docs(components): [modal] update draggable examples * fix(hooks): [use-draggable] fix mobile device touchmove event conflict * refactor(hooks): [use-draggable] remove drag ref prop * refactor(hooks): [use-draggable] draggable2is-disabled overflow2can-overflow * test(components): [modal] add draggble disable test * chore(hooks): [use-draggable] add commant for body touchmove * Update packages/hooks/use-draggable/src/index.ts Co-authored-by: Ryo Matsukawa <[email protected]> * fix(hooks): [use-draggable] import use-callback * test(components): [modal] add mobile-sized test for draggable * chore(hooks): [use-draggable] add use-callback for func * chore(hooks): [use-draggable] update version to 2.0.0 * chore: fix typo * Update .changeset/soft-apricots-sleep.md * fix: pnpm lock * fix: build * chore: add updated moadl --------- Co-authored-by: wzc520pyfm <[email protected]> Co-authored-by: աɨռɢӄաօռɢ <[email protected]> Co-authored-by: Ryo Matsukawa <[email protected]> * chore: upgrade react-aria / React 19 & Next.js 15 support (#3732) * chore: upgrade react-aria * chore: add changeset * chore: fix type error --------- Co-authored-by: Junior Garcia <[email protected]> * feat(date-picker): add selectorButtonPlacement property (#3248) * feat(date-picker): add selectorButtonPlacement property * chore: update changeset * Update .changeset/neat-donkeys-accept.md Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: Junior Garcia <[email protected]> * feat: add tab ref (#3974) * feat: add tab ref * feat: add changeset * feat: pre-release workflow (#2910) * feat(workflow): pre-release * feat(workflow): exit pre-release * chore(workflow): update version & publish commands * fix(workflow): add missing attributes and use schangeset:beta cmd * feat(root): add changeset:beta * fix(workflows): revise pre-release logic * fix(workflows): add missing run * fix(workflows): use changeset:exit with version instead * feat(root): add changeset:exit cmd * refactor(workflows): add pths, id, and format * feat(workflows): enter pre-release mode * chore(workflows): remove pre.json only * refactor(workflows): remove enter-pre-release-mode * fix(workflows): incorrect url * refactor(root): remove unused exit command * refactor(workflows): add comments * feat(changeset): change to main branch as baseBranch * feat(root): add changeset:canary * refactor(workflows): remove unused workflow * feat(workflow): support canary pre-release mode * refactor(docs): change to canary * feat(popover): added control for closing popover on scroll (#3595) * fix(navbar): fixed the height when style h-full * fix(navbar): fixed the height when style h-full * docs(changeset): resolved extra file * feat(popover): added control for closing popover on scroll * update(changeset): correction * feat(popover): removed extra story * refactor(test): corrected test for both true and false values of shouldCloseOnScroll * refactor(docs): added shouldCloseOnScroll prop * chore(changeset): change to minor --------- Co-authored-by: աӄա <[email protected]> * feat: add month and year pickers to DateRangePicker and RangeCalendar (#3302) * feat: add month and year pickers to DateRangePicker and RangeCalendar * chore: update docs * Update .changeset/kind-cobras-travel.md * chore: react package version --------- Co-authored-by: Junior Garcia <[email protected]> * chore(deps): bump tailwind-merge version (#3657) * chore(deps): bump tailwind-merge versions * chore(theme): adopt latest extendTailwindMerge * chore(changeset): add changeset * chore(changeset): change to minor * Update .changeset/grumpy-mayflies-rhyme.md --------- Co-authored-by: Junior Garcia <[email protected]> * feat: added drawer component (#3986) Signed-off-by: The1111mp <[email protected]> Co-authored-by: The1111mp <[email protected]> * refactor: optimisations (#3523) * refactor: replace lodash with native approaches * refactor(deps): update framer-motion versions * feat(utilities): add @nextui-org/dom-animation * refactor(components): load domAnimation dynamically * refactor(deps): add @nextui-org/dom-animation * fix(utilities): relocate index.ts * feat(changeset): framer motion optimization * chore(deps): bump framer-motion version * fix(docs): conflict issue * refactor(hooks): remove the unnecessary this aliasing * refactor(utilities): remove the unnecessary this aliasing * chore(docs): remove {} so that it won't be true all the time * chore(dom-animation): end with new line * refactor(hooks): use debounce from `@nextui-org/shared-utils` * chore(deps): add `@nextui-org/shared-utils` * refactor: move mapKeys logic to `@nextui-org/shared-utils` * refactor: use `get` from `@nextui-org/shared-utils` * refactor(docs): use `get` from `@nextui-org/shared-utils` * refactor(shared-utils): mapKeys * chore(deps): bump framer-motion version * chore(deps): remove lodash * refactor(docs): use intersectionBy from shared-utils * feat(shared-utils): add intersectionBy * chore(dom-animation): remove extra blank line * refactor(shared-utils): revise intersectionBy * fix(modal): add willChange * refactor(shared-utils): add comments * fix: build & tests --------- Co-authored-by: Junior Garcia <[email protected]> * feat(hooks): use-theme hook (#3169) * feat(docs): update dark mode content * feat(hooks): @nextui-org/use-theme * chore(docs): revise ThemeSwitcher code * refactor(hooks): simplify useTheme and support custom theme names * feat(hooks): add use-theme test cases * feat(changeset): add changeset * refactor(hooks): make localStorageMock globally and clear before each test * fix(docs): typo * fix(hooks): coderabbitai comments * chore(hooks): remove unnecessary + * chore(changeset): change to minor * feat(hooks): handle system theme * chore(hooks): add EOL * refactor(hooks): add default theme * refactor(hooks): revise useTheme * refactor(hooks): resolve pr comments * refactor(hooks): resolve pr comments * refactor(hooks): resolve pr comments * refactor(hooks): remove unused theme in dependency array * chore(docs): typos * refactor(hooks): mark system as key for system theme * chore: merged with canary --------- Co-authored-by: Junior Garcia <[email protected]> * Fix/avatar flashing (#3987) * fix(use-image): cached image flashing * chore: merged with canary --------- Co-authored-by: Rakha Kanz Kautsar <[email protected]> * refactor(menu): Use `useMenu` and `useMenuItem` from RA (#3261) * refactor(menu): use useMenu from react-aria instead * refactor(menu): use useMenuItem from react-aria instead * feat(changeset): add changeset * chore: merged with canary * fix: dropdown tests --------- Co-authored-by: Junior Garcia <[email protected]> * fix(theme): added stripe color gradients for progress (#3938) * fix(breadcrumbs): added separator rotation for RTL #2486 * chore(changeset): added changeset * fix(docs): removed unused Link import and merged classnames in dropdown * fix(theme):added stripe color gradients for progress #1933 * refactor(theme): added stripe-size and createStripeGradient * chore: add all minor releases * fix(docs): invalid canary storybook link (#4030) * fix(use-image): image ReferenceError in SSR (#4122) * fix(use-image): image ReferenceError in SSR * fix(use-image): sync with beta * fix(use-image): sync with beta * chore(use-image): remove unnecessary comments * fix(docs): buildLocation expects an object (#4118) * fix(docs): routing.mdx * Delete .changeset/pre.json * chore(docs): update yarn installation command (#4132) There is no `-g` flag in yarn. `global` is a command which must immediately follow yarn. Source: https://classic.yarnpkg.com/lang/en/docs/cli/global/ * chore: upgrade storybook 8 (#4124) * feat: upgrade storybook8 * chore: upgrade storybook and vite * chore: remove @mdx-js/react optimizeDep * chore: add @mdx-js/react optimizeDep * fix: format * docs: add forms guide (#3822) * v2.5.0 [BETA] (#4164) * chore(pre-release): enter pre-release mode * fix(theme): apply tw nested group (#3909) * chore(changset): add changeset * fix(theme): apply nested group to table * chore(docs): update table bottomContent code * fix: changeset * fix: changeset * fix: changeset * fix: changeset * fix: changeset * fix: pkg versions * fix: changeset * fix: drawer peer dep * chore: update plop components tempalte * ci(changesets): version packages (beta) (#3988) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: pre-release workflow * chore: debug log added * chore: force pre-release * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * chore: beta1 (#3990) * ci(changesets): version packages (beta) (#3991) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(use-image): image ReferenceError in SSR (#3993) * fix(input): fixed a sliding issue caused by the helper wrapper (#3966) * If it is false and there is an error message or description it will create a div * Update packages/components/input/src/input.tsx * Update packages/components/select/src/select.tsx * Update packages/components/input/src/textarea.tsx * add changeset * changeset update * ci(changesets): version packages (beta) (#3995) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: image loading in the server (#3996) * fix: lock file * chore: force release * chore: force release 2 * ci(changesets): version packages (beta) (#3997) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: image load on next.js (#3998) * ci(changesets): version packages (beta) (#3999) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: element.ref was removed in React 19 warning (#4003) * ci(changesets): version packages (beta) (#4004) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: react 19 as peer dep (#4008) * ci(changesets): version packages (beta) (#4009) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Beta/react 19 support (#4010) * fix: react 19 as peer dep * fix: react 19 as peer dep * chore: support framer-motion alpha version * ci(changesets): version packages (beta) (#4011) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(theme): making select and input themes consistent (#3881) * ci(changesets): version packages (beta) (#4012) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: support inert value with boolean type for react 19 (#4039) * ci(changesets): version packages (beta) (#4041) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: alert design improved (#4054) * ci(changesets): version packages (beta) (#4056) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: drawer improvements (#4057) * ci(changesets): version packages (beta) (#4058) * feat: alert styles improved (#4071) * ci(changesets): version packages (beta) (#4072) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: alert styles improved (#4073) * ci(changesets): version packages (beta) (#4074) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: add number of stars and credits * chore: fix build * chore: improve navabr colors * chore: new changeset (#4083) * ci(changesets): version packages (beta) (#4084) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: pnpm cleaned (#4086) * ci(changesets): version packages (beta) (#4087) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: custom runnner added * chore: custom runner test (#4091) * Beta/custom runner (#4092) * chore: custom runner test * chore: custom runner test * chore: remove 2 from older changeset * ci(changesets): version packages (beta) (#4093) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: new demo added to alert * Feat/virtualization for autocomplete (#4094) * feat: add react-window virtualization for autocomplete * fix: wrong imports and wrong sizing * fix: update pnpm lock * chore: add test cases for large dataset (1000 and 10000 items) * chore: move virtualized-listbox to listbox components folder, implement isVirtualized conditional * feat: implement dynamic listboxheight n item height, add story * chore: rename props, remove unnecessary line changes * fix: maxHeight style 256px for default, conditional usage of virtualizer * feat: migrate to tan-stack virtual. (todo: fix scroll shadow) * feat: virtualization support --------- Co-authored-by: Vincentius Roger Kuswara <[email protected]> * ci(changesets): version packages (beta) (#4095) * feat: small fixes * feat: add reducedMotion setting to Provider (#3470) * feat: add reducedMotion setting to Provider * chore: refactor reducedMotion story * Update .changeset/pretty-parrots-guess.md --------- Co-authored-by: Junior Garcia <[email protected]> * ci(changesets): version packages (beta) (#4106) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: move circular-progress tv to progress (#3321) * fix: remove circular-progress tv to progress * docs: changeset * chore(changeset): update changeset message * Update .changeset/angry-maps-serve.md --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * fix: label placement when the select has a placeholder or description (#4126) * ci(changesets): version packages (beta) (#4107) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(deps): add missing `framer-motion` in `peerDependencies` (#4140) * fix(theme): add truncate class to the list item to avoid overflow the wrapper (#4105) * fix(docs): invalid canary storybook link (#4030) * fix: menu item hidden overflow text * feat: changeset * Merge branch 'beta/release-next' into fix/menu-item-hidden * fix: truncate list item * feat: update changeset * fix(menu): omit internal props --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * feat(table): add isKeyboardNavigationDisabled prop to the table (#3735) Co-authored-by: Maharshi Alpesh <[email protected]> * feat: add form component (#3036) * chore: add support validationBehavior aria * chore: add validationBehavior to Provider * chore: add autocomplete validation test * chore: add checkbox validation test * fix(input): require condition * docs: add description of validationBehavior props * chore: add support validationBehavior props for date components * docs(dates): add description of validationBehavior props * chore: add changeset * chore: format * chore: fix test * fix: select validationBehavior is not support yet * fix: select validationBehavior not supported yet * feat: add form component with input support * feat: add support form context * chore: wip add support for form server errors * chore: add support checkbox server validation * chore: add support radio server validation * chore: update pnpm-lock.yaml * chore: add support input server validation * chore: add support autocomplete server validation * chore(form): add server validation stories * chore: fix test * chore: add date-picker validation test * chore: update form stories * chore: add changeset * chore: update react-aria version * chore: add pnpm-lock.yaml * chore: update react-aria version * chore: add comment * chore: update react-aria version * chore: fix change set * chore: export form component in the main package * chore: upgrade react-aria * chore: fixed internationalized/date version * fix: build error * chore: upgrade docs react-aria version * fix: remove comment * fix: debug setting * chore(docs): update sponsor (#3904) * chore(docs): remove Scrumbuiss * chore(docs): remove Scrumbuiss logo * chore(docs): replace va by posthog (#4123) * chore(changeset): change to patch * refactor: react-aria-components remove to decrease package size, logic moved to the form package --------- Co-authored-by: Junior Garcia <[email protected]> Co-authored-by: WK Wong <[email protected]> * docs: add forms guide (#4155) Co-authored-by: Ryo Matsukawa <[email protected]> * chore: routes updated * ci(changesets): version packages (beta) (#4151) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: fix indentation * fix(changeset): package not be found * ci(changesets): version packages (beta) (#4158) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(select): controlled isInvalid prop (#4082) * fix(select): controlled isInvalid prop * chore: add changeset * Merge branch 'beta/release-next' into pr/4082 --------- Co-authored-by: WK Wong <[email protected]> * ci(changesets): version packages (beta) (#4159) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore(changeset): bump all versions * ci(changesets): version packages (beta) (#4160) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(deps): missing peer / dev dependency for framer-motion (#4161) * fix(system): align `navigate` function parameters with `@react-aria` (#4163) * fix: menu item classNames not work (#4156) * fix: menu item classNames not work * feat: changeset * docs: update * feat: merge classes utility added * Update .changeset/brave-trains-wave.md --------- Co-authored-by: WK Wong <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * chore(docs): remove incorrect info * ci(changesets): version packages (beta) (#4162) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * refactor(docs): overall dx (#4055) * refactor(docs): revise code block (#3922) * refactor(docs): revise code block * chore(docs): resolve pr comments * refactor(docs): autocomplete dx (#3934) * feat(docs): add *.js?raw module * feat(docs): change to react-jsx and add **/*.js * chore(root): include js and jsx * refactor(docs): autocomplete dx * chore(docs): rollback overrides * chore(autocomplete): lint * fix(autocomplete): incorrect import path * fix(docs): autocomplete dx * chore(docs): remove highlightedLines * refactor(docs): breadcrumbs dx (#3968) * refactor(docs): breadcrumbs dx * fix(docs): export issue * chore(docs): use preserve for jsx * fix(docs): support multiline import * fix(docs): support multiple export * chore(docs): add back export * refactor(docs): avatar dx (#3951) * refactor(docs): badge dx (#3960) * refactor(docs): badge dx * chore(docs): incorrect import path * refactor(docs): button dx (#3981) * refactor(docs): calendar dx (#4022) * refactor(docs): calendar dx * fix(docs): incorrect import path * refactor(docs): switch dx (#4037) * refactor(docs): switch dx * chore(docs): remove highlightedLines * refactor(docs): tooltip (#4035) * refactor(docs): usage dx (#4036) * refactor(docs): circular-progress dx (#4029) * refactor(docs): chip-dx (#4028) * refactor(docs): checkbox-group dx (#4027) * refactor(docs): checkbox dx (#4024) * refactor(docs): checkbox dx * fix(docs): incorrect import path * refactor(docs): card dx (#4023) * refactor(docs): skeleton dx (#4042) * refactor(docs): spacer dx (#4043) * refactor(docs): snippet dx (#4044) * refactor(docs): scroll-shadow dx (#4045) * refactor(docs): code dx (#4046) * refactor(docs): kbd dx (#4047) * refactor(docs): link dx (#4048) * refactor(docs): progress dx (#4049) * refactor(docs): divider dx (#4050) * refactor(docs): listbox dx (#4051) * refactor(docs): listbox dx * fix(docs): import path * fix(docs): import path * chore(docs): remove highlightedLines * fix(docs): indentation * chore(docs): replace the props of autocomplete from value to key (#4129) * refactor(docs): alert dx (#4108) * refactor(docs): alert dx * refactor(docs): alert dx * refactor(docs): image dx (#4061) * refactor(docs): textarea dx (#4063) * refactor(docs): spinner dx (#4088) * refactor(docs): radio-group dx (#4064) * refactor(docs): pagination dx (#4062) * refactor(docs): pagination dx * refactor(docs): pagination dx * refactor(docs): time-input dx (#4065) * refactor(docs): time-input dx * refactor(docs): time-input dx * refactor(docs): slider dx (#4066) * refactor(docs): slider dx * refactor(docs): slider dx * refactor(docs): move SliderValue to type * refactor(docs): slider dx * refactor(docs): make icon code collapsible * refactor(docs): specify versions for date packages (#4138) * refactor(docs): specify versions for date packages * fix(docs): correct RA i18n version * chore(deps): sync version from package * refactor(docs): tabs dx (#4067) * refactor(docs): tab dx * refactor(docs): tabs dx * refactor(docs): input dx (#4102) * refactor(docs): input dx * refactor(docs): input dx * refactor(docs): navbar dx (#4076) * refactor(docs): navbar dx * refactor(docs): navbar dx * refactor(docs): navbar dx * refactor(docs): modal dx (#4077) * refactor(docs): modal dx * refactor(docs): modal dx * refactor(docs): select dx (#4078) * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): table dx (#4079) * refactor(docs): table dx * fix(docs): import path * refactor(docs): table dx * refactor(docs): table dx * refactor(docs): popover dx (#4090) * refactor(docs): range-calendar dx (#4089) * refactor(docs): range-calendar dx * fix(docs): import path * refactor(docs): date input dx (#4100) * refactor(docs): dropdown dx (#4101) * refactor(docs): dropdown dx * refactor(docs): remove highlightedLines * refactor(docs): dropdown dx * refactor(docs): dropdown dx * refactor(docs): date-picker dx (#4103) * refactor(docs): date-picker dx * fix(docs): import paths * refactor(docs): date-range-picker dx (#4104) * refactor(docs): date-range-picker dx * fix(docs): date-range-picker dx * refactor(docs): drawer dx (#4109) * refactor(docs): drawer dx * fix(docs): indentation * refactor(docs): make icon collapsible --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Ryo Matsukawa <[email protected]> * feat(input-otp): introduce input OTP component (#4052) * feat(input-otp): adding the functionality * fix(input-otp): making the use of input-otp library * Update .changeset/spotty-flies-jump.md * chore(input-otp): nits * feat: improvements and fixes added * refactor: input-otp docs improvements * fix: changeset * fix: build --------- Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * ci(changesets): version packages (beta) (#4169) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * refactor(theme): revise label font size for lg (#4141) * refactor(theme): revise label font size for lg * chore(changeset): add changeset * refactor(theme): revise label font size for lg * fix(docs): typecheck errors (#4171) * fix(docs): remove duplicate import * fix(docs): update type for onChange in range-calendar page * fix(docs): add missing `@react-types/calendar` * fix(docs): broken syntax * fix(docs): typecheck issues * fix(docs): add missing `@react-types/datepicker` * fix(docs): typecheck issues * fix: missing li tag when href is specified (#4168) * fix(items): items in list should wrapped in li in case of a * chore: adding the tests * Feat/textarea add clear button (#4172) * feat(components): add clear button to the textarea component * docs(textarea): add test and changeset * feat(textarea): modify the changeset file * feat(textarea): add clear button to textarea * feat(textarea): add isClearable prop to textarea * docs(textarea): add documentation to textarea * docs(textarea): add documentation to textarea * feat(textarea): replace the textarea component clear icon and modify its location * feat(textarea): revise the clear button position * feat(textarea): revise the clear button structure * feat(textarea): revise the styles of clear button and textarea * feat(textarea): revise the styles of RTL case * feat(textarea): change the rtl to pe * feat(textarea): delete the px classname * chore(changeset): update package and message * test(textarea): add test case * feat(textarea): change the clear button structure * feat(textarea): optimized code * chore(textarea): update the changeset file * docs(textarea): add slots doc to textarea * chore(textarea): update peerDevpeerDependencies version * chore(textarea): add usecallback dep * Update .changeset/five-adults-protect.md * chore(pre-release): enter pre-release mode * feat(textarea): modify the clear button icon * fix(theme): apply tw nested group (#3909) * chore(changset): add changeset * fix(theme): apply nested group to table * chore(docs): update table bottomContent code * fix: changeset * fix: changeset * fix: changeset * fix: changeset * fix: changeset * fix: pkg versions * fix: changeset * fix: drawer peer dep * chore: update plop components tempalte * ci(changesets): version packages (beta) (#3988) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: pre-release workflow * chore: debug log added * chore: force pre-release * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * chore: beta1 (#3990) * ci(changesets): version packages (beta) (#3991) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(use-image): image ReferenceError in SSR (#3993) * fix(input): fixed a sliding issue caused by the helper wrapper (#3966) * If it is false and there is an error message or description it will create a div * Update packages/components/input/src/input.tsx * Update packages/components/select/src/select.tsx * Update packages/components/input/src/textarea.tsx * add changeset * changeset update * ci(changesets): version packages (beta) (#3995) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: image loading in the server (#3996) * fix: lock file * chore: force release * chore: force release 2 * ci(changesets): version packages (beta) (#3997) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: image load on next.js (#3998) * ci(changesets): version packages (beta) (#3999) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: element.ref was removed in React 19 warning (#4003) * ci(changesets): version packages (beta) (#4004) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: react 19 as peer dep (#4008) * ci(changesets): version packages (beta) (#4009) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Beta/react 19 support (#4010) * fix: react 19 as peer dep * fix: react 19 as peer dep * chore: support framer-motion alpha version * ci(changesets): version packages (beta) (#4011) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(theme): making select and input themes consistent (#3881) * ci(changesets): version packages (beta) (#4012) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(textarea): fix clearButton display * fix: support inert value with boolean type for react 19 (#4039) * ci(changesets): version packages (beta) (#4041) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: alert design improved (#4054) * ci(changesets): version packages (beta) (#4056) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: drawer improvements (#4057) * ci(changesets): version packages (beta) (#4058) * feat: alert styles improved (#4071) * ci(changesets): version packages (beta) (#4072) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: alert styles improved (#4073) * ci(changesets): version packages (beta) (#4074) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: add number of stars and credits * chore: fix build * chore: improve navabr colors * chore: new changeset (#4083) * ci(changesets): version packages (beta) (#4084) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: pnpm cleaned (#4086) * ci(changesets): version packages (beta) (#4087) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: custom runnner added * chore: custom runner test (#4091) * Beta/custom runner (#4092) * chore: custom runner test * chore: custom runner test * chore: remove 2 from older changeset * ci(changesets): version packages (beta) (#4093) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: new demo added to alert * Feat/virtualization for autocomplete (#4094) * feat: add react-window virtualization for autocomplete * fix: wrong imports and wrong sizing * fix: update pnpm lock * chore: add test cases for large dataset (1000 and 10000 items) * chore: move virtualized-listbox to listbox components folder, implement isVirtualized conditional * feat: implement dynamic listboxheight n item height, add story * chore: rename props, remove unnecessary line changes * fix: maxHeight style 256px for default, conditional usage of virtualizer * feat: migrate to tan-stack virtual. (todo: fix scroll shadow) * feat: virtualization support --------- Co-authored-by: Vincentius Roger Kuswara <[email protected]> * ci(changesets): version packages (beta) (#4095) * feat: small fixes * feat: add reducedMotion setting to Provider (#3470) * feat: add reducedMotion setting to Provider * chore: refactor reducedMotion story * Update .changeset/pretty-parrots-guess.md --------- Co-authored-by: Junior Garcia <[email protected]> * ci(changesets): version packages (beta) (#4106) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: move circular-progress tv to progress (#3321) * fix: remove circular-progress tv to progress * docs: changeset * chore(changeset): update changeset message * Update .changeset/angry-maps-serve.md --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * fix: label placement when the select has a placeholder or description (#4126) * ci(changesets): version packages (beta) (#4107) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(deps): add missing `framer-motion` in `peerDependencies` (#4140) * fix(theme): add truncate class to the list item to avoid overflow the wrapper (#4105) * fix(docs): invalid canary storybook link (#4030) * fix: menu item hidden overflow text * feat: changeset * Merge branch 'beta/release-next' into fix/menu-item-hidden * fix: truncate list item * feat: update changeset * fix(menu): omit internal props --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * Update apps/docs/content/docs/components/textarea.mdx * feat(table): add isKeyboardNavigationDisabled prop to the table (#3735) Co-authored-by: Maharshi Alpesh <[email protected]> * feat: add form component (#3036) * chore: add support validationBehavior aria * chore: add validationBehavior to Provider * chore: add autocomplete validation test * chore: add checkbox validation test * fix(input): require condition * docs: add description of validationBehavior props * chore: add support validationBehavior props for date components * docs(dates): add description of validationBehavior props * chore: add changeset * chore: format * chore: fix test * fix: select validationBehavior is not support yet * fix: select validationBehavior not supported yet * feat: add form component with input support * feat: add support form context * chore: wip add support for form server errors * chore: add support checkbox server validation * chore: add support radio server validation * chore: update pnpm-lock.yaml * chore: add support input server validation * chore: add support autocomplete server validation * chore(form): add server validation stories * chore: fix test * chore: add date-picker validation test * chore: update form stories * chore: add changeset * chore: update react-aria version * chore: add pnpm-lock.yaml * chore: update react-aria version * chore: add comment * chore: update react-aria version * chore: fix change set * chore: export form component in the main package * chore: upgrade react-aria * chore: fixed internationalized/date version * fix: build error * chore: upgrade docs react-aria version * fix: remove comment * fix: debug setting * chore(docs): update sponsor (#3904) * chore(docs): remove Scrumbuiss * chore(docs): remove Scrumbuiss logo * chore(docs): replace va by posthog (#4123) * chore(changeset): change to patch * refactor: react-aria-components remove to decrease package size, logic moved to the form package --------- Co-authored-by: Junior Garcia <[email protected]> Co-authored-by: WK Wong <[email protected]> * docs: add forms guide (#4155) Co-authored-by: Ryo Matsukawa <[email protected]> * chore: routes updated * ci(changesets): version packages (beta) (#4151) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: fix indentation * fix(changeset): package not be found * ci(changesets): version packages (beta) (#4158) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(select): controlled isInvalid prop (#4082) * fix(select): controlled isInvalid prop * chore: add changeset * Merge branch 'beta/release-next' into pr/4082 --------- Co-authored-by: WK Wong <[email protected]> * ci(changesets): version packages (beta) (#4159) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore(changeset): bump all versions * ci(changesets): version packages (beta) (#4160) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(deps): missing peer / dev dependency for framer-motion (#4161) * fix(system): align `navigate` function parameters with `@react-aria` (#4163) * fix: menu item classNames not work (#4156) * fix: menu item classNames not work * feat: changeset * docs: update * feat: merge classes utility added * Update .changeset/brave-trains-wave.md --------- Co-authored-by: WK Wong <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * chore(docs): remove incorrect info * ci(changesets): version packages (beta) (#4162) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * refactor(docs): overall dx (#4055) * refactor(docs): revise code block (#3922) * refactor(docs): revise code block * chore(docs): resolve pr comments * refactor(docs): autocomplete dx (#3934) * feat(docs): add *.js?raw module * feat(docs): change to react-jsx and add **/*.js * chore(root): include js and jsx * refactor(docs): autocomplete dx * chore(docs): rollback overrides * chore(autocomplete): lint * fix(autocomplete): incorrect import path * fix(docs): autocomplete dx * chore(docs): remove highlightedLines * refactor(docs): breadcrumbs dx (#3968) * refactor(docs): breadcrumbs dx * fix(docs): export issue * chore(docs): use preserve for jsx * fix(docs): support multiline import * fix(docs): support multiple export * chore(docs): add back export * refactor(docs): avatar dx (#3951) * refactor(docs): badge dx (#3960) * refactor(docs): badge dx * chore(docs): incorrect import path * refactor(docs): button dx (#3981) * refactor(docs): calendar dx (#4022) * refactor(docs): calendar dx * fix(docs): incorrect import path * refactor(docs): switch dx (#4037) * refactor(docs): switch dx * chore(docs): remove highlightedLines * refactor(docs): tooltip (#4035) * refactor(docs): usage dx (#4036) * refactor(docs): circular-progress dx (#4029) * refactor(docs): chip-dx (#4028) * refactor(docs): checkbox-group dx (#4027) * refactor(docs): checkbox dx (#4024) * refactor(docs): checkbox dx * fix(docs): incorrect import path * refactor(docs): card dx (#4023) * refactor(docs): skeleton dx (#4042) * refactor(docs): spacer dx (#4043) * refactor(docs): snippet dx (#4044) * refactor(docs): scroll-shadow dx (#4045) * refactor(docs): code dx (#4046) * refactor(docs): kbd dx (#4047) * refactor(docs): link dx (#4048) * refactor(docs): progress dx (#4049) * refactor(docs): divider dx (#4050) * refactor(docs): listbox dx (#4051) * refactor(docs): listbox dx * fix(docs): import path * fix(docs): import path * chore(docs): remove highlightedLines * fix(docs): indentation * chore(docs): replace the props of autocomplete from value to key (#4129) * refactor(docs): alert dx (#4108) * refactor(docs): alert dx * refactor(docs): alert dx * refactor(docs): image dx (#4061) * refactor(docs): textarea dx (#4063) * refactor(docs): spinner dx (#4088) * refactor(docs): radio-group dx (#4064) * refactor(docs): pagination dx (#4062) * refactor(docs): pagination dx * refactor(docs): pagination dx * refactor(docs): time-input dx (#4065) * refactor(docs): time-input dx * refactor(docs): time-input dx * refactor(docs): slider dx (#4066) * refactor(docs): slider dx * refactor(docs): slider dx * refactor(docs): move SliderValue to type * refactor(docs): slider dx * refactor(docs): make icon code collapsible * refactor(docs): specify versions for date packages (#4138) * refactor(docs): specify versions for date packages * fix(docs): correct RA i18n version * chore(deps): sync version from package * refactor(docs): tabs dx (#4067) * refactor(docs): tab dx * refactor(docs): tabs dx * refactor(docs): input dx (#4102) * refactor(docs): input dx * refactor(docs): input dx * refactor(docs): navbar dx (#4076) * refactor(docs): navbar dx * refactor(docs): navbar dx * refactor(docs): navbar dx * refactor(docs): modal dx (#4077) * refactor(docs): modal dx * refactor(docs): modal dx * refactor(docs): select dx (#4078) * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): table dx (#4079) * refactor(docs): table dx * fix(docs): import path * refactor(docs): table dx * refactor(docs): table dx * refactor(docs): popover dx (#4090) * refactor(docs): range-calendar dx (#4089) * refactor(docs): range-calendar dx * fix(docs): import path * refactor(docs): date input dx (#4100) * refactor(docs): dropdown dx (#4101) * refactor(docs): dropdown dx * refactor(docs): remove highlightedLines * refactor(docs): dropdown dx * refactor(docs): dropdown dx * refactor(docs): date-picker dx (#4103) * refactor(docs): date-picker dx * fix(docs): import paths * refactor(docs): date-range-picker dx (#4104) * refactor(docs): date-range-picker dx * fix(docs): date-range-picker dx * refactor(docs): drawer dx (#4109) * refactor(docs): drawer dx * fix(docs): indentation * refactor(docs): make icon collapsible --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Ryo Matsukawa <[email protected]> * Merge branch 'beta/release-next' into pr/3477 * refactor(docs): apply new structure to doc * feat(input-otp): introduce input OTP component (#4052) * feat(input-otp): adding the functionality * fix(input-otp): making the use of input-otp library * Update .changeset/spotty-flies-jump.md * chore(input-otp): nits * feat: improvements and fixes added * refactor: input-otp docs improvements * fix: changeset * fix: build --------- Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * ci(changesets): version packages (beta) (#4169) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * refactor(theme): revise label font size for lg (#4141) * refactor(theme): revise label font size for lg * chore(changeset): add changeset * refactor(theme): revise label font size for lg * fix(docs): typecheck errors (#4171) * fix(docs): remove duplicate import * fix(docs): update type for onChange in range-calendar page * fix(docs): add missing `@react-types/calendar` * fix(docs): broken syntax * fix(docs): typecheck issues * fix(docs): add missing `@react-types/datepicker` * fix(docs): typecheck issues * fix: missing li tag when href is specified (#4168) * fix(items): items in list should wrapped in li in case of a * chore: adding the tests * fix: textarea issues with the clear button * chore: adjust clear button position --------- Co-authored-by: doki- <[email protected]> Co-authored-by: WK Wong <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Mustafa Balcı <[email protected]> Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: Vincentius Roger Kuswara <[email protected]> Co-authored-by: Ryo Matsukawa <[email protected]> Co-authored-by: winches <[email protected]> Co-authored-by: Tianen Pang <[email protected]> Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: chirokas <[email protected]> * ci(changesets): version packages (beta) (#4170) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * docs: sync api from nextui-cli v0.3.5 (#4173) Co-authored-by: GitHub Action <[email protected]> * ci(changesets): exit pre-release mode --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: աӄա <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Mustafa Balcı <[email protected]> Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: Vincentius Roger Kuswara <[email protected]> Co-authored-by: Ryo Matsukawa <[email protected]> Co-authored-by: winches <[email protected]> Co-authored-by: Tianen Pang <[email protected]> Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: chirokas <[email protected]> Co-authored-by: doki- <[email protected]> Co-authored-by: GitHub Action <[email protected]> * fix: pre release workflow on protected branches (#4174) * chore(pre-release): enter pre-release mode (#4175) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * fix: input otp peer deps (#4176) * chore: update workflows * chore: pre release workflow modified (#4177) * chore: canary versions (#4178) * fix: pre-release workflow (#4179) * chore: merged with beta branch * chore: workflow updated * ci(changesets): version packages * fix: changeset get github info * chore: force canary to release (#4180) * Feat/canary release (#4181) * chore: force canary to release * feat: canary release * ci(changesets): version packages * ci(changesets): version packages * fix: exit pre-release mode * fix: exit pre-release mode * fix: exit pre-release mode * fix: exit pre-release mode * fix: exit pre-release mode * chore: exit pre release mode * fix(workflows): release & pre-release flow (#4184) * chore: revert exit and enter pre release changes * chore: canary release test (#4185) * chore: update exit and enter workflows * chore: update workflow name * fix: exit pre-release mode * fix: exit pre-release mode * chore: delete pre file * chore: remove duplicate changesets * chore: base branch change to canary, changeset config * refactor: beta tags manually deleted (#4187) * fix: install * fix: peer deps (#4188) * Fix/peer deps (#4189) * fix: peer deps * fix: tests * fix: routes * chore(docs): revise defaultShowFlagList (#4193) * chore(docs): add Example to defaultShowFlagList * chore(docs): revise defaultShowFlagList * feat: documentation improvements (#4195) * feat: documentation improvements * fix: alert api * Feat/doc improvements (#4196) * feat: documentation improvements * fix: alert api * fix: copy button * fix: return in card demo * Fix/react core pkg (#4204) * fix: double use client tag import in react core package * fix: double use client * chore: restore postbuild script * docs: optimize code fold (#4202) * docs: optimize code fold * fix: code review * fix(input): teaxtarea label squish (#4197) * fix(input): teaxtarea label squish * chore(changeset): add changeset for textarea label fix * chore: remove customer runner * chore: rename changeset * chore: increase timeout * chore: change get info pkg version * chore: new changeset * chore: single chnageset * chore: consolidated changeset * chore: consolidated changeset * Update release.yaml (#4205) * chore: consolidated changeset * fix: forwardRef render functions not using ref (#4198) * fix: forwardRef render functions not using ref * fix: changelog * fix: review * fix: forwardRef render functions not using ref * docs: update changeset * feat(listbox): virtualization (#4206) * fix: should not export list item internal variables type * feat: changeset * fix: type error * fix: code block type error * feat: virtualization feature, docs for listbox * chore: update routes.json * fix: fix code-demo for typecheck * chore: rollback for files * chore: props omitted in the component itself * fix: menu item types * fix: tupecheck --------- Co-authored-by: winches <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * feat(select): virtualization (#4203) * fix: should not export list item internal variables type * feat: changeset * feat: integrate virtualized listbox to select component, add more props * feat: update docs for select component * feat: update docs to include API for virtualization * fix: update docs to follow the newest format * fix: update test for disable virtualization, add test for virtualized version * fix: fix typo * fix: type error * fix: code block type error * chore: update docs to use raw jsx instead of template literal * fix: fix code-demo for typecheck * chore: rollback for files * fix: types * chore: remove caret version on tanstack virtual pkg * fix: pnpm lock file * fix: virtualization examples * fix: number of items --------- Co-authored-by: winches <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * chore: adjust code colors * fix: collection based components ref (#4207) * chore: documentation adjustments * Update data-slot for the error message in the select. (#4214) * Update data-slot for the error message in the select. All components use the `data-slot="error-message"` attribute, except for the select component. I observed this behavior when a test in my application started failing. * refactor(select): refactors the data-slots attribute for the error message * fix(docs): types for classNames and itemClasses (#4209) * feat: documentation improvements * chore: more improvements to the docs, routing updated, acccordiong font size change * feat: forms doc in progress * fix(touch): fixing the selection functionality on touch (#4220) * fix(touch): fixing the selection functionality on touch * fix: radio, checkbox & switch interactions --------- Co-authored-by: Junior Garcia <[email protected]> * chore(docs): remove non-existing attribute (#4221) * fix(select): hideEmptyContent API (#4219) * fix(select): hideEmptyContent API * test(select): hideEmptyContent tests * docs(select): hideEmptyContent API * chore(select): hideEmptyContent storybook * chore(changeset): add hideEmptyContent API to select * refactor(select): hideEmptyContent nitpick * test(select): hideEmptyContent UI assertions * fix(select): hideEmptyContent default false * docs(select): hideEmptyContent default false * fix(pagination): cursor position when hidden on init (#4222) * fix(pagination): cusor position when hidden on init * test(pagination): cursor intersection observer * chore(changeset): pagination cursor position fix * refactor(pagination): minor nitpicks - check for null ref in usePagination - restore original IntersectionObserver in test * fix: form fixes and improvements (#4224) * chore: form in progress * chore: main demo addded to forms, checkbox validation fixed * chore: forms docs improved * fix(deps): bump `@react-aria/utils` version (#4226) * fix(deps): bump `@react-aria/utils` version * chore(changeset): add changeset * feat: forms doc completed * chore: form component doc created * chore: forms doc improved * chore: doc improvements * chore: alert doc improved * feat: nextjs 15 migration in progress * feat: nextjs 15 migration [docs] (#4228) * feat: nextjs 15 migration in progress * feat: next 15 downgraded to next 14 * fix: migration errors * feat: codeblog is now rendered only when visible, this made a huge performance improvement * fix: remove folding * feat: v2.6.0 blog * feat: Adding nextui pro section on the landing page (#4227) * feat: adding nextui pro section on the landing page * chore(nits): nits * fix: remove pro image on mobile --------- Co-authored-by: Junior Garcia <[email protected]> * fix(docs): prevent scrolling up on pressing theme change switch (#4233) * chore: improve v2.6.0 blog * chore: small improvements * chore: improve blog * ci(changesets): version packages (#4186) Co-authored-by: Junior Garcia <[email protected]> * fix: snippet release (#4235) * ci(changesets): version packages (#4236) Co-authored-by: Junior Garcia <[email protected]> * chore: v2.6.2 * ci(changesets): version packages (#4237) Co-authored-by: Junior Garcia <[email protected]> * fix: draggable modal demo * fix: v2.6 blog * chore: adjust blog * chore: release notes link updated * fix: v2.6.0 (#4247) * fix: …
* fix(input): ensure clear button is not focusable when disabled (#3774) * fix(input): ensure clear button is not focusable when disabled * test(input): add test to ensure clear button is not focusable when disabled * chore: add changeset for clear button focus fix when input is disabled * fix(input): update clear button to use button element * test(input): add focus test when disabled and update tests for clear button using button element * test(input): replace querySelector with getByRole for clear button * fix(input): set tabIndex to -1 for clear button * test(input): ensure clear button is not focusable * fix(image): add missing `w` to `getWrapperProps` dependency (#3802) * fix(image): add missing `w` to `getWrapperProps` dependency * chore(changeset): add changeset * fix(autocomplete): popover should remain open after clicking clear button (#3788) * fix: add state.open() so that dropdown is not closed * chore: add changeset * chore(autocomplete): add testcases for keeping lisbox open when clearButton is clicked * chore: update changeset * chore(autocomplete): change the docs for test cases * chore(changeset): update changeset message and add issue number --------- Co-authored-by: WK Wong <[email protected]> * refactor(docs): example of blurred card (#3741) * docs(card): adding info regarding the gradient for blurred card * chore(nit): adding example * chore(docs): revise content for card isBlurred example * chore(docs): revise isBlurred note --------- Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: WK Wong <[email protected]> * fix(docs): replace twitter logo/links with x logo/links (#3815) * fix(docs): replace Twitter logo/links with X logo/links * docs: update twitter references to x * docs: update changeset for twitter to x changes * docs: update twitter references to x * docs: update twitter references to x * chore(docs): undo .sponsorsrc since it's generated * refactor(docs): remove unnecessary classes * chore(docs): undo .sponsorsrc since it's generated --------- Co-authored-by: WK Wong <[email protected]> * fix(date-picker): adding props from calendarProps to getCalendarProps (#3773) * fix(date-picker): adding props from calendarProps to the getCalendarProps * chore(date-picker): adding the changeset * chore(changeset): add issue number --------- Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: WK Wong <[email protected]> * feat(autocomplete): automatically focus first non-disabled item (#2186) Co-authored-by: WK Wong <[email protected]> * docs(accordion): add overflow to custom motion example (#3793) * fix(docs): typos in dark mode page (#3823) * fix(theme): fullWidth in input and select (#3768) * fix(input): fixing the fullWidth functionality * chore(changeset): add issue number * chore(changeset): revise changeset message --------- Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: WK Wong <[email protected]> * fix(autocomplete): exit animation on popover close (#3845) * fix(autocomplete): exit animation on popover close * refactor(autocomplete): getListBoxProps --------- Co-authored-by: WK Wong <[email protected]> * refactor(theme): replace the use of RTL-specific styles with logical properties (#3868) * chore(rtl): remove the usages of rtl * chore(changeset): adding the changeset * chore(changeset): update changeset message --------- Co-authored-by: WK Wong <[email protected]> * fix(select): label placement discrepancy in Select (#3853) * fix(select): label placement incorrect in case of multiline * chore(select): adding the changeset * chore(select): adding the tests * chore(select): code imrovement, wkw's suggestions * chore(changeset): update changeset message --------- Co-authored-by: WK Wong <[email protected]> * fix(theme): label placement in select and input (#3869) * fix(theme): fix the label placement * chore(changeset): adding the changeset * chore(select): adding comments * fix(docs): avoid translating the code block (#3878) * docs(Codeblock): avoid code be translated * fix(docs): lint issue --------- Co-authored-by: WK Wong <[email protected]> * fix(listbox): change listBoxItem key to optional (#3883) * fix(listbox): listBoxItem key to optional * chore: add defaultSelectedKeys test for numeric keys and ids * chore: add changeset * chore: comment out section prompts in PR template (#3884) * chore(test): update testing libraries and refactor (#3886) * fix(theme): show margin only with label in Switch component (#3861) * fix(switch): removed right margin in wrapper #3791 * feat(changeset): added changeset * fix(switch): removed me-2 in wrapper * fix(switch): added ms-2 to label * chore(changeset): correct package and message --------- Co-authored-by: WK Wong <[email protected]> * fix(theme): removed pseudo cancel btn from input (#3912) * fix(theme): removed pseudo cancel btn from input * chore(changeset): adding the changeset * fix(input): conditionally hiding the webkit search * chore(changeset): revise changeset message --------- Co-authored-by: WK Wong <[email protected]> * refactor(docs): dx improvement in accordion (#3856) * refactor: improve dx for writing a docs component (#2544) * refactor: improve dx for write a docs component Signed-off-by: Innei <[email protected]> * refactor(docs): switch to contentlayer2 * chore(docs): rename to avoid conflict * refactor(docs): switch to next-contentlayer2 * refactor(docs): revise docs lib * chore(deps): bump docs related dependencies * fix(use-aria-multiselect): type issue due to ts version bump --------- Signed-off-by: Innei <[email protected]> Co-authored-by: WK Wong <[email protected]> * refactor(docs): accordion codes * feat(docs): declare module `*.jsx?raw` * feat(docs): include `**/*.jsx` * fix(docs): incorrect content * chore(docs): add new lines * refactor(docs): lint --------- Signed-off-by: Innei <[email protected]> Co-authored-by: Innei <[email protected]> * fix(docs): typos in hero section (#3928) * fix(theme): support RTL for breadcrumbs (#3927) * fix(breadcrumbs): added separator rotation for RTL #2486 * chore(changeset): added changeset * fix(docs): removed unused import and merged classNames in dropdown (#3936) * fix(breadcrumbs): added separator rotation for RTL #2486 * chore(changeset): added changeset * fix(docs): removed unused Link import and merged classnames in dropdown * fix: avatar filter disableAnimation to dom prop (#3946) * feat: add git hook to auto update dependencies (#3365) * feat: add git hook to auto update dependencies * feat: update color * fix: prevent test matcher warning (#3893) * fix: prevent test matcher warning * chore: add node types * chore: update Jest related packages * chore: run pnpm install * fix(tabs): correct inert value for true condition (#3978) * Alert component (#3982) * feat(alert): began the work on alert component * fix(readme): making correction * chore(deps): change to 2.0.0 * chore(docs): update README.md * feat(theme): init alert tv * chore(alert): update package.json * feat(alert): init alert storybook structure * chore(changeset): add changeset * chore(changeset): change to minor * chore(alert): revise alert package.json * feat(alert): init test structure * chore(deps): pnpm-lock.yaml * feat(alert): initailized theme and basic structure * feat(alert): completed use-alert.ts and alert.tsx * feat(alert): remove innerWrapper, replace helperWrapper with mainWrapper, adding isCloseable prop * feat(alert): adding isCloseable prop to baseWrapper dependency * feat(alert): setting the default value of isCloseable prop to true * feat(alert): moving CloseIcon inside the button * feat(alert): updated package.json * feat(alert): default variant and default story * feat(alert): adding color and radius stories * feat(alert): completed the styling * feat(alert): add stories for isCloseable prop and restyle other stories * feat(alert): correcting ref type * feat(alert): add test cases * feat(alert): remove startContent and endContent props * feat(alert): make styling more accurate * feat(alert): fixed default props * feat(alert): fixed theme docs * feat(alert): add logic for icons * feat(alert): begin to add docs * chore(alert): implement the changes suggested in code review * feat(alert): add onclose prop to alert * feat(alert): add test cases * docs(alert): add onClose event * feat(docs): add alert to routes.json * fix(alert): correct the text colors * docs(alert): fix imports and syntax errors * chore(alert): implement the changes suggested in code review * chore(alert): lint the code and change isCloseable to isClosable * chore(alert): lint the code * chore(alert): run pnpm i * fix(alert): fix the logic for close button and add test case * docs(alert): fix docs, change isCloseable to isClosable and change docs for isClosable property * chore(alert): add the support for RTL, refactor the code and fix the typos * docs(alert): grammer issues fix * fix(alert): replace rtl with ms * chore(alert): custom style and custom implementation, remove isClosable={false}, refactor, fix typos * chore(alert): linting and implement coderabbit suggestions * chore(alert): refactor and typos fix * chore(alert): add import for closeIcon * chore(alert): add props for closeIcon * chore(alert): refactor fixes * chore(alert): implement ryo-manba's suggestion on close Icon * chore(alert): make alert more responsive * chore(alert): fix grammer issues suggested by coderabbit * fix(alert): add max-w property to make alert responsive * chore(alert): improve responsiveness and refactor alertIcon * chore(alert): add missing dependency to useMemo * chore(alert): implement coderabbit's suggestions * chore(alert): update docs and refactor * chore(alert): refactor alertIcon and implement coderabbit's suggestion * chore: fixes --------- Co-authored-by: Abhinav Agarwal <[email protected]> Co-authored-by: WK Wong <[email protected]> Co-authored-by: Abhinav Agarwal <[email protected]> * Feat/add draggable modal (#3983) * feat(hooks): add use-draggable hook * feat(components): [modal] export use-draggable * docs(components): [modal] add draggable modal * feat(components): [modal] add ref prop for modal-header * chore(components): [modal] add draggable modal for storybook * chore: add changeset for draggable modal * docs(hooks): [use-draggable] fix typo * chore: upper changeset * chore(components): [modal] add overflow draggable modal to sb * test(components): [modal] add draggable modal tests * build: update pnpm-lock * chore(changeset): include issue number * feat(hooks): [use-draggable] set user-select to none when during the dragging * docs(components): [modal] update code demo title * docs(components): [modal] condense description for draggable overflow * feat(hooks): [use-draggable] change version to 0.1.0 * refactor(hooks): [use-draggable] use use-move implement use-draggable * feat(hooks): [use-draggable] remove repeated user-select * test(components): [modal] update test case to use-draggable base use-move * docs(components): [modal] update draggable examples * fix(hooks): [use-draggable] fix mobile device touchmove event conflict * refactor(hooks): [use-draggable] remove drag ref prop * refactor(hooks): [use-draggable] draggable2is-disabled overflow2can-overflow * test(components): [modal] add draggble disable test * chore(hooks): [use-draggable] add commant for body touchmove * Update packages/hooks/use-draggable/src/index.ts Co-authored-by: Ryo Matsukawa <[email protected]> * fix(hooks): [use-draggable] import use-callback * test(components): [modal] add mobile-sized test for draggable * chore(hooks): [use-draggable] add use-callback for func * chore(hooks): [use-draggable] update version to 2.0.0 * chore: fix typo * Update .changeset/soft-apricots-sleep.md * fix: pnpm lock * fix: build * chore: add updated moadl --------- Co-authored-by: wzc520pyfm <[email protected]> Co-authored-by: աɨռɢӄաօռɢ <[email protected]> Co-authored-by: Ryo Matsukawa <[email protected]> * chore: upgrade react-aria / React 19 & Next.js 15 support (#3732) * chore: upgrade react-aria * chore: add changeset * chore: fix type error --------- Co-authored-by: Junior Garcia <[email protected]> * feat(date-picker): add selectorButtonPlacement property (#3248) * feat(date-picker): add selectorButtonPlacement property * chore: update changeset * Update .changeset/neat-donkeys-accept.md Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: Junior Garcia <[email protected]> * feat: add tab ref (#3974) * feat: add tab ref * feat: add changeset * feat: pre-release workflow (#2910) * feat(workflow): pre-release * feat(workflow): exit pre-release * chore(workflow): update version & publish commands * fix(workflow): add missing attributes and use schangeset:beta cmd * feat(root): add changeset:beta * fix(workflows): revise pre-release logic * fix(workflows): add missing run * fix(workflows): use changeset:exit with version instead * feat(root): add changeset:exit cmd * refactor(workflows): add pths, id, and format * feat(workflows): enter pre-release mode * chore(workflows): remove pre.json only * refactor(workflows): remove enter-pre-release-mode * fix(workflows): incorrect url * refactor(root): remove unused exit command * refactor(workflows): add comments * feat(changeset): change to main branch as baseBranch * feat(root): add changeset:canary * refactor(workflows): remove unused workflow * feat(workflow): support canary pre-release mode * refactor(docs): change to canary * feat(popover): added control for closing popover on scroll (#3595) * fix(navbar): fixed the height when style h-full * fix(navbar): fixed the height when style h-full * docs(changeset): resolved extra file * feat(popover): added control for closing popover on scroll * update(changeset): correction * feat(popover): removed extra story * refactor(test): corrected test for both true and false values of shouldCloseOnScroll * refactor(docs): added shouldCloseOnScroll prop * chore(changeset): change to minor --------- Co-authored-by: աӄա <[email protected]> * feat: add month and year pickers to DateRangePicker and RangeCalendar (#3302) * feat: add month and year pickers to DateRangePicker and RangeCalendar * chore: update docs * Update .changeset/kind-cobras-travel.md * chore: react package version --------- Co-authored-by: Junior Garcia <[email protected]> * chore(deps): bump tailwind-merge version (#3657) * chore(deps): bump tailwind-merge versions * chore(theme): adopt latest extendTailwindMerge * chore(changeset): add changeset * chore(changeset): change to minor * Update .changeset/grumpy-mayflies-rhyme.md --------- Co-authored-by: Junior Garcia <[email protected]> * feat: added drawer component (#3986) Signed-off-by: The1111mp <[email protected]> Co-authored-by: The1111mp <[email protected]> * refactor: optimisations (#3523) * refactor: replace lodash with native approaches * refactor(deps): update framer-motion versions * feat(utilities): add @nextui-org/dom-animation * refactor(components): load domAnimation dynamically * refactor(deps): add @nextui-org/dom-animation * fix(utilities): relocate index.ts * feat(changeset): framer motion optimization * chore(deps): bump framer-motion version * fix(docs): conflict issue * refactor(hooks): remove the unnecessary this aliasing * refactor(utilities): remove the unnecessary this aliasing * chore(docs): remove {} so that it won't be true all the time * chore(dom-animation): end with new line * refactor(hooks): use debounce from `@nextui-org/shared-utils` * chore(deps): add `@nextui-org/shared-utils` * refactor: move mapKeys logic to `@nextui-org/shared-utils` * refactor: use `get` from `@nextui-org/shared-utils` * refactor(docs): use `get` from `@nextui-org/shared-utils` * refactor(shared-utils): mapKeys * chore(deps): bump framer-motion version * chore(deps): remove lodash * refactor(docs): use intersectionBy from shared-utils * feat(shared-utils): add intersectionBy * chore(dom-animation): remove extra blank line * refactor(shared-utils): revise intersectionBy * fix(modal): add willChange * refactor(shared-utils): add comments * fix: build & tests --------- Co-authored-by: Junior Garcia <[email protected]> * feat(hooks): use-theme hook (#3169) * feat(docs): update dark mode content * feat(hooks): @nextui-org/use-theme * chore(docs): revise ThemeSwitcher code * refactor(hooks): simplify useTheme and support custom theme names * feat(hooks): add use-theme test cases * feat(changeset): add changeset * refactor(hooks): make localStorageMock globally and clear before each test * fix(docs): typo * fix(hooks): coderabbitai comments * chore(hooks): remove unnecessary + * chore(changeset): change to minor * feat(hooks): handle system theme * chore(hooks): add EOL * refactor(hooks): add default theme * refactor(hooks): revise useTheme * refactor(hooks): resolve pr comments * refactor(hooks): resolve pr comments * refactor(hooks): resolve pr comments * refactor(hooks): remove unused theme in dependency array * chore(docs): typos * refactor(hooks): mark system as key for system theme * chore: merged with canary --------- Co-authored-by: Junior Garcia <[email protected]> * Fix/avatar flashing (#3987) * fix(use-image): cached image flashing * chore: merged with canary --------- Co-authored-by: Rakha Kanz Kautsar <[email protected]> * refactor(menu): Use `useMenu` and `useMenuItem` from RA (#3261) * refactor(menu): use useMenu from react-aria instead * refactor(menu): use useMenuItem from react-aria instead * feat(changeset): add changeset * chore: merged with canary * fix: dropdown tests --------- Co-authored-by: Junior Garcia <[email protected]> * fix(theme): added stripe color gradients for progress (#3938) * fix(breadcrumbs): added separator rotation for RTL #2486 * chore(changeset): added changeset * fix(docs): removed unused Link import and merged classnames in dropdown * fix(theme):added stripe color gradients for progress #1933 * refactor(theme): added stripe-size and createStripeGradient * chore: add all minor releases * fix(docs): invalid canary storybook link (#4030) * fix(use-image): image ReferenceError in SSR (#4122) * fix(use-image): image ReferenceError in SSR * fix(use-image): sync with beta * fix(use-image): sync with beta * chore(use-image): remove unnecessary comments * fix(docs): buildLocation expects an object (#4118) * fix(docs): routing.mdx * Delete .changeset/pre.json * chore(docs): update yarn installation command (#4132) There is no `-g` flag in yarn. `global` is a command which must immediately follow yarn. Source: https://classic.yarnpkg.com/lang/en/docs/cli/global/ * chore: upgrade storybook 8 (#4124) * feat: upgrade storybook8 * chore: upgrade storybook and vite * chore: remove @mdx-js/react optimizeDep * chore: add @mdx-js/react optimizeDep * fix: format * docs: add forms guide (#3822) * v2.5.0 [BETA] (#4164) * chore(pre-release): enter pre-release mode * fix(theme): apply tw nested group (#3909) * chore(changset): add changeset * fix(theme): apply nested group to table * chore(docs): update table bottomContent code * fix: changeset * fix: changeset * fix: changeset * fix: changeset * fix: changeset * fix: pkg versions * fix: changeset * fix: drawer peer dep * chore: update plop components tempalte * ci(changesets): version packages (beta) (#3988) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: pre-release workflow * chore: debug log added * chore: force pre-release * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * chore: beta1 (#3990) * ci(changesets): version packages (beta) (#3991) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(use-image): image ReferenceError in SSR (#3993) * fix(input): fixed a sliding issue caused by the helper wrapper (#3966) * If it is false and there is an error message or description it will create a div * Update packages/components/input/src/input.tsx * Update packages/components/select/src/select.tsx * Update packages/components/input/src/textarea.tsx * add changeset * changeset update * ci(changesets): version packages (beta) (#3995) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: image loading in the server (#3996) * fix: lock file * chore: force release * chore: force release 2 * ci(changesets): version packages (beta) (#3997) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: image load on next.js (#3998) * ci(changesets): version packages (beta) (#3999) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: element.ref was removed in React 19 warning (#4003) * ci(changesets): version packages (beta) (#4004) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: react 19 as peer dep (#4008) * ci(changesets): version packages (beta) (#4009) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Beta/react 19 support (#4010) * fix: react 19 as peer dep * fix: react 19 as peer dep * chore: support framer-motion alpha version * ci(changesets): version packages (beta) (#4011) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(theme): making select and input themes consistent (#3881) * ci(changesets): version packages (beta) (#4012) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: support inert value with boolean type for react 19 (#4039) * ci(changesets): version packages (beta) (#4041) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: alert design improved (#4054) * ci(changesets): version packages (beta) (#4056) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: drawer improvements (#4057) * ci(changesets): version packages (beta) (#4058) * feat: alert styles improved (#4071) * ci(changesets): version packages (beta) (#4072) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: alert styles improved (#4073) * ci(changesets): version packages (beta) (#4074) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: add number of stars and credits * chore: fix build * chore: improve navabr colors * chore: new changeset (#4083) * ci(changesets): version packages (beta) (#4084) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: pnpm cleaned (#4086) * ci(changesets): version packages (beta) (#4087) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: custom runnner added * chore: custom runner test (#4091) * Beta/custom runner (#4092) * chore: custom runner test * chore: custom runner test * chore: remove 2 from older changeset * ci(changesets): version packages (beta) (#4093) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: new demo added to alert * Feat/virtualization for autocomplete (#4094) * feat: add react-window virtualization for autocomplete * fix: wrong imports and wrong sizing * fix: update pnpm lock * chore: add test cases for large dataset (1000 and 10000 items) * chore: move virtualized-listbox to listbox components folder, implement isVirtualized conditional * feat: implement dynamic listboxheight n item height, add story * chore: rename props, remove unnecessary line changes * fix: maxHeight style 256px for default, conditional usage of virtualizer * feat: migrate to tan-stack virtual. (todo: fix scroll shadow) * feat: virtualization support --------- Co-authored-by: Vincentius Roger Kuswara <[email protected]> * ci(changesets): version packages (beta) (#4095) * feat: small fixes * feat: add reducedMotion setting to Provider (#3470) * feat: add reducedMotion setting to Provider * chore: refactor reducedMotion story * Update .changeset/pretty-parrots-guess.md --------- Co-authored-by: Junior Garcia <[email protected]> * ci(changesets): version packages (beta) (#4106) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: move circular-progress tv to progress (#3321) * fix: remove circular-progress tv to progress * docs: changeset * chore(changeset): update changeset message * Update .changeset/angry-maps-serve.md --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * fix: label placement when the select has a placeholder or description (#4126) * ci(changesets): version packages (beta) (#4107) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(deps): add missing `framer-motion` in `peerDependencies` (#4140) * fix(theme): add truncate class to the list item to avoid overflow the wrapper (#4105) * fix(docs): invalid canary storybook link (#4030) * fix: menu item hidden overflow text * feat: changeset * Merge branch 'beta/release-next' into fix/menu-item-hidden * fix: truncate list item * feat: update changeset * fix(menu): omit internal props --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * feat(table): add isKeyboardNavigationDisabled prop to the table (#3735) Co-authored-by: Maharshi Alpesh <[email protected]> * feat: add form component (#3036) * chore: add support validationBehavior aria * chore: add validationBehavior to Provider * chore: add autocomplete validation test * chore: add checkbox validation test * fix(input): require condition * docs: add description of validationBehavior props * chore: add support validationBehavior props for date components * docs(dates): add description of validationBehavior props * chore: add changeset * chore: format * chore: fix test * fix: select validationBehavior is not support yet * fix: select validationBehavior not supported yet * feat: add form component with input support * feat: add support form context * chore: wip add support for form server errors * chore: add support checkbox server validation * chore: add support radio server validation * chore: update pnpm-lock.yaml * chore: add support input server validation * chore: add support autocomplete server validation * chore(form): add server validation stories * chore: fix test * chore: add date-picker validation test * chore: update form stories * chore: add changeset * chore: update react-aria version * chore: add pnpm-lock.yaml * chore: update react-aria version * chore: add comment * chore: update react-aria version * chore: fix change set * chore: export form component in the main package * chore: upgrade react-aria * chore: fixed internationalized/date version * fix: build error * chore: upgrade docs react-aria version * fix: remove comment * fix: debug setting * chore(docs): update sponsor (#3904) * chore(docs): remove Scrumbuiss * chore(docs): remove Scrumbuiss logo * chore(docs): replace va by posthog (#4123) * chore(changeset): change to patch * refactor: react-aria-components remove to decrease package size, logic moved to the form package --------- Co-authored-by: Junior Garcia <[email protected]> Co-authored-by: WK Wong <[email protected]> * docs: add forms guide (#4155) Co-authored-by: Ryo Matsukawa <[email protected]> * chore: routes updated * ci(changesets): version packages (beta) (#4151) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: fix indentation * fix(changeset): package not be found * ci(changesets): version packages (beta) (#4158) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(select): controlled isInvalid prop (#4082) * fix(select): controlled isInvalid prop * chore: add changeset * Merge branch 'beta/release-next' into pr/4082 --------- Co-authored-by: WK Wong <[email protected]> * ci(changesets): version packages (beta) (#4159) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore(changeset): bump all versions * ci(changesets): version packages (beta) (#4160) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(deps): missing peer / dev dependency for framer-motion (#4161) * fix(system): align `navigate` function parameters with `@react-aria` (#4163) * fix: menu item classNames not work (#4156) * fix: menu item classNames not work * feat: changeset * docs: update * feat: merge classes utility added * Update .changeset/brave-trains-wave.md --------- Co-authored-by: WK Wong <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * chore(docs): remove incorrect info * ci(changesets): version packages (beta) (#4162) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * refactor(docs): overall dx (#4055) * refactor(docs): revise code block (#3922) * refactor(docs): revise code block * chore(docs): resolve pr comments * refactor(docs): autocomplete dx (#3934) * feat(docs): add *.js?raw module * feat(docs): change to react-jsx and add **/*.js * chore(root): include js and jsx * refactor(docs): autocomplete dx * chore(docs): rollback overrides * chore(autocomplete): lint * fix(autocomplete): incorrect import path * fix(docs): autocomplete dx * chore(docs): remove highlightedLines * refactor(docs): breadcrumbs dx (#3968) * refactor(docs): breadcrumbs dx * fix(docs): export issue * chore(docs): use preserve for jsx * fix(docs): support multiline import * fix(docs): support multiple export * chore(docs): add back export * refactor(docs): avatar dx (#3951) * refactor(docs): badge dx (#3960) * refactor(docs): badge dx * chore(docs): incorrect import path * refactor(docs): button dx (#3981) * refactor(docs): calendar dx (#4022) * refactor(docs): calendar dx * fix(docs): incorrect import path * refactor(docs): switch dx (#4037) * refactor(docs): switch dx * chore(docs): remove highlightedLines * refactor(docs): tooltip (#4035) * refactor(docs): usage dx (#4036) * refactor(docs): circular-progress dx (#4029) * refactor(docs): chip-dx (#4028) * refactor(docs): checkbox-group dx (#4027) * refactor(docs): checkbox dx (#4024) * refactor(docs): checkbox dx * fix(docs): incorrect import path * refactor(docs): card dx (#4023) * refactor(docs): skeleton dx (#4042) * refactor(docs): spacer dx (#4043) * refactor(docs): snippet dx (#4044) * refactor(docs): scroll-shadow dx (#4045) * refactor(docs): code dx (#4046) * refactor(docs): kbd dx (#4047) * refactor(docs): link dx (#4048) * refactor(docs): progress dx (#4049) * refactor(docs): divider dx (#4050) * refactor(docs): listbox dx (#4051) * refactor(docs): listbox dx * fix(docs): import path * fix(docs): import path * chore(docs): remove highlightedLines * fix(docs): indentation * chore(docs): replace the props of autocomplete from value to key (#4129) * refactor(docs): alert dx (#4108) * refactor(docs): alert dx * refactor(docs): alert dx * refactor(docs): image dx (#4061) * refactor(docs): textarea dx (#4063) * refactor(docs): spinner dx (#4088) * refactor(docs): radio-group dx (#4064) * refactor(docs): pagination dx (#4062) * refactor(docs): pagination dx * refactor(docs): pagination dx * refactor(docs): time-input dx (#4065) * refactor(docs): time-input dx * refactor(docs): time-input dx * refactor(docs): slider dx (#4066) * refactor(docs): slider dx * refactor(docs): slider dx * refactor(docs): move SliderValue to type * refactor(docs): slider dx * refactor(docs): make icon code collapsible * refactor(docs): specify versions for date packages (#4138) * refactor(docs): specify versions for date packages * fix(docs): correct RA i18n version * chore(deps): sync version from package * refactor(docs): tabs dx (#4067) * refactor(docs): tab dx * refactor(docs): tabs dx * refactor(docs): input dx (#4102) * refactor(docs): input dx * refactor(docs): input dx * refactor(docs): navbar dx (#4076) * refactor(docs): navbar dx * refactor(docs): navbar dx * refactor(docs): navbar dx * refactor(docs): modal dx (#4077) * refactor(docs): modal dx * refactor(docs): modal dx * refactor(docs): select dx (#4078) * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): table dx (#4079) * refactor(docs): table dx * fix(docs): import path * refactor(docs): table dx * refactor(docs): table dx * refactor(docs): popover dx (#4090) * refactor(docs): range-calendar dx (#4089) * refactor(docs): range-calendar dx * fix(docs): import path * refactor(docs): date input dx (#4100) * refactor(docs): dropdown dx (#4101) * refactor(docs): dropdown dx * refactor(docs): remove highlightedLines * refactor(docs): dropdown dx * refactor(docs): dropdown dx * refactor(docs): date-picker dx (#4103) * refactor(docs): date-picker dx * fix(docs): import paths * refactor(docs): date-range-picker dx (#4104) * refactor(docs): date-range-picker dx * fix(docs): date-range-picker dx * refactor(docs): drawer dx (#4109) * refactor(docs): drawer dx * fix(docs): indentation * refactor(docs): make icon collapsible --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Ryo Matsukawa <[email protected]> * feat(input-otp): introduce input OTP component (#4052) * feat(input-otp): adding the functionality * fix(input-otp): making the use of input-otp library * Update .changeset/spotty-flies-jump.md * chore(input-otp): nits * feat: improvements and fixes added * refactor: input-otp docs improvements * fix: changeset * fix: build --------- Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * ci(changesets): version packages (beta) (#4169) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * refactor(theme): revise label font size for lg (#4141) * refactor(theme): revise label font size for lg * chore(changeset): add changeset * refactor(theme): revise label font size for lg * fix(docs): typecheck errors (#4171) * fix(docs): remove duplicate import * fix(docs): update type for onChange in range-calendar page * fix(docs): add missing `@react-types/calendar` * fix(docs): broken syntax * fix(docs): typecheck issues * fix(docs): add missing `@react-types/datepicker` * fix(docs): typecheck issues * fix: missing li tag when href is specified (#4168) * fix(items): items in list should wrapped in li in case of a * chore: adding the tests * Feat/textarea add clear button (#4172) * feat(components): add clear button to the textarea component * docs(textarea): add test and changeset * feat(textarea): modify the changeset file * feat(textarea): add clear button to textarea * feat(textarea): add isClearable prop to textarea * docs(textarea): add documentation to textarea * docs(textarea): add documentation to textarea * feat(textarea): replace the textarea component clear icon and modify its location * feat(textarea): revise the clear button position * feat(textarea): revise the clear button structure * feat(textarea): revise the styles of clear button and textarea * feat(textarea): revise the styles of RTL case * feat(textarea): change the rtl to pe * feat(textarea): delete the px classname * chore(changeset): update package and message * test(textarea): add test case * feat(textarea): change the clear button structure * feat(textarea): optimized code * chore(textarea): update the changeset file * docs(textarea): add slots doc to textarea * chore(textarea): update peerDevpeerDependencies version * chore(textarea): add usecallback dep * Update .changeset/five-adults-protect.md * chore(pre-release): enter pre-release mode * feat(textarea): modify the clear button icon * fix(theme): apply tw nested group (#3909) * chore(changset): add changeset * fix(theme): apply nested group to table * chore(docs): update table bottomContent code * fix: changeset * fix: changeset * fix: changeset * fix: changeset * fix: changeset * fix: pkg versions * fix: changeset * fix: drawer peer dep * chore: update plop components tempalte * ci(changesets): version packages (beta) (#3988) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: pre-release workflow * chore: debug log added * chore: force pre-release * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * chore: beta1 (#3990) * ci(changesets): version packages (beta) (#3991) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(use-image): image ReferenceError in SSR (#3993) * fix(input): fixed a sliding issue caused by the helper wrapper (#3966) * If it is false and there is an error message or description it will create a div * Update packages/components/input/src/input.tsx * Update packages/components/select/src/select.tsx * Update packages/components/input/src/textarea.tsx * add changeset * changeset update * ci(changesets): version packages (beta) (#3995) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: image loading in the server (#3996) * fix: lock file * chore: force release * chore: force release 2 * ci(changesets): version packages (beta) (#3997) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: image load on next.js (#3998) * ci(changesets): version packages (beta) (#3999) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: element.ref was removed in React 19 warning (#4003) * ci(changesets): version packages (beta) (#4004) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: react 19 as peer dep (#4008) * ci(changesets): version packages (beta) (#4009) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Beta/react 19 support (#4010) * fix: react 19 as peer dep * fix: react 19 as peer dep * chore: support framer-motion alpha version * ci(changesets): version packages (beta) (#4011) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(theme): making select and input themes consistent (#3881) * ci(changesets): version packages (beta) (#4012) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(textarea): fix clearButton display * fix: support inert value with boolean type for react 19 (#4039) * ci(changesets): version packages (beta) (#4041) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: alert design improved (#4054) * ci(changesets): version packages (beta) (#4056) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: drawer improvements (#4057) * ci(changesets): version packages (beta) (#4058) * feat: alert styles improved (#4071) * ci(changesets): version packages (beta) (#4072) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: alert styles improved (#4073) * ci(changesets): version packages (beta) (#4074) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: add number of stars and credits * chore: fix build * chore: improve navabr colors * chore: new changeset (#4083) * ci(changesets): version packages (beta) (#4084) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: pnpm cleaned (#4086) * ci(changesets): version packages (beta) (#4087) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: custom runnner added * chore: custom runner test (#4091) * Beta/custom runner (#4092) * chore: custom runner test * chore: custom runner test * chore: remove 2 from older changeset * ci(changesets): version packages (beta) (#4093) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: new demo added to alert * Feat/virtualization for autocomplete (#4094) * feat: add react-window virtualization for autocomplete * fix: wrong imports and wrong sizing * fix: update pnpm lock * chore: add test cases for large dataset (1000 and 10000 items) * chore: move virtualized-listbox to listbox components folder, implement isVirtualized conditional * feat: implement dynamic listboxheight n item height, add story * chore: rename props, remove unnecessary line changes * fix: maxHeight style 256px for default, conditional usage of virtualizer * feat: migrate to tan-stack virtual. (todo: fix scroll shadow) * feat: virtualization support --------- Co-authored-by: Vincentius Roger Kuswara <[email protected]> * ci(changesets): version packages (beta) (#4095) * feat: small fixes * feat: add reducedMotion setting to Provider (#3470) * feat: add reducedMotion setting to Provider * chore: refactor reducedMotion story * Update .changeset/pretty-parrots-guess.md --------- Co-authored-by: Junior Garcia <[email protected]> * ci(changesets): version packages (beta) (#4106) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: move circular-progress tv to progress (#3321) * fix: remove circular-progress tv to progress * docs: changeset * chore(changeset): update changeset message * Update .changeset/angry-maps-serve.md --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * fix: label placement when the select has a placeholder or description (#4126) * ci(changesets): version packages (beta) (#4107) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(deps): add missing `framer-motion` in `peerDependencies` (#4140) * fix(theme): add truncate class to the list item to avoid overflow the wrapper (#4105) * fix(docs): invalid canary storybook link (#4030) * fix: menu item hidden overflow text * feat: changeset * Merge branch 'beta/release-next' into fix/menu-item-hidden * fix: truncate list item * feat: update changeset * fix(menu): omit internal props --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * Update apps/docs/content/docs/components/textarea.mdx * feat(table): add isKeyboardNavigationDisabled prop to the table (#3735) Co-authored-by: Maharshi Alpesh <[email protected]> * feat: add form component (#3036) * chore: add support validationBehavior aria * chore: add validationBehavior to Provider * chore: add autocomplete validation test * chore: add checkbox validation test * fix(input): require condition * docs: add description of validationBehavior props * chore: add support validationBehavior props for date components * docs(dates): add description of validationBehavior props * chore: add changeset * chore: format * chore: fix test * fix: select validationBehavior is not support yet * fix: select validationBehavior not supported yet * feat: add form component with input support * feat: add support form context * chore: wip add support for form server errors * chore: add support checkbox server validation * chore: add support radio server validation * chore: update pnpm-lock.yaml * chore: add support input server validation * chore: add support autocomplete server validation * chore(form): add server validation stories * chore: fix test * chore: add date-picker validation test * chore: update form stories * chore: add changeset * chore: update react-aria version * chore: add pnpm-lock.yaml * chore: update react-aria version * chore: add comment * chore: update react-aria version * chore: fix change set * chore: export form component in the main package * chore: upgrade react-aria * chore: fixed internationalized/date version * fix: build error * chore: upgrade docs react-aria version * fix: remove comment * fix: debug setting * chore(docs): update sponsor (#3904) * chore(docs): remove Scrumbuiss * chore(docs): remove Scrumbuiss logo * chore(docs): replace va by posthog (#4123) * chore(changeset): change to patch * refactor: react-aria-components remove to decrease package size, logic moved to the form package --------- Co-authored-by: Junior Garcia <[email protected]> Co-authored-by: WK Wong <[email protected]> * docs: add forms guide (#4155) Co-authored-by: Ryo Matsukawa <[email protected]> * chore: routes updated * ci(changesets): version packages (beta) (#4151) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: fix indentation * fix(changeset): package not be found * ci(changesets): version packages (beta) (#4158) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(select): controlled isInvalid prop (#4082) * fix(select): controlled isInvalid prop * chore: add changeset * Merge branch 'beta/release-next' into pr/4082 --------- Co-authored-by: WK Wong <[email protected]> * ci(changesets): version packages (beta) (#4159) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore(changeset): bump all versions * ci(changesets): version packages (beta) (#4160) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(deps): missing peer / dev dependency for framer-motion (#4161) * fix(system): align `navigate` function parameters with `@react-aria` (#4163) * fix: menu item classNames not work (#4156) * fix: menu item classNames not work * feat: changeset * docs: update * feat: merge classes utility added * Update .changeset/brave-trains-wave.md --------- Co-authored-by: WK Wong <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * chore(docs): remove incorrect info * ci(changesets): version packages (beta) (#4162) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * refactor(docs): overall dx (#4055) * refactor(docs): revise code block (#3922) * refactor(docs): revise code block * chore(docs): resolve pr comments * refactor(docs): autocomplete dx (#3934) * feat(docs): add *.js?raw module * feat(docs): change to react-jsx and add **/*.js * chore(root): include js and jsx * refactor(docs): autocomplete dx * chore(docs): rollback overrides * chore(autocomplete): lint * fix(autocomplete): incorrect import path * fix(docs): autocomplete dx * chore(docs): remove highlightedLines * refactor(docs): breadcrumbs dx (#3968) * refactor(docs): breadcrumbs dx * fix(docs): export issue * chore(docs): use preserve for jsx * fix(docs): support multiline import * fix(docs): support multiple export * chore(docs): add back export * refactor(docs): avatar dx (#3951) * refactor(docs): badge dx (#3960) * refactor(docs): badge dx * chore(docs): incorrect import path * refactor(docs): button dx (#3981) * refactor(docs): calendar dx (#4022) * refactor(docs): calendar dx * fix(docs): incorrect import path * refactor(docs): switch dx (#4037) * refactor(docs): switch dx * chore(docs): remove highlightedLines * refactor(docs): tooltip (#4035) * refactor(docs): usage dx (#4036) * refactor(docs): circular-progress dx (#4029) * refactor(docs): chip-dx (#4028) * refactor(docs): checkbox-group dx (#4027) * refactor(docs): checkbox dx (#4024) * refactor(docs): checkbox dx * fix(docs): incorrect import path * refactor(docs): card dx (#4023) * refactor(docs): skeleton dx (#4042) * refactor(docs): spacer dx (#4043) * refactor(docs): snippet dx (#4044) * refactor(docs): scroll-shadow dx (#4045) * refactor(docs): code dx (#4046) * refactor(docs): kbd dx (#4047) * refactor(docs): link dx (#4048) * refactor(docs): progress dx (#4049) * refactor(docs): divider dx (#4050) * refactor(docs): listbox dx (#4051) * refactor(docs): listbox dx * fix(docs): import path * fix(docs): import path * chore(docs): remove highlightedLines * fix(docs): indentation * chore(docs): replace the props of autocomplete from value to key (#4129) * refactor(docs): alert dx (#4108) * refactor(docs): alert dx * refactor(docs): alert dx * refactor(docs): image dx (#4061) * refactor(docs): textarea dx (#4063) * refactor(docs): spinner dx (#4088) * refactor(docs): radio-group dx (#4064) * refactor(docs): pagination dx (#4062) * refactor(docs): pagination dx * refactor(docs): pagination dx * refactor(docs): time-input dx (#4065) * refactor(docs): time-input dx * refactor(docs): time-input dx * refactor(docs): slider dx (#4066) * refactor(docs): slider dx * refactor(docs): slider dx * refactor(docs): move SliderValue to type * refactor(docs): slider dx * refactor(docs): make icon code collapsible * refactor(docs): specify versions for date packages (#4138) * refactor(docs): specify versions for date packages * fix(docs): correct RA i18n version * chore(deps): sync version from package * refactor(docs): tabs dx (#4067) * refactor(docs): tab dx * refactor(docs): tabs dx * refactor(docs): input dx (#4102) * refactor(docs): input dx * refactor(docs): input dx * refactor(docs): navbar dx (#4076) * refactor(docs): navbar dx * refactor(docs): navbar dx * refactor(docs): navbar dx * refactor(docs): modal dx (#4077) * refactor(docs): modal dx * refactor(docs): modal dx * refactor(docs): select dx (#4078) * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): table dx (#4079) * refactor(docs): table dx * fix(docs): import path * refactor(docs): table dx * refactor(docs): table dx * refactor(docs): popover dx (#4090) * refactor(docs): range-calendar dx (#4089) * refactor(docs): range-calendar dx * fix(docs): import path * refactor(docs): date input dx (#4100) * refactor(docs): dropdown dx (#4101) * refactor(docs): dropdown dx * refactor(docs): remove highlightedLines * refactor(docs): dropdown dx * refactor(docs): dropdown dx * refactor(docs): date-picker dx (#4103) * refactor(docs): date-picker dx * fix(docs): import paths * refactor(docs): date-range-picker dx (#4104) * refactor(docs): date-range-picker dx * fix(docs): date-range-picker dx * refactor(docs): drawer dx (#4109) * refactor(docs): drawer dx * fix(docs): indentation * refactor(docs): make icon collapsible --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Ryo Matsukawa <[email protected]> * Merge branch 'beta/release-next' into pr/3477 * refactor(docs): apply new structure to doc * feat(input-otp): introduce input OTP component (#4052) * feat(input-otp): adding the functionality * fix(input-otp): making the use of input-otp library * Update .changeset/spotty-flies-jump.md * chore(input-otp): nits * feat: improvements and fixes added * refactor: input-otp docs improvements * fix: changeset * fix: build --------- Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * ci(changesets): version packages (beta) (#4169) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * refactor(theme): revise label font size for lg (#4141) * refactor(theme): revise label font size for lg * chore(changeset): add changeset * refactor(theme): revise label font size for lg * fix(docs): typecheck errors (#4171) * fix(docs): remove duplicate import * fix(docs): update type for onChange in range-calendar page * fix(docs): add missing `@react-types/calendar` * fix(docs): broken syntax * fix(docs): typecheck issues * fix(docs): add missing `@react-types/datepicker` * fix(docs): typecheck issues * fix: missing li tag when href is specified (#4168) * fix(items): items in list should wrapped in li in case of a * chore: adding the tests * fix: textarea issues with the clear button * chore: adjust clear button position --------- Co-authored-by: doki- <[email protected]> Co-authored-by: WK Wong <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Mustafa Balcı <[email protected]> Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: Vincentius Roger Kuswara <[email protected]> Co-authored-by: Ryo Matsukawa <[email protected]> Co-authored-by: winches <[email protected]> Co-authored-by: Tianen Pang <[email protected]> Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: chirokas <[email protected]> * ci(changesets): version packages (beta) (#4170) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * docs: sync api from nextui-cli v0.3.5 (#4173) Co-authored-by: GitHub Action <[email protected]> * ci(changesets): exit pre-release mode --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: աӄա <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Mustafa Balcı <[email protected]> Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: Vincentius Roger Kuswara <[email protected]> Co-authored-by: Ryo Matsukawa <[email protected]> Co-authored-by: winches <[email protected]> Co-authored-by: Tianen Pang <[email protected]> Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: chirokas <[email protected]> Co-authored-by: doki- <[email protected]> Co-authored-by: GitHub Action <[email protected]> * fix: pre release workflow on protected branches (#4174) * chore(pre-release): enter pre-release mode (#4175) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * fix: input otp peer deps (#4176) * chore: update workflows * chore: pre release workflow modified (#4177) * chore: canary versions (#4178) * fix: pre-release workflow (#4179) * chore: merged with beta branch * chore: workflow updated * ci(changesets): version packages * fix: changeset get github info * chore: force canary to release (#4180) * Feat/canary release (#4181) * chore: force canary to release * feat: canary release * ci(changesets): version packages * ci(changesets): version packages * fix: exit pre-release mode * fix: exit pre-release mode * fix: exit pre-release mode * fix: exit pre-release mode * fix: exit pre-release mode * chore: exit pre release mode * fix(workflows): release & pre-release flow (#4184) * chore: revert exit and enter pre release changes * chore: canary release test (#4185) * chore: update exit and enter workflows * chore: update workflow name * fix: exit pre-release mode * fix: exit pre-release mode * chore: delete pre file * chore: remove duplicate changesets * chore: base branch change to canary, changeset config * refactor: beta tags manually deleted (#4187) * fix: install * fix: peer deps (#4188) * Fix/peer deps (#4189) * fix: peer deps * fix: tests * fix: routes * chore(docs): revise defaultShowFlagList (#4193) * chore(docs): add Example to defaultShowFlagList * chore(docs): revise defaultShowFlagList * feat: documentation improvements (#4195) * feat: documentation improvements * fix: alert api * Feat/doc improvements (#4196) * feat: documentation improvements * fix: alert api * fix: copy button * fix: return in card demo * Fix/react core pkg (#4204) * fix: double use client tag import in react core package * fix: double use client * chore: restore postbuild script * docs: optimize code fold (#4202) * docs: optimize code fold * fix: code review * fix(input): teaxtarea label squish (#4197) * fix(input): teaxtarea label squish * chore(changeset): add changeset for textarea label fix * chore: remove customer runner * chore: rename changeset * chore: increase timeout * chore: change get info pkg version * chore: new changeset * chore: single chnageset * chore: consolidated changeset * chore: consolidated changeset * Update release.yaml (#4205) * chore: consolidated changeset * fix: forwardRef render functions not using ref (#4198) * fix: forwardRef render functions not using ref * fix: changelog * fix: review * fix: forwardRef render functions not using ref * docs: update changeset * feat(listbox): virtualization (#4206) * fix: should not export list item internal variables type * feat: changeset * fix: type error * fix: code block type error * feat: virtualization feature, docs for listbox * chore: update routes.json * fix: fix code-demo for typecheck * chore: rollback for files * chore: props omitted in the component itself * fix: menu item types * fix: tupecheck --------- Co-authored-by: winches <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * feat(select): virtualization (#4203) * fix: should not export list item internal variables type * feat: changeset * feat: integrate virtualized listbox to select component, add more props * feat: update docs for select component * feat: update docs to include API for virtualization * fix: update docs to follow the newest format * fix: update test for disable virtualization, add test for virtualized version * fix: fix typo * fix: type error * fix: code block type error * chore: update docs to use raw jsx instead of template literal * fix: fix code-demo for typecheck * chore: rollback for files * fix: types * chore: remove caret version on tanstack virtual pkg * fix: pnpm lock file * fix: virtualization examples * fix: number of items --------- Co-authored-by: winches <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * chore: adjust code colors * fix: collection based components ref (#4207) * chore: documentation adjustments * Update data-slot for the error message in the select. (#4214) * Update data-slot for the error message in the select. All components use the `data-slot="error-message"` attribute, except for the select component. I observed this behavior when a test in my application started failing. * refactor(select): refactors the data-slots attribute for the error message * fix(docs): types for classNames and itemClasses (#4209) * feat: documentation improvements * chore: more improvements to the docs, routing updated, acccordiong font size change * feat: forms doc in progress * fix(touch): fixing the selection functionality on touch (#4220) * fix(touch): fixing the selection functionality on touch * fix: radio, checkbox & switch interactions --------- Co-authored-by: Junior Garcia <[email protected]> * chore(docs): remove non-existing attribute (#4221) * fix(select): hideEmptyContent API (#4219) * fix(select): hideEmptyContent API * test(select): hideEmptyContent tests * docs(select): hideEmptyContent API * chore(select): hideEmptyContent storybook * chore(changeset): add hideEmptyContent API to select * refactor(select): hideEmptyContent nitpick * test(select): hideEmptyContent UI assertions * fix(select): hideEmptyContent default false * docs(select): hideEmptyContent default false * fix(pagination): cursor position when hidden on init (#4222) * fix(pagination): cusor position when hidden on init * test(pagination): cursor intersection observer * chore(changeset): pagination cursor position fix * refactor(pagination): minor nitpicks - check for null ref in usePagination - restore original IntersectionObserver in test * fix: form fixes and improvements (#4224) * chore: form in progress * chore: main demo addded to forms, checkbox validation fixed * chore: forms docs improved * fix(deps): bump `@react-aria/utils` version (#4226) * fix(deps): bump `@react-aria/utils` version * chore(changeset): add changeset * feat: forms doc completed * chore: form component doc created * chore: forms doc improved * chore: doc improvements * chore: alert doc improved * feat: nextjs 15 migration in progress * feat: nextjs 15 migration [docs] (#4228) * feat: nextjs 15 migration in progress * feat: next 15 downgraded to next 14 * fix: migration errors * feat: codeblog is now rendered only when visible, this made a huge performance improvement * fix: remove folding * feat: v2.6.0 blog * feat: Adding nextui pro section on the landing page (#4227) * feat: adding nextui pro section on the landing page * chore(nits): nits * fix: remove pro image on mobile --------- Co-authored-by: Junior Garcia <[email protected]> * fix(docs): prevent scrolling up on pressing theme change switch (#4233) * chore: improve v2.6.0 blog * chore: small improvements * chore: improve blog * ci(changesets): version packages (#4186) Co-authored-by: Junior Garcia <[email protected]> * fix: snippet release (#4235) * ci(changesets): version packages (#4236) Co-authored-by: Junior Garcia <[email protected]> * chore: v2.6.2 * ci(changesets): version packages (#4237) Co-authored-by: Junior Garcia <[email protected]> * fix: draggable modal demo * fix: v2.6 blog * chore: adjust blog * chore: release notes link updated * fix: v2.6.0 (#4247) *…
* fix(input): ensure clear button is not focusable when disabled (#3774) * fix(input): ensure clear button is not focusable when disabled * test(input): add test to ensure clear button is not focusable when disabled * chore: add changeset for clear button focus fix when input is disabled * fix(input): update clear button to use button element * test(input): add focus test when disabled and update tests for clear button using button element * test(input): replace querySelector with getByRole for clear button * fix(input): set tabIndex to -1 for clear button * test(input): ensure clear button is not focusable * fix(image): add missing `w` to `getWrapperProps` dependency (#3802) * fix(image): add missing `w` to `getWrapperProps` dependency * chore(changeset): add changeset * fix(autocomplete): popover should remain open after clicking clear button (#3788) * fix: add state.open() so that dropdown is not closed * chore: add changeset * chore(autocomplete): add testcases for keeping lisbox open when clearButton is clicked * chore: update changeset * chore(autocomplete): change the docs for test cases * chore(changeset): update changeset message and add issue number --------- Co-authored-by: WK Wong <[email protected]> * refactor(docs): example of blurred card (#3741) * docs(card): adding info regarding the gradient for blurred card * chore(nit): adding example * chore(docs): revise content for card isBlurred example * chore(docs): revise isBlurred note --------- Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: WK Wong <[email protected]> * fix(docs): replace twitter logo/links with x logo/links (#3815) * fix(docs): replace Twitter logo/links with X logo/links * docs: update twitter references to x * docs: update changeset for twitter to x changes * docs: update twitter references to x * docs: update twitter references to x * chore(docs): undo .sponsorsrc since it's generated * refactor(docs): remove unnecessary classes * chore(docs): undo .sponsorsrc since it's generated --------- Co-authored-by: WK Wong <[email protected]> * fix(date-picker): adding props from calendarProps to getCalendarProps (#3773) * fix(date-picker): adding props from calendarProps to the getCalendarProps * chore(date-picker): adding the changeset * chore(changeset): add issue number --------- Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: WK Wong <[email protected]> * feat(autocomplete): automatically focus first non-disabled item (#2186) Co-authored-by: WK Wong <[email protected]> * docs(accordion): add overflow to custom motion example (#3793) * fix(docs): typos in dark mode page (#3823) * fix(theme): fullWidth in input and select (#3768) * fix(input): fixing the fullWidth functionality * chore(changeset): add issue number * chore(changeset): revise changeset message --------- Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: WK Wong <[email protected]> * fix(autocomplete): exit animation on popover close (#3845) * fix(autocomplete): exit animation on popover close * refactor(autocomplete): getListBoxProps --------- Co-authored-by: WK Wong <[email protected]> * refactor(theme): replace the use of RTL-specific styles with logical properties (#3868) * chore(rtl): remove the usages of rtl * chore(changeset): adding the changeset * chore(changeset): update changeset message --------- Co-authored-by: WK Wong <[email protected]> * fix(select): label placement discrepancy in Select (#3853) * fix(select): label placement incorrect in case of multiline * chore(select): adding the changeset * chore(select): adding the tests * chore(select): code imrovement, wkw's suggestions * chore(changeset): update changeset message --------- Co-authored-by: WK Wong <[email protected]> * fix(theme): label placement in select and input (#3869) * fix(theme): fix the label placement * chore(changeset): adding the changeset * chore(select): adding comments * fix(docs): avoid translating the code block (#3878) * docs(Codeblock): avoid code be translated * fix(docs): lint issue --------- Co-authored-by: WK Wong <[email protected]> * fix(listbox): change listBoxItem key to optional (#3883) * fix(listbox): listBoxItem key to optional * chore: add defaultSelectedKeys test for numeric keys and ids * chore: add changeset * chore: comment out section prompts in PR template (#3884) * chore(test): update testing libraries and refactor (#3886) * fix(theme): show margin only with label in Switch component (#3861) * fix(switch): removed right margin in wrapper #3791 * feat(changeset): added changeset * fix(switch): removed me-2 in wrapper * fix(switch): added ms-2 to label * chore(changeset): correct package and message --------- Co-authored-by: WK Wong <[email protected]> * fix(theme): removed pseudo cancel btn from input (#3912) * fix(theme): removed pseudo cancel btn from input * chore(changeset): adding the changeset * fix(input): conditionally hiding the webkit search * chore(changeset): revise changeset message --------- Co-authored-by: WK Wong <[email protected]> * refactor(docs): dx improvement in accordion (#3856) * refactor: improve dx for writing a docs component (#2544) * refactor: improve dx for write a docs component Signed-off-by: Innei <[email protected]> * refactor(docs): switch to contentlayer2 * chore(docs): rename to avoid conflict * refactor(docs): switch to next-contentlayer2 * refactor(docs): revise docs lib * chore(deps): bump docs related dependencies * fix(use-aria-multiselect): type issue due to ts version bump --------- Signed-off-by: Innei <[email protected]> Co-authored-by: WK Wong <[email protected]> * refactor(docs): accordion codes * feat(docs): declare module `*.jsx?raw` * feat(docs): include `**/*.jsx` * fix(docs): incorrect content * chore(docs): add new lines * refactor(docs): lint --------- Signed-off-by: Innei <[email protected]> Co-authored-by: Innei <[email protected]> * fix(docs): typos in hero section (#3928) * fix(theme): support RTL for breadcrumbs (#3927) * fix(breadcrumbs): added separator rotation for RTL #2486 * chore(changeset): added changeset * fix(docs): removed unused import and merged classNames in dropdown (#3936) * fix(breadcrumbs): added separator rotation for RTL #2486 * chore(changeset): added changeset * fix(docs): removed unused Link import and merged classnames in dropdown * fix: avatar filter disableAnimation to dom prop (#3946) * feat: add git hook to auto update dependencies (#3365) * feat: add git hook to auto update dependencies * feat: update color * fix: prevent test matcher warning (#3893) * fix: prevent test matcher warning * chore: add node types * chore: update Jest related packages * chore: run pnpm install * fix(tabs): correct inert value for true condition (#3978) * Alert component (#3982) * feat(alert): began the work on alert component * fix(readme): making correction * chore(deps): change to 2.0.0 * chore(docs): update README.md * feat(theme): init alert tv * chore(alert): update package.json * feat(alert): init alert storybook structure * chore(changeset): add changeset * chore(changeset): change to minor * chore(alert): revise alert package.json * feat(alert): init test structure * chore(deps): pnpm-lock.yaml * feat(alert): initailized theme and basic structure * feat(alert): completed use-alert.ts and alert.tsx * feat(alert): remove innerWrapper, replace helperWrapper with mainWrapper, adding isCloseable prop * feat(alert): adding isCloseable prop to baseWrapper dependency * feat(alert): setting the default value of isCloseable prop to true * feat(alert): moving CloseIcon inside the button * feat(alert): updated package.json * feat(alert): default variant and default story * feat(alert): adding color and radius stories * feat(alert): completed the styling * feat(alert): add stories for isCloseable prop and restyle other stories * feat(alert): correcting ref type * feat(alert): add test cases * feat(alert): remove startContent and endContent props * feat(alert): make styling more accurate * feat(alert): fixed default props * feat(alert): fixed theme docs * feat(alert): add logic for icons * feat(alert): begin to add docs * chore(alert): implement the changes suggested in code review * feat(alert): add onclose prop to alert * feat(alert): add test cases * docs(alert): add onClose event * feat(docs): add alert to routes.json * fix(alert): correct the text colors * docs(alert): fix imports and syntax errors * chore(alert): implement the changes suggested in code review * chore(alert): lint the code and change isCloseable to isClosable * chore(alert): lint the code * chore(alert): run pnpm i * fix(alert): fix the logic for close button and add test case * docs(alert): fix docs, change isCloseable to isClosable and change docs for isClosable property * chore(alert): add the support for RTL, refactor the code and fix the typos * docs(alert): grammer issues fix * fix(alert): replace rtl with ms * chore(alert): custom style and custom implementation, remove isClosable={false}, refactor, fix typos * chore(alert): linting and implement coderabbit suggestions * chore(alert): refactor and typos fix * chore(alert): add import for closeIcon * chore(alert): add props for closeIcon * chore(alert): refactor fixes * chore(alert): implement ryo-manba's suggestion on close Icon * chore(alert): make alert more responsive * chore(alert): fix grammer issues suggested by coderabbit * fix(alert): add max-w property to make alert responsive * chore(alert): improve responsiveness and refactor alertIcon * chore(alert): add missing dependency to useMemo * chore(alert): implement coderabbit's suggestions * chore(alert): update docs and refactor * chore(alert): refactor alertIcon and implement coderabbit's suggestion * chore: fixes --------- Co-authored-by: Abhinav Agarwal <[email protected]> Co-authored-by: WK Wong <[email protected]> Co-authored-by: Abhinav Agarwal <[email protected]> * Feat/add draggable modal (#3983) * feat(hooks): add use-draggable hook * feat(components): [modal] export use-draggable * docs(components): [modal] add draggable modal * feat(components): [modal] add ref prop for modal-header * chore(components): [modal] add draggable modal for storybook * chore: add changeset for draggable modal * docs(hooks): [use-draggable] fix typo * chore: upper changeset * chore(components): [modal] add overflow draggable modal to sb * test(components): [modal] add draggable modal tests * build: update pnpm-lock * chore(changeset): include issue number * feat(hooks): [use-draggable] set user-select to none when during the dragging * docs(components): [modal] update code demo title * docs(components): [modal] condense description for draggable overflow * feat(hooks): [use-draggable] change version to 0.1.0 * refactor(hooks): [use-draggable] use use-move implement use-draggable * feat(hooks): [use-draggable] remove repeated user-select * test(components): [modal] update test case to use-draggable base use-move * docs(components): [modal] update draggable examples * fix(hooks): [use-draggable] fix mobile device touchmove event conflict * refactor(hooks): [use-draggable] remove drag ref prop * refactor(hooks): [use-draggable] draggable2is-disabled overflow2can-overflow * test(components): [modal] add draggble disable test * chore(hooks): [use-draggable] add commant for body touchmove * Update packages/hooks/use-draggable/src/index.ts Co-authored-by: Ryo Matsukawa <[email protected]> * fix(hooks): [use-draggable] import use-callback * test(components): [modal] add mobile-sized test for draggable * chore(hooks): [use-draggable] add use-callback for func * chore(hooks): [use-draggable] update version to 2.0.0 * chore: fix typo * Update .changeset/soft-apricots-sleep.md * fix: pnpm lock * fix: build * chore: add updated moadl --------- Co-authored-by: wzc520pyfm <[email protected]> Co-authored-by: աɨռɢӄաօռɢ <[email protected]> Co-authored-by: Ryo Matsukawa <[email protected]> * chore: upgrade react-aria / React 19 & Next.js 15 support (#3732) * chore: upgrade react-aria * chore: add changeset * chore: fix type error --------- Co-authored-by: Junior Garcia <[email protected]> * feat(date-picker): add selectorButtonPlacement property (#3248) * feat(date-picker): add selectorButtonPlacement property * chore: update changeset * Update .changeset/neat-donkeys-accept.md Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: Junior Garcia <[email protected]> * feat: add tab ref (#3974) * feat: add tab ref * feat: add changeset * feat: pre-release workflow (#2910) * feat(workflow): pre-release * feat(workflow): exit pre-release * chore(workflow): update version & publish commands * fix(workflow): add missing attributes and use schangeset:beta cmd * feat(root): add changeset:beta * fix(workflows): revise pre-release logic * fix(workflows): add missing run * fix(workflows): use changeset:exit with version instead * feat(root): add changeset:exit cmd * refactor(workflows): add pths, id, and format * feat(workflows): enter pre-release mode * chore(workflows): remove pre.json only * refactor(workflows): remove enter-pre-release-mode * fix(workflows): incorrect url * refactor(root): remove unused exit command * refactor(workflows): add comments * feat(changeset): change to main branch as baseBranch * feat(root): add changeset:canary * refactor(workflows): remove unused workflow * feat(workflow): support canary pre-release mode * refactor(docs): change to canary * feat(popover): added control for closing popover on scroll (#3595) * fix(navbar): fixed the height when style h-full * fix(navbar): fixed the height when style h-full * docs(changeset): resolved extra file * feat(popover): added control for closing popover on scroll * update(changeset): correction * feat(popover): removed extra story * refactor(test): corrected test for both true and false values of shouldCloseOnScroll * refactor(docs): added shouldCloseOnScroll prop * chore(changeset): change to minor --------- Co-authored-by: աӄա <[email protected]> * feat: add month and year pickers to DateRangePicker and RangeCalendar (#3302) * feat: add month and year pickers to DateRangePicker and RangeCalendar * chore: update docs * Update .changeset/kind-cobras-travel.md * chore: react package version --------- Co-authored-by: Junior Garcia <[email protected]> * chore(deps): bump tailwind-merge version (#3657) * chore(deps): bump tailwind-merge versions * chore(theme): adopt latest extendTailwindMerge * chore(changeset): add changeset * chore(changeset): change to minor * Update .changeset/grumpy-mayflies-rhyme.md --------- Co-authored-by: Junior Garcia <[email protected]> * feat: added drawer component (#3986) Signed-off-by: The1111mp <[email protected]> Co-authored-by: The1111mp <[email protected]> * refactor: optimisations (#3523) * refactor: replace lodash with native approaches * refactor(deps): update framer-motion versions * feat(utilities): add @nextui-org/dom-animation * refactor(components): load domAnimation dynamically * refactor(deps): add @nextui-org/dom-animation * fix(utilities): relocate index.ts * feat(changeset): framer motion optimization * chore(deps): bump framer-motion version * fix(docs): conflict issue * refactor(hooks): remove the unnecessary this aliasing * refactor(utilities): remove the unnecessary this aliasing * chore(docs): remove {} so that it won't be true all the time * chore(dom-animation): end with new line * refactor(hooks): use debounce from `@nextui-org/shared-utils` * chore(deps): add `@nextui-org/shared-utils` * refactor: move mapKeys logic to `@nextui-org/shared-utils` * refactor: use `get` from `@nextui-org/shared-utils` * refactor(docs): use `get` from `@nextui-org/shared-utils` * refactor(shared-utils): mapKeys * chore(deps): bump framer-motion version * chore(deps): remove lodash * refactor(docs): use intersectionBy from shared-utils * feat(shared-utils): add intersectionBy * chore(dom-animation): remove extra blank line * refactor(shared-utils): revise intersectionBy * fix(modal): add willChange * refactor(shared-utils): add comments * fix: build & tests --------- Co-authored-by: Junior Garcia <[email protected]> * feat(hooks): use-theme hook (#3169) * feat(docs): update dark mode content * feat(hooks): @nextui-org/use-theme * chore(docs): revise ThemeSwitcher code * refactor(hooks): simplify useTheme and support custom theme names * feat(hooks): add use-theme test cases * feat(changeset): add changeset * refactor(hooks): make localStorageMock globally and clear before each test * fix(docs): typo * fix(hooks): coderabbitai comments * chore(hooks): remove unnecessary + * chore(changeset): change to minor * feat(hooks): handle system theme * chore(hooks): add EOL * refactor(hooks): add default theme * refactor(hooks): revise useTheme * refactor(hooks): resolve pr comments * refactor(hooks): resolve pr comments * refactor(hooks): resolve pr comments * refactor(hooks): remove unused theme in dependency array * chore(docs): typos * refactor(hooks): mark system as key for system theme * chore: merged with canary --------- Co-authored-by: Junior Garcia <[email protected]> * Fix/avatar flashing (#3987) * fix(use-image): cached image flashing * chore: merged with canary --------- Co-authored-by: Rakha Kanz Kautsar <[email protected]> * refactor(menu): Use `useMenu` and `useMenuItem` from RA (#3261) * refactor(menu): use useMenu from react-aria instead * refactor(menu): use useMenuItem from react-aria instead * feat(changeset): add changeset * chore: merged with canary * fix: dropdown tests --------- Co-authored-by: Junior Garcia <[email protected]> * fix(theme): added stripe color gradients for progress (#3938) * fix(breadcrumbs): added separator rotation for RTL #2486 * chore(changeset): added changeset * fix(docs): removed unused Link import and merged classnames in dropdown * fix(theme):added stripe color gradients for progress #1933 * refactor(theme): added stripe-size and createStripeGradient * chore: add all minor releases * fix(docs): invalid canary storybook link (#4030) * fix(use-image): image ReferenceError in SSR (#4122) * fix(use-image): image ReferenceError in SSR * fix(use-image): sync with beta * fix(use-image): sync with beta * chore(use-image): remove unnecessary comments * fix(docs): buildLocation expects an object (#4118) * fix(docs): routing.mdx * Delete .changeset/pre.json * chore(docs): update yarn installation command (#4132) There is no `-g` flag in yarn. `global` is a command which must immediately follow yarn. Source: https://classic.yarnpkg.com/lang/en/docs/cli/global/ * chore: upgrade storybook 8 (#4124) * feat: upgrade storybook8 * chore: upgrade storybook and vite * chore: remove @mdx-js/react optimizeDep * chore: add @mdx-js/react optimizeDep * fix: format * docs: add forms guide (#3822) * v2.5.0 [BETA] (#4164) * chore(pre-release): enter pre-release mode * fix(theme): apply tw nested group (#3909) * chore(changset): add changeset * fix(theme): apply nested group to table * chore(docs): update table bottomContent code * fix: changeset * fix: changeset * fix: changeset * fix: changeset * fix: changeset * fix: pkg versions * fix: changeset * fix: drawer peer dep * chore: update plop components tempalte * ci(changesets): version packages (beta) (#3988) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: pre-release workflow * chore: debug log added * chore: force pre-release * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * chore: beta1 (#3990) * ci(changesets): version packages (beta) (#3991) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(use-image): image ReferenceError in SSR (#3993) * fix(input): fixed a sliding issue caused by the helper wrapper (#3966) * If it is false and there is an error message or description it will create a div * Update packages/components/input/src/input.tsx * Update packages/components/select/src/select.tsx * Update packages/components/input/src/textarea.tsx * add changeset * changeset update * ci(changesets): version packages (beta) (#3995) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: image loading in the server (#3996) * fix: lock file * chore: force release * chore: force release 2 * ci(changesets): version packages (beta) (#3997) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: image load on next.js (#3998) * ci(changesets): version packages (beta) (#3999) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: element.ref was removed in React 19 warning (#4003) * ci(changesets): version packages (beta) (#4004) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: react 19 as peer dep (#4008) * ci(changesets): version packages (beta) (#4009) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Beta/react 19 support (#4010) * fix: react 19 as peer dep * fix: react 19 as peer dep * chore: support framer-motion alpha version * ci(changesets): version packages (beta) (#4011) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(theme): making select and input themes consistent (#3881) * ci(changesets): version packages (beta) (#4012) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: support inert value with boolean type for react 19 (#4039) * ci(changesets): version packages (beta) (#4041) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: alert design improved (#4054) * ci(changesets): version packages (beta) (#4056) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: drawer improvements (#4057) * ci(changesets): version packages (beta) (#4058) * feat: alert styles improved (#4071) * ci(changesets): version packages (beta) (#4072) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: alert styles improved (#4073) * ci(changesets): version packages (beta) (#4074) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: add number of stars and credits * chore: fix build * chore: improve navabr colors * chore: new changeset (#4083) * ci(changesets): version packages (beta) (#4084) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: pnpm cleaned (#4086) * ci(changesets): version packages (beta) (#4087) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: custom runnner added * chore: custom runner test (#4091) * Beta/custom runner (#4092) * chore: custom runner test * chore: custom runner test * chore: remove 2 from older changeset * ci(changesets): version packages (beta) (#4093) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: new demo added to alert * Feat/virtualization for autocomplete (#4094) * feat: add react-window virtualization for autocomplete * fix: wrong imports and wrong sizing * fix: update pnpm lock * chore: add test cases for large dataset (1000 and 10000 items) * chore: move virtualized-listbox to listbox components folder, implement isVirtualized conditional * feat: implement dynamic listboxheight n item height, add story * chore: rename props, remove unnecessary line changes * fix: maxHeight style 256px for default, conditional usage of virtualizer * feat: migrate to tan-stack virtual. (todo: fix scroll shadow) * feat: virtualization support --------- Co-authored-by: Vincentius Roger Kuswara <[email protected]> * ci(changesets): version packages (beta) (#4095) * feat: small fixes * feat: add reducedMotion setting to Provider (#3470) * feat: add reducedMotion setting to Provider * chore: refactor reducedMotion story * Update .changeset/pretty-parrots-guess.md --------- Co-authored-by: Junior Garcia <[email protected]> * ci(changesets): version packages (beta) (#4106) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: move circular-progress tv to progress (#3321) * fix: remove circular-progress tv to progress * docs: changeset * chore(changeset): update changeset message * Update .changeset/angry-maps-serve.md --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * fix: label placement when the select has a placeholder or description (#4126) * ci(changesets): version packages (beta) (#4107) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(deps): add missing `framer-motion` in `peerDependencies` (#4140) * fix(theme): add truncate class to the list item to avoid overflow the wrapper (#4105) * fix(docs): invalid canary storybook link (#4030) * fix: menu item hidden overflow text * feat: changeset * Merge branch 'beta/release-next' into fix/menu-item-hidden * fix: truncate list item * feat: update changeset * fix(menu): omit internal props --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * feat(table): add isKeyboardNavigationDisabled prop to the table (#3735) Co-authored-by: Maharshi Alpesh <[email protected]> * feat: add form component (#3036) * chore: add support validationBehavior aria * chore: add validationBehavior to Provider * chore: add autocomplete validation test * chore: add checkbox validation test * fix(input): require condition * docs: add description of validationBehavior props * chore: add support validationBehavior props for date components * docs(dates): add description of validationBehavior props * chore: add changeset * chore: format * chore: fix test * fix: select validationBehavior is not support yet * fix: select validationBehavior not supported yet * feat: add form component with input support * feat: add support form context * chore: wip add support for form server errors * chore: add support checkbox server validation * chore: add support radio server validation * chore: update pnpm-lock.yaml * chore: add support input server validation * chore: add support autocomplete server validation * chore(form): add server validation stories * chore: fix test * chore: add date-picker validation test * chore: update form stories * chore: add changeset * chore: update react-aria version * chore: add pnpm-lock.yaml * chore: update react-aria version * chore: add comment * chore: update react-aria version * chore: fix change set * chore: export form component in the main package * chore: upgrade react-aria * chore: fixed internationalized/date version * fix: build error * chore: upgrade docs react-aria version * fix: remove comment * fix: debug setting * chore(docs): update sponsor (#3904) * chore(docs): remove Scrumbuiss * chore(docs): remove Scrumbuiss logo * chore(docs): replace va by posthog (#4123) * chore(changeset): change to patch * refactor: react-aria-components remove to decrease package size, logic moved to the form package --------- Co-authored-by: Junior Garcia <[email protected]> Co-authored-by: WK Wong <[email protected]> * docs: add forms guide (#4155) Co-authored-by: Ryo Matsukawa <[email protected]> * chore: routes updated * ci(changesets): version packages (beta) (#4151) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: fix indentation * fix(changeset): package not be found * ci(changesets): version packages (beta) (#4158) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(select): controlled isInvalid prop (#4082) * fix(select): controlled isInvalid prop * chore: add changeset * Merge branch 'beta/release-next' into pr/4082 --------- Co-authored-by: WK Wong <[email protected]> * ci(changesets): version packages (beta) (#4159) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore(changeset): bump all versions * ci(changesets): version packages (beta) (#4160) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(deps): missing peer / dev dependency for framer-motion (#4161) * fix(system): align `navigate` function parameters with `@react-aria` (#4163) * fix: menu item classNames not work (#4156) * fix: menu item classNames not work * feat: changeset * docs: update * feat: merge classes utility added * Update .changeset/brave-trains-wave.md --------- Co-authored-by: WK Wong <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * chore(docs): remove incorrect info * ci(changesets): version packages (beta) (#4162) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * refactor(docs): overall dx (#4055) * refactor(docs): revise code block (#3922) * refactor(docs): revise code block * chore(docs): resolve pr comments * refactor(docs): autocomplete dx (#3934) * feat(docs): add *.js?raw module * feat(docs): change to react-jsx and add **/*.js * chore(root): include js and jsx * refactor(docs): autocomplete dx * chore(docs): rollback overrides * chore(autocomplete): lint * fix(autocomplete): incorrect import path * fix(docs): autocomplete dx * chore(docs): remove highlightedLines * refactor(docs): breadcrumbs dx (#3968) * refactor(docs): breadcrumbs dx * fix(docs): export issue * chore(docs): use preserve for jsx * fix(docs): support multiline import * fix(docs): support multiple export * chore(docs): add back export * refactor(docs): avatar dx (#3951) * refactor(docs): badge dx (#3960) * refactor(docs): badge dx * chore(docs): incorrect import path * refactor(docs): button dx (#3981) * refactor(docs): calendar dx (#4022) * refactor(docs): calendar dx * fix(docs): incorrect import path * refactor(docs): switch dx (#4037) * refactor(docs): switch dx * chore(docs): remove highlightedLines * refactor(docs): tooltip (#4035) * refactor(docs): usage dx (#4036) * refactor(docs): circular-progress dx (#4029) * refactor(docs): chip-dx (#4028) * refactor(docs): checkbox-group dx (#4027) * refactor(docs): checkbox dx (#4024) * refactor(docs): checkbox dx * fix(docs): incorrect import path * refactor(docs): card dx (#4023) * refactor(docs): skeleton dx (#4042) * refactor(docs): spacer dx (#4043) * refactor(docs): snippet dx (#4044) * refactor(docs): scroll-shadow dx (#4045) * refactor(docs): code dx (#4046) * refactor(docs): kbd dx (#4047) * refactor(docs): link dx (#4048) * refactor(docs): progress dx (#4049) * refactor(docs): divider dx (#4050) * refactor(docs): listbox dx (#4051) * refactor(docs): listbox dx * fix(docs): import path * fix(docs): import path * chore(docs): remove highlightedLines * fix(docs): indentation * chore(docs): replace the props of autocomplete from value to key (#4129) * refactor(docs): alert dx (#4108) * refactor(docs): alert dx * refactor(docs): alert dx * refactor(docs): image dx (#4061) * refactor(docs): textarea dx (#4063) * refactor(docs): spinner dx (#4088) * refactor(docs): radio-group dx (#4064) * refactor(docs): pagination dx (#4062) * refactor(docs): pagination dx * refactor(docs): pagination dx * refactor(docs): time-input dx (#4065) * refactor(docs): time-input dx * refactor(docs): time-input dx * refactor(docs): slider dx (#4066) * refactor(docs): slider dx * refactor(docs): slider dx * refactor(docs): move SliderValue to type * refactor(docs): slider dx * refactor(docs): make icon code collapsible * refactor(docs): specify versions for date packages (#4138) * refactor(docs): specify versions for date packages * fix(docs): correct RA i18n version * chore(deps): sync version from package * refactor(docs): tabs dx (#4067) * refactor(docs): tab dx * refactor(docs): tabs dx * refactor(docs): input dx (#4102) * refactor(docs): input dx * refactor(docs): input dx * refactor(docs): navbar dx (#4076) * refactor(docs): navbar dx * refactor(docs): navbar dx * refactor(docs): navbar dx * refactor(docs): modal dx (#4077) * refactor(docs): modal dx * refactor(docs): modal dx * refactor(docs): select dx (#4078) * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): table dx (#4079) * refactor(docs): table dx * fix(docs): import path * refactor(docs): table dx * refactor(docs): table dx * refactor(docs): popover dx (#4090) * refactor(docs): range-calendar dx (#4089) * refactor(docs): range-calendar dx * fix(docs): import path * refactor(docs): date input dx (#4100) * refactor(docs): dropdown dx (#4101) * refactor(docs): dropdown dx * refactor(docs): remove highlightedLines * refactor(docs): dropdown dx * refactor(docs): dropdown dx * refactor(docs): date-picker dx (#4103) * refactor(docs): date-picker dx * fix(docs): import paths * refactor(docs): date-range-picker dx (#4104) * refactor(docs): date-range-picker dx * fix(docs): date-range-picker dx * refactor(docs): drawer dx (#4109) * refactor(docs): drawer dx * fix(docs): indentation * refactor(docs): make icon collapsible --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Ryo Matsukawa <[email protected]> * feat(input-otp): introduce input OTP component (#4052) * feat(input-otp): adding the functionality * fix(input-otp): making the use of input-otp library * Update .changeset/spotty-flies-jump.md * chore(input-otp): nits * feat: improvements and fixes added * refactor: input-otp docs improvements * fix: changeset * fix: build --------- Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * ci(changesets): version packages (beta) (#4169) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * refactor(theme): revise label font size for lg (#4141) * refactor(theme): revise label font size for lg * chore(changeset): add changeset * refactor(theme): revise label font size for lg * fix(docs): typecheck errors (#4171) * fix(docs): remove duplicate import * fix(docs): update type for onChange in range-calendar page * fix(docs): add missing `@react-types/calendar` * fix(docs): broken syntax * fix(docs): typecheck issues * fix(docs): add missing `@react-types/datepicker` * fix(docs): typecheck issues * fix: missing li tag when href is specified (#4168) * fix(items): items in list should wrapped in li in case of a * chore: adding the tests * Feat/textarea add clear button (#4172) * feat(components): add clear button to the textarea component * docs(textarea): add test and changeset * feat(textarea): modify the changeset file * feat(textarea): add clear button to textarea * feat(textarea): add isClearable prop to textarea * docs(textarea): add documentation to textarea * docs(textarea): add documentation to textarea * feat(textarea): replace the textarea component clear icon and modify its location * feat(textarea): revise the clear button position * feat(textarea): revise the clear button structure * feat(textarea): revise the styles of clear button and textarea * feat(textarea): revise the styles of RTL case * feat(textarea): change the rtl to pe * feat(textarea): delete the px classname * chore(changeset): update package and message * test(textarea): add test case * feat(textarea): change the clear button structure * feat(textarea): optimized code * chore(textarea): update the changeset file * docs(textarea): add slots doc to textarea * chore(textarea): update peerDevpeerDependencies version * chore(textarea): add usecallback dep * Update .changeset/five-adults-protect.md * chore(pre-release): enter pre-release mode * feat(textarea): modify the clear button icon * fix(theme): apply tw nested group (#3909) * chore(changset): add changeset * fix(theme): apply nested group to table * chore(docs): update table bottomContent code * fix: changeset * fix: changeset * fix: changeset * fix: changeset * fix: changeset * fix: pkg versions * fix: changeset * fix: drawer peer dep * chore: update plop components tempalte * ci(changesets): version packages (beta) (#3988) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: pre-release workflow * chore: debug log added * chore: force pre-release * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * chore: beta1 (#3990) * ci(changesets): version packages (beta) (#3991) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(use-image): image ReferenceError in SSR (#3993) * fix(input): fixed a sliding issue caused by the helper wrapper (#3966) * If it is false and there is an error message or description it will create a div * Update packages/components/input/src/input.tsx * Update packages/components/select/src/select.tsx * Update packages/components/input/src/textarea.tsx * add changeset * changeset update * ci(changesets): version packages (beta) (#3995) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: image loading in the server (#3996) * fix: lock file * chore: force release * chore: force release 2 * ci(changesets): version packages (beta) (#3997) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: image load on next.js (#3998) * ci(changesets): version packages (beta) (#3999) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: element.ref was removed in React 19 warning (#4003) * ci(changesets): version packages (beta) (#4004) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: react 19 as peer dep (#4008) * ci(changesets): version packages (beta) (#4009) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Beta/react 19 support (#4010) * fix: react 19 as peer dep * fix: react 19 as peer dep * chore: support framer-motion alpha version * ci(changesets): version packages (beta) (#4011) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(theme): making select and input themes consistent (#3881) * ci(changesets): version packages (beta) (#4012) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(textarea): fix clearButton display * fix: support inert value with boolean type for react 19 (#4039) * ci(changesets): version packages (beta) (#4041) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: alert design improved (#4054) * ci(changesets): version packages (beta) (#4056) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: drawer improvements (#4057) * ci(changesets): version packages (beta) (#4058) * feat: alert styles improved (#4071) * ci(changesets): version packages (beta) (#4072) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: alert styles improved (#4073) * ci(changesets): version packages (beta) (#4074) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: add number of stars and credits * chore: fix build * chore: improve navabr colors * chore: new changeset (#4083) * ci(changesets): version packages (beta) (#4084) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: pnpm cleaned (#4086) * ci(changesets): version packages (beta) (#4087) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: custom runnner added * chore: custom runner test (#4091) * Beta/custom runner (#4092) * chore: custom runner test * chore: custom runner test * chore: remove 2 from older changeset * ci(changesets): version packages (beta) (#4093) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: new demo added to alert * Feat/virtualization for autocomplete (#4094) * feat: add react-window virtualization for autocomplete * fix: wrong imports and wrong sizing * fix: update pnpm lock * chore: add test cases for large dataset (1000 and 10000 items) * chore: move virtualized-listbox to listbox components folder, implement isVirtualized conditional * feat: implement dynamic listboxheight n item height, add story * chore: rename props, remove unnecessary line changes * fix: maxHeight style 256px for default, conditional usage of virtualizer * feat: migrate to tan-stack virtual. (todo: fix scroll shadow) * feat: virtualization support --------- Co-authored-by: Vincentius Roger Kuswara <[email protected]> * ci(changesets): version packages (beta) (#4095) * feat: small fixes * feat: add reducedMotion setting to Provider (#3470) * feat: add reducedMotion setting to Provider * chore: refactor reducedMotion story * Update .changeset/pretty-parrots-guess.md --------- Co-authored-by: Junior Garcia <[email protected]> * ci(changesets): version packages (beta) (#4106) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: move circular-progress tv to progress (#3321) * fix: remove circular-progress tv to progress * docs: changeset * chore(changeset): update changeset message * Update .changeset/angry-maps-serve.md --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * fix: label placement when the select has a placeholder or description (#4126) * ci(changesets): version packages (beta) (#4107) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(deps): add missing `framer-motion` in `peerDependencies` (#4140) * fix(theme): add truncate class to the list item to avoid overflow the wrapper (#4105) * fix(docs): invalid canary storybook link (#4030) * fix: menu item hidden overflow text * feat: changeset * Merge branch 'beta/release-next' into fix/menu-item-hidden * fix: truncate list item * feat: update changeset * fix(menu): omit internal props --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * Update apps/docs/content/docs/components/textarea.mdx * feat(table): add isKeyboardNavigationDisabled prop to the table (#3735) Co-authored-by: Maharshi Alpesh <[email protected]> * feat: add form component (#3036) * chore: add support validationBehavior aria * chore: add validationBehavior to Provider * chore: add autocomplete validation test * chore: add checkbox validation test * fix(input): require condition * docs: add description of validationBehavior props * chore: add support validationBehavior props for date components * docs(dates): add description of validationBehavior props * chore: add changeset * chore: format * chore: fix test * fix: select validationBehavior is not support yet * fix: select validationBehavior not supported yet * feat: add form component with input support * feat: add support form context * chore: wip add support for form server errors * chore: add support checkbox server validation * chore: add support radio server validation * chore: update pnpm-lock.yaml * chore: add support input server validation * chore: add support autocomplete server validation * chore(form): add server validation stories * chore: fix test * chore: add date-picker validation test * chore: update form stories * chore: add changeset * chore: update react-aria version * chore: add pnpm-lock.yaml * chore: update react-aria version * chore: add comment * chore: update react-aria version * chore: fix change set * chore: export form component in the main package * chore: upgrade react-aria * chore: fixed internationalized/date version * fix: build error * chore: upgrade docs react-aria version * fix: remove comment * fix: debug setting * chore(docs): update sponsor (#3904) * chore(docs): remove Scrumbuiss * chore(docs): remove Scrumbuiss logo * chore(docs): replace va by posthog (#4123) * chore(changeset): change to patch * refactor: react-aria-components remove to decrease package size, logic moved to the form package --------- Co-authored-by: Junior Garcia <[email protected]> Co-authored-by: WK Wong <[email protected]> * docs: add forms guide (#4155) Co-authored-by: Ryo Matsukawa <[email protected]> * chore: routes updated * ci(changesets): version packages (beta) (#4151) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: fix indentation * fix(changeset): package not be found * ci(changesets): version packages (beta) (#4158) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(select): controlled isInvalid prop (#4082) * fix(select): controlled isInvalid prop * chore: add changeset * Merge branch 'beta/release-next' into pr/4082 --------- Co-authored-by: WK Wong <[email protected]> * ci(changesets): version packages (beta) (#4159) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore(changeset): bump all versions * ci(changesets): version packages (beta) (#4160) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(deps): missing peer / dev dependency for framer-motion (#4161) * fix(system): align `navigate` function parameters with `@react-aria` (#4163) * fix: menu item classNames not work (#4156) * fix: menu item classNames not work * feat: changeset * docs: update * feat: merge classes utility added * Update .changeset/brave-trains-wave.md --------- Co-authored-by: WK Wong <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * chore(docs): remove incorrect info * ci(changesets): version packages (beta) (#4162) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * refactor(docs): overall dx (#4055) * refactor(docs): revise code block (#3922) * refactor(docs): revise code block * chore(docs): resolve pr comments * refactor(docs): autocomplete dx (#3934) * feat(docs): add *.js?raw module * feat(docs): change to react-jsx and add **/*.js * chore(root): include js and jsx * refactor(docs): autocomplete dx * chore(docs): rollback overrides * chore(autocomplete): lint * fix(autocomplete): incorrect import path * fix(docs): autocomplete dx * chore(docs): remove highlightedLines * refactor(docs): breadcrumbs dx (#3968) * refactor(docs): breadcrumbs dx * fix(docs): export issue * chore(docs): use preserve for jsx * fix(docs): support multiline import * fix(docs): support multiple export * chore(docs): add back export * refactor(docs): avatar dx (#3951) * refactor(docs): badge dx (#3960) * refactor(docs): badge dx * chore(docs): incorrect import path * refactor(docs): button dx (#3981) * refactor(docs): calendar dx (#4022) * refactor(docs): calendar dx * fix(docs): incorrect import path * refactor(docs): switch dx (#4037) * refactor(docs): switch dx * chore(docs): remove highlightedLines * refactor(docs): tooltip (#4035) * refactor(docs): usage dx (#4036) * refactor(docs): circular-progress dx (#4029) * refactor(docs): chip-dx (#4028) * refactor(docs): checkbox-group dx (#4027) * refactor(docs): checkbox dx (#4024) * refactor(docs): checkbox dx * fix(docs): incorrect import path * refactor(docs): card dx (#4023) * refactor(docs): skeleton dx (#4042) * refactor(docs): spacer dx (#4043) * refactor(docs): snippet dx (#4044) * refactor(docs): scroll-shadow dx (#4045) * refactor(docs): code dx (#4046) * refactor(docs): kbd dx (#4047) * refactor(docs): link dx (#4048) * refactor(docs): progress dx (#4049) * refactor(docs): divider dx (#4050) * refactor(docs): listbox dx (#4051) * refactor(docs): listbox dx * fix(docs): import path * fix(docs): import path * chore(docs): remove highlightedLines * fix(docs): indentation * chore(docs): replace the props of autocomplete from value to key (#4129) * refactor(docs): alert dx (#4108) * refactor(docs): alert dx * refactor(docs): alert dx * refactor(docs): image dx (#4061) * refactor(docs): textarea dx (#4063) * refactor(docs): spinner dx (#4088) * refactor(docs): radio-group dx (#4064) * refactor(docs): pagination dx (#4062) * refactor(docs): pagination dx * refactor(docs): pagination dx * refactor(docs): time-input dx (#4065) * refactor(docs): time-input dx * refactor(docs): time-input dx * refactor(docs): slider dx (#4066) * refactor(docs): slider dx * refactor(docs): slider dx * refactor(docs): move SliderValue to type * refactor(docs): slider dx * refactor(docs): make icon code collapsible * refactor(docs): specify versions for date packages (#4138) * refactor(docs): specify versions for date packages * fix(docs): correct RA i18n version * chore(deps): sync version from package * refactor(docs): tabs dx (#4067) * refactor(docs): tab dx * refactor(docs): tabs dx * refactor(docs): input dx (#4102) * refactor(docs): input dx * refactor(docs): input dx * refactor(docs): navbar dx (#4076) * refactor(docs): navbar dx * refactor(docs): navbar dx * refactor(docs): navbar dx * refactor(docs): modal dx (#4077) * refactor(docs): modal dx * refactor(docs): modal dx * refactor(docs): select dx (#4078) * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): table dx (#4079) * refactor(docs): table dx * fix(docs): import path * refactor(docs): table dx * refactor(docs): table dx * refactor(docs): popover dx (#4090) * refactor(docs): range-calendar dx (#4089) * refactor(docs): range-calendar dx * fix(docs): import path * refactor(docs): date input dx (#4100) * refactor(docs): dropdown dx (#4101) * refactor(docs): dropdown dx * refactor(docs): remove highlightedLines * refactor(docs): dropdown dx * refactor(docs): dropdown dx * refactor(docs): date-picker dx (#4103) * refactor(docs): date-picker dx * fix(docs): import paths * refactor(docs): date-range-picker dx (#4104) * refactor(docs): date-range-picker dx * fix(docs): date-range-picker dx * refactor(docs): drawer dx (#4109) * refactor(docs): drawer dx * fix(docs): indentation * refactor(docs): make icon collapsible --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Ryo Matsukawa <[email protected]> * Merge branch 'beta/release-next' into pr/3477 * refactor(docs): apply new structure to doc * feat(input-otp): introduce input OTP component (#4052) * feat(input-otp): adding the functionality * fix(input-otp): making the use of input-otp library * Update .changeset/spotty-flies-jump.md * chore(input-otp): nits * feat: improvements and fixes added * refactor: input-otp docs improvements * fix: changeset * fix: build --------- Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * ci(changesets): version packages (beta) (#4169) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * refactor(theme): revise label font size for lg (#4141) * refactor(theme): revise label font size for lg * chore(changeset): add changeset * refactor(theme): revise label font size for lg * fix(docs): typecheck errors (#4171) * fix(docs): remove duplicate import * fix(docs): update type for onChange in range-calendar page * fix(docs): add missing `@react-types/calendar` * fix(docs): broken syntax * fix(docs): typecheck issues * fix(docs): add missing `@react-types/datepicker` * fix(docs): typecheck issues * fix: missing li tag when href is specified (#4168) * fix(items): items in list should wrapped in li in case of a * chore: adding the tests * fix: textarea issues with the clear button * chore: adjust clear button position --------- Co-authored-by: doki- <[email protected]> Co-authored-by: WK Wong <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Mustafa Balcı <[email protected]> Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: Vincentius Roger Kuswara <[email protected]> Co-authored-by: Ryo Matsukawa <[email protected]> Co-authored-by: winches <[email protected]> Co-authored-by: Tianen Pang <[email protected]> Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: chirokas <[email protected]> * ci(changesets): version packages (beta) (#4170) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * docs: sync api from nextui-cli v0.3.5 (#4173) Co-authored-by: GitHub Action <[email protected]> * ci(changesets): exit pre-release mode --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: աӄա <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Mustafa Balcı <[email protected]> Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: Vincentius Roger Kuswara <[email protected]> Co-authored-by: Ryo Matsukawa <[email protected]> Co-authored-by: winches <[email protected]> Co-authored-by: Tianen Pang <[email protected]> Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: chirokas <[email protected]> Co-authored-by: doki- <[email protected]> Co-authored-by: GitHub Action <[email protected]> * fix: pre release workflow on protected branches (#4174) * chore(pre-release): enter pre-release mode (#4175) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * fix: input otp peer deps (#4176) * chore: update workflows * chore: pre release workflow modified (#4177) * chore: canary versions (#4178) * fix: pre-release workflow (#4179) * chore: merged with beta branch * chore: workflow updated * ci(changesets): version packages * fix: changeset get github info * chore: force canary to release (#4180) * Feat/canary release (#4181) * chore: force canary to release * feat: canary release * ci(changesets): version packages * ci(changesets): version packages * fix: exit pre-release mode * fix: exit pre-release mode * fix: exit pre-release mode * fix: exit pre-release mode * fix: exit pre-release mode * chore: exit pre release mode * fix(workflows): release & pre-release flow (#4184) * chore: revert exit and enter pre release changes * chore: canary release test (#4185) * chore: update exit and enter workflows * chore: update workflow name * fix: exit pre-release mode * fix: exit pre-release mode * chore: delete pre file * chore: remove duplicate changesets * chore: base branch change to canary, changeset config * refactor: beta tags manually deleted (#4187) * fix: install * fix: peer deps (#4188) * Fix/peer deps (#4189) * fix: peer deps * fix: tests * fix: routes * chore(docs): revise defaultShowFlagList (#4193) * chore(docs): add Example to defaultShowFlagList * chore(docs): revise defaultShowFlagList * feat: documentation improvements (#4195) * feat: documentation improvements * fix: alert api * Feat/doc improvements (#4196) * feat: documentation improvements * fix: alert api * fix: copy button * fix: return in card demo * Fix/react core pkg (#4204) * fix: double use client tag import in react core package * fix: double use client * chore: restore postbuild script * docs: optimize code fold (#4202) * docs: optimize code fold * fix: code review * fix(input): teaxtarea label squish (#4197) * fix(input): teaxtarea label squish * chore(changeset): add changeset for textarea label fix * chore: remove customer runner * chore: rename changeset * chore: increase timeout * chore: change get info pkg version * chore: new changeset * chore: single chnageset * chore: consolidated changeset * chore: consolidated changeset * Update release.yaml (#4205) * chore: consolidated changeset * fix: forwardRef render functions not using ref (#4198) * fix: forwardRef render functions not using ref * fix: changelog * fix: review * fix: forwardRef render functions not using ref * docs: update changeset * feat(listbox): virtualization (#4206) * fix: should not export list item internal variables type * feat: changeset * fix: type error * fix: code block type error * feat: virtualization feature, docs for listbox * chore: update routes.json * fix: fix code-demo for typecheck * chore: rollback for files * chore: props omitted in the component itself * fix: menu item types * fix: tupecheck --------- Co-authored-by: winches <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * feat(select): virtualization (#4203) * fix: should not export list item internal variables type * feat: changeset * feat: integrate virtualized listbox to select component, add more props * feat: update docs for select component * feat: update docs to include API for virtualization * fix: update docs to follow the newest format * fix: update test for disable virtualization, add test for virtualized version * fix: fix typo * fix: type error * fix: code block type error * chore: update docs to use raw jsx instead of template literal * fix: fix code-demo for typecheck * chore: rollback for files * fix: types * chore: remove caret version on tanstack virtual pkg * fix: pnpm lock file * fix: virtualization examples * fix: number of items --------- Co-authored-by: winches <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * chore: adjust code colors * fix: collection based components ref (#4207) * chore: documentation adjustments * Update data-slot for the error message in the select. (#4214) * Update data-slot for the error message in the select. All components use the `data-slot="error-message"` attribute, except for the select component. I observed this behavior when a test in my application started failing. * refactor(select): refactors the data-slots attribute for the error message * fix(docs): types for classNames and itemClasses (#4209) * feat: documentation improvements * chore: more improvements to the docs, routing updated, acccordiong font size change * feat: forms doc in progress * fix(touch): fixing the selection functionality on touch (#4220) * fix(touch): fixing the selection functionality on touch * fix: radio, checkbox & switch interactions --------- Co-authored-by: Junior Garcia <[email protected]> * chore(docs): remove non-existing attribute (#4221) * fix(select): hideEmptyContent API (#4219) * fix(select): hideEmptyContent API * test(select): hideEmptyContent tests * docs(select): hideEmptyContent API * chore(select): hideEmptyContent storybook * chore(changeset): add hideEmptyContent API to select * refactor(select): hideEmptyContent nitpick * test(select): hideEmptyContent UI assertions * fix(select): hideEmptyContent default false * docs(select): hideEmptyContent default false * fix(pagination): cursor position when hidden on init (#4222) * fix(pagination): cusor position when hidden on init * test(pagination): cursor intersection observer * chore(changeset): pagination cursor position fix * refactor(pagination): minor nitpicks - check for null ref in usePagination - restore original IntersectionObserver in test * fix: form fixes and improvements (#4224) * chore: form in progress * chore: main demo addded to forms, checkbox validation fixed * chore: forms docs improved * fix(deps): bump `@react-aria/utils` version (#4226) * fix(deps): bump `@react-aria/utils` version * chore(changeset): add changeset * feat: forms doc completed * chore: form component doc created * chore: forms doc improved * chore: doc improvements * chore: alert doc improved * feat: nextjs 15 migration in progress * feat: nextjs 15 migration [docs] (#4228) * feat: nextjs 15 migration in progress * feat: next 15 downgraded to next 14 * fix: migration errors * feat: codeblog is now rendered only when visible, this made a huge performance improvement * fix: remove folding * feat: v2.6.0 blog * feat: Adding nextui pro section on the landing page (#4227) * feat: adding nextui pro section on the landing page * chore(nits): nits * fix: remove pro image on mobile --------- Co-authored-by: Junior Garcia <[email protected]> * fix(docs): prevent scrolling up on pressing theme change switch (#4233) * chore: improve v2.6.0 blog * chore: small improvements * chore: improve blog * ci(changesets): version packages (#4186) Co-authored-by: Junior Garcia <[email protected]> * fix: snippet release (#4235) * ci(changesets): version packages (#4236) Co-authored-by: Junior Garcia <[email protected]> * chore: v2.6.2 * ci(changesets): version packages (#4237) Co-authored-by: Junior Garcia <[email protected]> * fix: draggable modal demo * fix: v2.6 blog * chore: adjust blog * chore: release notes link updated * fix: v2.6.0 (#4247) *…
* fix(input): ensure clear button is not focusable when disabled (#3774) * fix(input): ensure clear button is not focusable when disabled * test(input): add test to ensure clear button is not focusable when disabled * chore: add changeset for clear button focus fix when input is disabled * fix(input): update clear button to use button element * test(input): add focus test when disabled and update tests for clear button using button element * test(input): replace querySelector with getByRole for clear button * fix(input): set tabIndex to -1 for clear button * test(input): ensure clear button is not focusable * fix(image): add missing `w` to `getWrapperProps` dependency (#3802) * fix(image): add missing `w` to `getWrapperProps` dependency * chore(changeset): add changeset * fix(autocomplete): popover should remain open after clicking clear button (#3788) * fix: add state.open() so that dropdown is not closed * chore: add changeset * chore(autocomplete): add testcases for keeping lisbox open when clearButton is clicked * chore: update changeset * chore(autocomplete): change the docs for test cases * chore(changeset): update changeset message and add issue number --------- Co-authored-by: WK Wong <[email protected]> * refactor(docs): example of blurred card (#3741) * docs(card): adding info regarding the gradient for blurred card * chore(nit): adding example * chore(docs): revise content for card isBlurred example * chore(docs): revise isBlurred note --------- Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: WK Wong <[email protected]> * fix(docs): replace twitter logo/links with x logo/links (#3815) * fix(docs): replace Twitter logo/links with X logo/links * docs: update twitter references to x * docs: update changeset for twitter to x changes * docs: update twitter references to x * docs: update twitter references to x * chore(docs): undo .sponsorsrc since it's generated * refactor(docs): remove unnecessary classes * chore(docs): undo .sponsorsrc since it's generated --------- Co-authored-by: WK Wong <[email protected]> * fix(date-picker): adding props from calendarProps to getCalendarProps (#3773) * fix(date-picker): adding props from calendarProps to the getCalendarProps * chore(date-picker): adding the changeset * chore(changeset): add issue number --------- Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: WK Wong <[email protected]> * feat(autocomplete): automatically focus first non-disabled item (#2186) Co-authored-by: WK Wong <[email protected]> * docs(accordion): add overflow to custom motion example (#3793) * fix(docs): typos in dark mode page (#3823) * fix(theme): fullWidth in input and select (#3768) * fix(input): fixing the fullWidth functionality * chore(changeset): add issue number * chore(changeset): revise changeset message --------- Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: WK Wong <[email protected]> * fix(autocomplete): exit animation on popover close (#3845) * fix(autocomplete): exit animation on popover close * refactor(autocomplete): getListBoxProps --------- Co-authored-by: WK Wong <[email protected]> * refactor(theme): replace the use of RTL-specific styles with logical properties (#3868) * chore(rtl): remove the usages of rtl * chore(changeset): adding the changeset * chore(changeset): update changeset message --------- Co-authored-by: WK Wong <[email protected]> * fix(select): label placement discrepancy in Select (#3853) * fix(select): label placement incorrect in case of multiline * chore(select): adding the changeset * chore(select): adding the tests * chore(select): code imrovement, wkw's suggestions * chore(changeset): update changeset message --------- Co-authored-by: WK Wong <[email protected]> * fix(theme): label placement in select and input (#3869) * fix(theme): fix the label placement * chore(changeset): adding the changeset * chore(select): adding comments * fix(docs): avoid translating the code block (#3878) * docs(Codeblock): avoid code be translated * fix(docs): lint issue --------- Co-authored-by: WK Wong <[email protected]> * fix(listbox): change listBoxItem key to optional (#3883) * fix(listbox): listBoxItem key to optional * chore: add defaultSelectedKeys test for numeric keys and ids * chore: add changeset * chore: comment out section prompts in PR template (#3884) * chore(test): update testing libraries and refactor (#3886) * fix(theme): show margin only with label in Switch component (#3861) * fix(switch): removed right margin in wrapper #3791 * feat(changeset): added changeset * fix(switch): removed me-2 in wrapper * fix(switch): added ms-2 to label * chore(changeset): correct package and message --------- Co-authored-by: WK Wong <[email protected]> * fix(theme): removed pseudo cancel btn from input (#3912) * fix(theme): removed pseudo cancel btn from input * chore(changeset): adding the changeset * fix(input): conditionally hiding the webkit search * chore(changeset): revise changeset message --------- Co-authored-by: WK Wong <[email protected]> * refactor(docs): dx improvement in accordion (#3856) * refactor: improve dx for writing a docs component (#2544) * refactor: improve dx for write a docs component Signed-off-by: Innei <[email protected]> * refactor(docs): switch to contentlayer2 * chore(docs): rename to avoid conflict * refactor(docs): switch to next-contentlayer2 * refactor(docs): revise docs lib * chore(deps): bump docs related dependencies * fix(use-aria-multiselect): type issue due to ts version bump --------- Signed-off-by: Innei <[email protected]> Co-authored-by: WK Wong <[email protected]> * refactor(docs): accordion codes * feat(docs): declare module `*.jsx?raw` * feat(docs): include `**/*.jsx` * fix(docs): incorrect content * chore(docs): add new lines * refactor(docs): lint --------- Signed-off-by: Innei <[email protected]> Co-authored-by: Innei <[email protected]> * fix(docs): typos in hero section (#3928) * fix(theme): support RTL for breadcrumbs (#3927) * fix(breadcrumbs): added separator rotation for RTL #2486 * chore(changeset): added changeset * fix(docs): removed unused import and merged classNames in dropdown (#3936) * fix(breadcrumbs): added separator rotation for RTL #2486 * chore(changeset): added changeset * fix(docs): removed unused Link import and merged classnames in dropdown * fix: avatar filter disableAnimation to dom prop (#3946) * feat: add git hook to auto update dependencies (#3365) * feat: add git hook to auto update dependencies * feat: update color * fix: prevent test matcher warning (#3893) * fix: prevent test matcher warning * chore: add node types * chore: update Jest related packages * chore: run pnpm install * fix(tabs): correct inert value for true condition (#3978) * Alert component (#3982) * feat(alert): began the work on alert component * fix(readme): making correction * chore(deps): change to 2.0.0 * chore(docs): update README.md * feat(theme): init alert tv * chore(alert): update package.json * feat(alert): init alert storybook structure * chore(changeset): add changeset * chore(changeset): change to minor * chore(alert): revise alert package.json * feat(alert): init test structure * chore(deps): pnpm-lock.yaml * feat(alert): initailized theme and basic structure * feat(alert): completed use-alert.ts and alert.tsx * feat(alert): remove innerWrapper, replace helperWrapper with mainWrapper, adding isCloseable prop * feat(alert): adding isCloseable prop to baseWrapper dependency * feat(alert): setting the default value of isCloseable prop to true * feat(alert): moving CloseIcon inside the button * feat(alert): updated package.json * feat(alert): default variant and default story * feat(alert): adding color and radius stories * feat(alert): completed the styling * feat(alert): add stories for isCloseable prop and restyle other stories * feat(alert): correcting ref type * feat(alert): add test cases * feat(alert): remove startContent and endContent props * feat(alert): make styling more accurate * feat(alert): fixed default props * feat(alert): fixed theme docs * feat(alert): add logic for icons * feat(alert): begin to add docs * chore(alert): implement the changes suggested in code review * feat(alert): add onclose prop to alert * feat(alert): add test cases * docs(alert): add onClose event * feat(docs): add alert to routes.json * fix(alert): correct the text colors * docs(alert): fix imports and syntax errors * chore(alert): implement the changes suggested in code review * chore(alert): lint the code and change isCloseable to isClosable * chore(alert): lint the code * chore(alert): run pnpm i * fix(alert): fix the logic for close button and add test case * docs(alert): fix docs, change isCloseable to isClosable and change docs for isClosable property * chore(alert): add the support for RTL, refactor the code and fix the typos * docs(alert): grammer issues fix * fix(alert): replace rtl with ms * chore(alert): custom style and custom implementation, remove isClosable={false}, refactor, fix typos * chore(alert): linting and implement coderabbit suggestions * chore(alert): refactor and typos fix * chore(alert): add import for closeIcon * chore(alert): add props for closeIcon * chore(alert): refactor fixes * chore(alert): implement ryo-manba's suggestion on close Icon * chore(alert): make alert more responsive * chore(alert): fix grammer issues suggested by coderabbit * fix(alert): add max-w property to make alert responsive * chore(alert): improve responsiveness and refactor alertIcon * chore(alert): add missing dependency to useMemo * chore(alert): implement coderabbit's suggestions * chore(alert): update docs and refactor * chore(alert): refactor alertIcon and implement coderabbit's suggestion * chore: fixes --------- Co-authored-by: Abhinav Agarwal <[email protected]> Co-authored-by: WK Wong <[email protected]> Co-authored-by: Abhinav Agarwal <[email protected]> * Feat/add draggable modal (#3983) * feat(hooks): add use-draggable hook * feat(components): [modal] export use-draggable * docs(components): [modal] add draggable modal * feat(components): [modal] add ref prop for modal-header * chore(components): [modal] add draggable modal for storybook * chore: add changeset for draggable modal * docs(hooks): [use-draggable] fix typo * chore: upper changeset * chore(components): [modal] add overflow draggable modal to sb * test(components): [modal] add draggable modal tests * build: update pnpm-lock * chore(changeset): include issue number * feat(hooks): [use-draggable] set user-select to none when during the dragging * docs(components): [modal] update code demo title * docs(components): [modal] condense description for draggable overflow * feat(hooks): [use-draggable] change version to 0.1.0 * refactor(hooks): [use-draggable] use use-move implement use-draggable * feat(hooks): [use-draggable] remove repeated user-select * test(components): [modal] update test case to use-draggable base use-move * docs(components): [modal] update draggable examples * fix(hooks): [use-draggable] fix mobile device touchmove event conflict * refactor(hooks): [use-draggable] remove drag ref prop * refactor(hooks): [use-draggable] draggable2is-disabled overflow2can-overflow * test(components): [modal] add draggble disable test * chore(hooks): [use-draggable] add commant for body touchmove * Update packages/hooks/use-draggable/src/index.ts Co-authored-by: Ryo Matsukawa <[email protected]> * fix(hooks): [use-draggable] import use-callback * test(components): [modal] add mobile-sized test for draggable * chore(hooks): [use-draggable] add use-callback for func * chore(hooks): [use-draggable] update version to 2.0.0 * chore: fix typo * Update .changeset/soft-apricots-sleep.md * fix: pnpm lock * fix: build * chore: add updated moadl --------- Co-authored-by: wzc520pyfm <[email protected]> Co-authored-by: աɨռɢӄաօռɢ <[email protected]> Co-authored-by: Ryo Matsukawa <[email protected]> * chore: upgrade react-aria / React 19 & Next.js 15 support (#3732) * chore: upgrade react-aria * chore: add changeset * chore: fix type error --------- Co-authored-by: Junior Garcia <[email protected]> * feat(date-picker): add selectorButtonPlacement property (#3248) * feat(date-picker): add selectorButtonPlacement property * chore: update changeset * Update .changeset/neat-donkeys-accept.md Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: Junior Garcia <[email protected]> * feat: add tab ref (#3974) * feat: add tab ref * feat: add changeset * feat: pre-release workflow (#2910) * feat(workflow): pre-release * feat(workflow): exit pre-release * chore(workflow): update version & publish commands * fix(workflow): add missing attributes and use schangeset:beta cmd * feat(root): add changeset:beta * fix(workflows): revise pre-release logic * fix(workflows): add missing run * fix(workflows): use changeset:exit with version instead * feat(root): add changeset:exit cmd * refactor(workflows): add pths, id, and format * feat(workflows): enter pre-release mode * chore(workflows): remove pre.json only * refactor(workflows): remove enter-pre-release-mode * fix(workflows): incorrect url * refactor(root): remove unused exit command * refactor(workflows): add comments * feat(changeset): change to main branch as baseBranch * feat(root): add changeset:canary * refactor(workflows): remove unused workflow * feat(workflow): support canary pre-release mode * refactor(docs): change to canary * feat(popover): added control for closing popover on scroll (#3595) * fix(navbar): fixed the height when style h-full * fix(navbar): fixed the height when style h-full * docs(changeset): resolved extra file * feat(popover): added control for closing popover on scroll * update(changeset): correction * feat(popover): removed extra story * refactor(test): corrected test for both true and false values of shouldCloseOnScroll * refactor(docs): added shouldCloseOnScroll prop * chore(changeset): change to minor --------- Co-authored-by: աӄա <[email protected]> * feat: add month and year pickers to DateRangePicker and RangeCalendar (#3302) * feat: add month and year pickers to DateRangePicker and RangeCalendar * chore: update docs * Update .changeset/kind-cobras-travel.md * chore: react package version --------- Co-authored-by: Junior Garcia <[email protected]> * chore(deps): bump tailwind-merge version (#3657) * chore(deps): bump tailwind-merge versions * chore(theme): adopt latest extendTailwindMerge * chore(changeset): add changeset * chore(changeset): change to minor * Update .changeset/grumpy-mayflies-rhyme.md --------- Co-authored-by: Junior Garcia <[email protected]> * feat: added drawer component (#3986) Signed-off-by: The1111mp <[email protected]> Co-authored-by: The1111mp <[email protected]> * refactor: optimisations (#3523) * refactor: replace lodash with native approaches * refactor(deps): update framer-motion versions * feat(utilities): add @nextui-org/dom-animation * refactor(components): load domAnimation dynamically * refactor(deps): add @nextui-org/dom-animation * fix(utilities): relocate index.ts * feat(changeset): framer motion optimization * chore(deps): bump framer-motion version * fix(docs): conflict issue * refactor(hooks): remove the unnecessary this aliasing * refactor(utilities): remove the unnecessary this aliasing * chore(docs): remove {} so that it won't be true all the time * chore(dom-animation): end with new line * refactor(hooks): use debounce from `@nextui-org/shared-utils` * chore(deps): add `@nextui-org/shared-utils` * refactor: move mapKeys logic to `@nextui-org/shared-utils` * refactor: use `get` from `@nextui-org/shared-utils` * refactor(docs): use `get` from `@nextui-org/shared-utils` * refactor(shared-utils): mapKeys * chore(deps): bump framer-motion version * chore(deps): remove lodash * refactor(docs): use intersectionBy from shared-utils * feat(shared-utils): add intersectionBy * chore(dom-animation): remove extra blank line * refactor(shared-utils): revise intersectionBy * fix(modal): add willChange * refactor(shared-utils): add comments * fix: build & tests --------- Co-authored-by: Junior Garcia <[email protected]> * feat(hooks): use-theme hook (#3169) * feat(docs): update dark mode content * feat(hooks): @nextui-org/use-theme * chore(docs): revise ThemeSwitcher code * refactor(hooks): simplify useTheme and support custom theme names * feat(hooks): add use-theme test cases * feat(changeset): add changeset * refactor(hooks): make localStorageMock globally and clear before each test * fix(docs): typo * fix(hooks): coderabbitai comments * chore(hooks): remove unnecessary + * chore(changeset): change to minor * feat(hooks): handle system theme * chore(hooks): add EOL * refactor(hooks): add default theme * refactor(hooks): revise useTheme * refactor(hooks): resolve pr comments * refactor(hooks): resolve pr comments * refactor(hooks): resolve pr comments * refactor(hooks): remove unused theme in dependency array * chore(docs): typos * refactor(hooks): mark system as key for system theme * chore: merged with canary --------- Co-authored-by: Junior Garcia <[email protected]> * Fix/avatar flashing (#3987) * fix(use-image): cached image flashing * chore: merged with canary --------- Co-authored-by: Rakha Kanz Kautsar <[email protected]> * refactor(menu): Use `useMenu` and `useMenuItem` from RA (#3261) * refactor(menu): use useMenu from react-aria instead * refactor(menu): use useMenuItem from react-aria instead * feat(changeset): add changeset * chore: merged with canary * fix: dropdown tests --------- Co-authored-by: Junior Garcia <[email protected]> * fix(theme): added stripe color gradients for progress (#3938) * fix(breadcrumbs): added separator rotation for RTL #2486 * chore(changeset): added changeset * fix(docs): removed unused Link import and merged classnames in dropdown * fix(theme):added stripe color gradients for progress #1933 * refactor(theme): added stripe-size and createStripeGradient * chore: add all minor releases * fix(docs): invalid canary storybook link (#4030) * fix(use-image): image ReferenceError in SSR (#4122) * fix(use-image): image ReferenceError in SSR * fix(use-image): sync with beta * fix(use-image): sync with beta * chore(use-image): remove unnecessary comments * fix(docs): buildLocation expects an object (#4118) * fix(docs): routing.mdx * Delete .changeset/pre.json * chore(docs): update yarn installation command (#4132) There is no `-g` flag in yarn. `global` is a command which must immediately follow yarn. Source: https://classic.yarnpkg.com/lang/en/docs/cli/global/ * chore: upgrade storybook 8 (#4124) * feat: upgrade storybook8 * chore: upgrade storybook and vite * chore: remove @mdx-js/react optimizeDep * chore: add @mdx-js/react optimizeDep * fix: format * docs: add forms guide (#3822) * v2.5.0 [BETA] (#4164) * chore(pre-release): enter pre-release mode * fix(theme): apply tw nested group (#3909) * chore(changset): add changeset * fix(theme): apply nested group to table * chore(docs): update table bottomContent code * fix: changeset * fix: changeset * fix: changeset * fix: changeset * fix: changeset * fix: pkg versions * fix: changeset * fix: drawer peer dep * chore: update plop components tempalte * ci(changesets): version packages (beta) (#3988) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: pre-release workflow * chore: debug log added * chore: force pre-release * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * chore: beta1 (#3990) * ci(changesets): version packages (beta) (#3991) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(use-image): image ReferenceError in SSR (#3993) * fix(input): fixed a sliding issue caused by the helper wrapper (#3966) * If it is false and there is an error message or description it will create a div * Update packages/components/input/src/input.tsx * Update packages/components/select/src/select.tsx * Update packages/components/input/src/textarea.tsx * add changeset * changeset update * ci(changesets): version packages (beta) (#3995) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: image loading in the server (#3996) * fix: lock file * chore: force release * chore: force release 2 * ci(changesets): version packages (beta) (#3997) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: image load on next.js (#3998) * ci(changesets): version packages (beta) (#3999) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: element.ref was removed in React 19 warning (#4003) * ci(changesets): version packages (beta) (#4004) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: react 19 as peer dep (#4008) * ci(changesets): version packages (beta) (#4009) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Beta/react 19 support (#4010) * fix: react 19 as peer dep * fix: react 19 as peer dep * chore: support framer-motion alpha version * ci(changesets): version packages (beta) (#4011) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(theme): making select and input themes consistent (#3881) * ci(changesets): version packages (beta) (#4012) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: support inert value with boolean type for react 19 (#4039) * ci(changesets): version packages (beta) (#4041) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: alert design improved (#4054) * ci(changesets): version packages (beta) (#4056) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: drawer improvements (#4057) * ci(changesets): version packages (beta) (#4058) * feat: alert styles improved (#4071) * ci(changesets): version packages (beta) (#4072) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: alert styles improved (#4073) * ci(changesets): version packages (beta) (#4074) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: add number of stars and credits * chore: fix build * chore: improve navabr colors * chore: new changeset (#4083) * ci(changesets): version packages (beta) (#4084) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: pnpm cleaned (#4086) * ci(changesets): version packages (beta) (#4087) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: custom runnner added * chore: custom runner test (#4091) * Beta/custom runner (#4092) * chore: custom runner test * chore: custom runner test * chore: remove 2 from older changeset * ci(changesets): version packages (beta) (#4093) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: new demo added to alert * Feat/virtualization for autocomplete (#4094) * feat: add react-window virtualization for autocomplete * fix: wrong imports and wrong sizing * fix: update pnpm lock * chore: add test cases for large dataset (1000 and 10000 items) * chore: move virtualized-listbox to listbox components folder, implement isVirtualized conditional * feat: implement dynamic listboxheight n item height, add story * chore: rename props, remove unnecessary line changes * fix: maxHeight style 256px for default, conditional usage of virtualizer * feat: migrate to tan-stack virtual. (todo: fix scroll shadow) * feat: virtualization support --------- Co-authored-by: Vincentius Roger Kuswara <[email protected]> * ci(changesets): version packages (beta) (#4095) * feat: small fixes * feat: add reducedMotion setting to Provider (#3470) * feat: add reducedMotion setting to Provider * chore: refactor reducedMotion story * Update .changeset/pretty-parrots-guess.md --------- Co-authored-by: Junior Garcia <[email protected]> * ci(changesets): version packages (beta) (#4106) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: move circular-progress tv to progress (#3321) * fix: remove circular-progress tv to progress * docs: changeset * chore(changeset): update changeset message * Update .changeset/angry-maps-serve.md --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * fix: label placement when the select has a placeholder or description (#4126) * ci(changesets): version packages (beta) (#4107) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(deps): add missing `framer-motion` in `peerDependencies` (#4140) * fix(theme): add truncate class to the list item to avoid overflow the wrapper (#4105) * fix(docs): invalid canary storybook link (#4030) * fix: menu item hidden overflow text * feat: changeset * Merge branch 'beta/release-next' into fix/menu-item-hidden * fix: truncate list item * feat: update changeset * fix(menu): omit internal props --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * feat(table): add isKeyboardNavigationDisabled prop to the table (#3735) Co-authored-by: Maharshi Alpesh <[email protected]> * feat: add form component (#3036) * chore: add support validationBehavior aria * chore: add validationBehavior to Provider * chore: add autocomplete validation test * chore: add checkbox validation test * fix(input): require condition * docs: add description of validationBehavior props * chore: add support validationBehavior props for date components * docs(dates): add description of validationBehavior props * chore: add changeset * chore: format * chore: fix test * fix: select validationBehavior is not support yet * fix: select validationBehavior not supported yet * feat: add form component with input support * feat: add support form context * chore: wip add support for form server errors * chore: add support checkbox server validation * chore: add support radio server validation * chore: update pnpm-lock.yaml * chore: add support input server validation * chore: add support autocomplete server validation * chore(form): add server validation stories * chore: fix test * chore: add date-picker validation test * chore: update form stories * chore: add changeset * chore: update react-aria version * chore: add pnpm-lock.yaml * chore: update react-aria version * chore: add comment * chore: update react-aria version * chore: fix change set * chore: export form component in the main package * chore: upgrade react-aria * chore: fixed internationalized/date version * fix: build error * chore: upgrade docs react-aria version * fix: remove comment * fix: debug setting * chore(docs): update sponsor (#3904) * chore(docs): remove Scrumbuiss * chore(docs): remove Scrumbuiss logo * chore(docs): replace va by posthog (#4123) * chore(changeset): change to patch * refactor: react-aria-components remove to decrease package size, logic moved to the form package --------- Co-authored-by: Junior Garcia <[email protected]> Co-authored-by: WK Wong <[email protected]> * docs: add forms guide (#4155) Co-authored-by: Ryo Matsukawa <[email protected]> * chore: routes updated * ci(changesets): version packages (beta) (#4151) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: fix indentation * fix(changeset): package not be found * ci(changesets): version packages (beta) (#4158) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(select): controlled isInvalid prop (#4082) * fix(select): controlled isInvalid prop * chore: add changeset * Merge branch 'beta/release-next' into pr/4082 --------- Co-authored-by: WK Wong <[email protected]> * ci(changesets): version packages (beta) (#4159) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore(changeset): bump all versions * ci(changesets): version packages (beta) (#4160) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(deps): missing peer / dev dependency for framer-motion (#4161) * fix(system): align `navigate` function parameters with `@react-aria` (#4163) * fix: menu item classNames not work (#4156) * fix: menu item classNames not work * feat: changeset * docs: update * feat: merge classes utility added * Update .changeset/brave-trains-wave.md --------- Co-authored-by: WK Wong <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * chore(docs): remove incorrect info * ci(changesets): version packages (beta) (#4162) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * refactor(docs): overall dx (#4055) * refactor(docs): revise code block (#3922) * refactor(docs): revise code block * chore(docs): resolve pr comments * refactor(docs): autocomplete dx (#3934) * feat(docs): add *.js?raw module * feat(docs): change to react-jsx and add **/*.js * chore(root): include js and jsx * refactor(docs): autocomplete dx * chore(docs): rollback overrides * chore(autocomplete): lint * fix(autocomplete): incorrect import path * fix(docs): autocomplete dx * chore(docs): remove highlightedLines * refactor(docs): breadcrumbs dx (#3968) * refactor(docs): breadcrumbs dx * fix(docs): export issue * chore(docs): use preserve for jsx * fix(docs): support multiline import * fix(docs): support multiple export * chore(docs): add back export * refactor(docs): avatar dx (#3951) * refactor(docs): badge dx (#3960) * refactor(docs): badge dx * chore(docs): incorrect import path * refactor(docs): button dx (#3981) * refactor(docs): calendar dx (#4022) * refactor(docs): calendar dx * fix(docs): incorrect import path * refactor(docs): switch dx (#4037) * refactor(docs): switch dx * chore(docs): remove highlightedLines * refactor(docs): tooltip (#4035) * refactor(docs): usage dx (#4036) * refactor(docs): circular-progress dx (#4029) * refactor(docs): chip-dx (#4028) * refactor(docs): checkbox-group dx (#4027) * refactor(docs): checkbox dx (#4024) * refactor(docs): checkbox dx * fix(docs): incorrect import path * refactor(docs): card dx (#4023) * refactor(docs): skeleton dx (#4042) * refactor(docs): spacer dx (#4043) * refactor(docs): snippet dx (#4044) * refactor(docs): scroll-shadow dx (#4045) * refactor(docs): code dx (#4046) * refactor(docs): kbd dx (#4047) * refactor(docs): link dx (#4048) * refactor(docs): progress dx (#4049) * refactor(docs): divider dx (#4050) * refactor(docs): listbox dx (#4051) * refactor(docs): listbox dx * fix(docs): import path * fix(docs): import path * chore(docs): remove highlightedLines * fix(docs): indentation * chore(docs): replace the props of autocomplete from value to key (#4129) * refactor(docs): alert dx (#4108) * refactor(docs): alert dx * refactor(docs): alert dx * refactor(docs): image dx (#4061) * refactor(docs): textarea dx (#4063) * refactor(docs): spinner dx (#4088) * refactor(docs): radio-group dx (#4064) * refactor(docs): pagination dx (#4062) * refactor(docs): pagination dx * refactor(docs): pagination dx * refactor(docs): time-input dx (#4065) * refactor(docs): time-input dx * refactor(docs): time-input dx * refactor(docs): slider dx (#4066) * refactor(docs): slider dx * refactor(docs): slider dx * refactor(docs): move SliderValue to type * refactor(docs): slider dx * refactor(docs): make icon code collapsible * refactor(docs): specify versions for date packages (#4138) * refactor(docs): specify versions for date packages * fix(docs): correct RA i18n version * chore(deps): sync version from package * refactor(docs): tabs dx (#4067) * refactor(docs): tab dx * refactor(docs): tabs dx * refactor(docs): input dx (#4102) * refactor(docs): input dx * refactor(docs): input dx * refactor(docs): navbar dx (#4076) * refactor(docs): navbar dx * refactor(docs): navbar dx * refactor(docs): navbar dx * refactor(docs): modal dx (#4077) * refactor(docs): modal dx * refactor(docs): modal dx * refactor(docs): select dx (#4078) * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): table dx (#4079) * refactor(docs): table dx * fix(docs): import path * refactor(docs): table dx * refactor(docs): table dx * refactor(docs): popover dx (#4090) * refactor(docs): range-calendar dx (#4089) * refactor(docs): range-calendar dx * fix(docs): import path * refactor(docs): date input dx (#4100) * refactor(docs): dropdown dx (#4101) * refactor(docs): dropdown dx * refactor(docs): remove highlightedLines * refactor(docs): dropdown dx * refactor(docs): dropdown dx * refactor(docs): date-picker dx (#4103) * refactor(docs): date-picker dx * fix(docs): import paths * refactor(docs): date-range-picker dx (#4104) * refactor(docs): date-range-picker dx * fix(docs): date-range-picker dx * refactor(docs): drawer dx (#4109) * refactor(docs): drawer dx * fix(docs): indentation * refactor(docs): make icon collapsible --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Ryo Matsukawa <[email protected]> * feat(input-otp): introduce input OTP component (#4052) * feat(input-otp): adding the functionality * fix(input-otp): making the use of input-otp library * Update .changeset/spotty-flies-jump.md * chore(input-otp): nits * feat: improvements and fixes added * refactor: input-otp docs improvements * fix: changeset * fix: build --------- Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * ci(changesets): version packages (beta) (#4169) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * refactor(theme): revise label font size for lg (#4141) * refactor(theme): revise label font size for lg * chore(changeset): add changeset * refactor(theme): revise label font size for lg * fix(docs): typecheck errors (#4171) * fix(docs): remove duplicate import * fix(docs): update type for onChange in range-calendar page * fix(docs): add missing `@react-types/calendar` * fix(docs): broken syntax * fix(docs): typecheck issues * fix(docs): add missing `@react-types/datepicker` * fix(docs): typecheck issues * fix: missing li tag when href is specified (#4168) * fix(items): items in list should wrapped in li in case of a * chore: adding the tests * Feat/textarea add clear button (#4172) * feat(components): add clear button to the textarea component * docs(textarea): add test and changeset * feat(textarea): modify the changeset file * feat(textarea): add clear button to textarea * feat(textarea): add isClearable prop to textarea * docs(textarea): add documentation to textarea * docs(textarea): add documentation to textarea * feat(textarea): replace the textarea component clear icon and modify its location * feat(textarea): revise the clear button position * feat(textarea): revise the clear button structure * feat(textarea): revise the styles of clear button and textarea * feat(textarea): revise the styles of RTL case * feat(textarea): change the rtl to pe * feat(textarea): delete the px classname * chore(changeset): update package and message * test(textarea): add test case * feat(textarea): change the clear button structure * feat(textarea): optimized code * chore(textarea): update the changeset file * docs(textarea): add slots doc to textarea * chore(textarea): update peerDevpeerDependencies version * chore(textarea): add usecallback dep * Update .changeset/five-adults-protect.md * chore(pre-release): enter pre-release mode * feat(textarea): modify the clear button icon * fix(theme): apply tw nested group (#3909) * chore(changset): add changeset * fix(theme): apply nested group to table * chore(docs): update table bottomContent code * fix: changeset * fix: changeset * fix: changeset * fix: changeset * fix: changeset * fix: pkg versions * fix: changeset * fix: drawer peer dep * chore: update plop components tempalte * ci(changesets): version packages (beta) (#3988) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: pre-release workflow * chore: debug log added * chore: force pre-release * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * chore: beta1 (#3990) * ci(changesets): version packages (beta) (#3991) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(use-image): image ReferenceError in SSR (#3993) * fix(input): fixed a sliding issue caused by the helper wrapper (#3966) * If it is false and there is an error message or description it will create a div * Update packages/components/input/src/input.tsx * Update packages/components/select/src/select.tsx * Update packages/components/input/src/textarea.tsx * add changeset * changeset update * ci(changesets): version packages (beta) (#3995) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: image loading in the server (#3996) * fix: lock file * chore: force release * chore: force release 2 * ci(changesets): version packages (beta) (#3997) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: image load on next.js (#3998) * ci(changesets): version packages (beta) (#3999) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: element.ref was removed in React 19 warning (#4003) * ci(changesets): version packages (beta) (#4004) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: react 19 as peer dep (#4008) * ci(changesets): version packages (beta) (#4009) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Beta/react 19 support (#4010) * fix: react 19 as peer dep * fix: react 19 as peer dep * chore: support framer-motion alpha version * ci(changesets): version packages (beta) (#4011) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(theme): making select and input themes consistent (#3881) * ci(changesets): version packages (beta) (#4012) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(textarea): fix clearButton display * fix: support inert value with boolean type for react 19 (#4039) * ci(changesets): version packages (beta) (#4041) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: alert design improved (#4054) * ci(changesets): version packages (beta) (#4056) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: drawer improvements (#4057) * ci(changesets): version packages (beta) (#4058) * feat: alert styles improved (#4071) * ci(changesets): version packages (beta) (#4072) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: alert styles improved (#4073) * ci(changesets): version packages (beta) (#4074) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: add number of stars and credits * chore: fix build * chore: improve navabr colors * chore: new changeset (#4083) * ci(changesets): version packages (beta) (#4084) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: pnpm cleaned (#4086) * ci(changesets): version packages (beta) (#4087) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: custom runnner added * chore: custom runner test (#4091) * Beta/custom runner (#4092) * chore: custom runner test * chore: custom runner test * chore: remove 2 from older changeset * ci(changesets): version packages (beta) (#4093) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: new demo added to alert * Feat/virtualization for autocomplete (#4094) * feat: add react-window virtualization for autocomplete * fix: wrong imports and wrong sizing * fix: update pnpm lock * chore: add test cases for large dataset (1000 and 10000 items) * chore: move virtualized-listbox to listbox components folder, implement isVirtualized conditional * feat: implement dynamic listboxheight n item height, add story * chore: rename props, remove unnecessary line changes * fix: maxHeight style 256px for default, conditional usage of virtualizer * feat: migrate to tan-stack virtual. (todo: fix scroll shadow) * feat: virtualization support --------- Co-authored-by: Vincentius Roger Kuswara <[email protected]> * ci(changesets): version packages (beta) (#4095) * feat: small fixes * feat: add reducedMotion setting to Provider (#3470) * feat: add reducedMotion setting to Provider * chore: refactor reducedMotion story * Update .changeset/pretty-parrots-guess.md --------- Co-authored-by: Junior Garcia <[email protected]> * ci(changesets): version packages (beta) (#4106) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: move circular-progress tv to progress (#3321) * fix: remove circular-progress tv to progress * docs: changeset * chore(changeset): update changeset message * Update .changeset/angry-maps-serve.md --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * fix: label placement when the select has a placeholder or description (#4126) * ci(changesets): version packages (beta) (#4107) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(deps): add missing `framer-motion` in `peerDependencies` (#4140) * fix(theme): add truncate class to the list item to avoid overflow the wrapper (#4105) * fix(docs): invalid canary storybook link (#4030) * fix: menu item hidden overflow text * feat: changeset * Merge branch 'beta/release-next' into fix/menu-item-hidden * fix: truncate list item * feat: update changeset * fix(menu): omit internal props --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * Update apps/docs/content/docs/components/textarea.mdx * feat(table): add isKeyboardNavigationDisabled prop to the table (#3735) Co-authored-by: Maharshi Alpesh <[email protected]> * feat: add form component (#3036) * chore: add support validationBehavior aria * chore: add validationBehavior to Provider * chore: add autocomplete validation test * chore: add checkbox validation test * fix(input): require condition * docs: add description of validationBehavior props * chore: add support validationBehavior props for date components * docs(dates): add description of validationBehavior props * chore: add changeset * chore: format * chore: fix test * fix: select validationBehavior is not support yet * fix: select validationBehavior not supported yet * feat: add form component with input support * feat: add support form context * chore: wip add support for form server errors * chore: add support checkbox server validation * chore: add support radio server validation * chore: update pnpm-lock.yaml * chore: add support input server validation * chore: add support autocomplete server validation * chore(form): add server validation stories * chore: fix test * chore: add date-picker validation test * chore: update form stories * chore: add changeset * chore: update react-aria version * chore: add pnpm-lock.yaml * chore: update react-aria version * chore: add comment * chore: update react-aria version * chore: fix change set * chore: export form component in the main package * chore: upgrade react-aria * chore: fixed internationalized/date version * fix: build error * chore: upgrade docs react-aria version * fix: remove comment * fix: debug setting * chore(docs): update sponsor (#3904) * chore(docs): remove Scrumbuiss * chore(docs): remove Scrumbuiss logo * chore(docs): replace va by posthog (#4123) * chore(changeset): change to patch * refactor: react-aria-components remove to decrease package size, logic moved to the form package --------- Co-authored-by: Junior Garcia <[email protected]> Co-authored-by: WK Wong <[email protected]> * docs: add forms guide (#4155) Co-authored-by: Ryo Matsukawa <[email protected]> * chore: routes updated * ci(changesets): version packages (beta) (#4151) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: fix indentation * fix(changeset): package not be found * ci(changesets): version packages (beta) (#4158) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(select): controlled isInvalid prop (#4082) * fix(select): controlled isInvalid prop * chore: add changeset * Merge branch 'beta/release-next' into pr/4082 --------- Co-authored-by: WK Wong <[email protected]> * ci(changesets): version packages (beta) (#4159) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore(changeset): bump all versions * ci(changesets): version packages (beta) (#4160) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(deps): missing peer / dev dependency for framer-motion (#4161) * fix(system): align `navigate` function parameters with `@react-aria` (#4163) * fix: menu item classNames not work (#4156) * fix: menu item classNames not work * feat: changeset * docs: update * feat: merge classes utility added * Update .changeset/brave-trains-wave.md --------- Co-authored-by: WK Wong <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * chore(docs): remove incorrect info * ci(changesets): version packages (beta) (#4162) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * refactor(docs): overall dx (#4055) * refactor(docs): revise code block (#3922) * refactor(docs): revise code block * chore(docs): resolve pr comments * refactor(docs): autocomplete dx (#3934) * feat(docs): add *.js?raw module * feat(docs): change to react-jsx and add **/*.js * chore(root): include js and jsx * refactor(docs): autocomplete dx * chore(docs): rollback overrides * chore(autocomplete): lint * fix(autocomplete): incorrect import path * fix(docs): autocomplete dx * chore(docs): remove highlightedLines * refactor(docs): breadcrumbs dx (#3968) * refactor(docs): breadcrumbs dx * fix(docs): export issue * chore(docs): use preserve for jsx * fix(docs): support multiline import * fix(docs): support multiple export * chore(docs): add back export * refactor(docs): avatar dx (#3951) * refactor(docs): badge dx (#3960) * refactor(docs): badge dx * chore(docs): incorrect import path * refactor(docs): button dx (#3981) * refactor(docs): calendar dx (#4022) * refactor(docs): calendar dx * fix(docs): incorrect import path * refactor(docs): switch dx (#4037) * refactor(docs): switch dx * chore(docs): remove highlightedLines * refactor(docs): tooltip (#4035) * refactor(docs): usage dx (#4036) * refactor(docs): circular-progress dx (#4029) * refactor(docs): chip-dx (#4028) * refactor(docs): checkbox-group dx (#4027) * refactor(docs): checkbox dx (#4024) * refactor(docs): checkbox dx * fix(docs): incorrect import path * refactor(docs): card dx (#4023) * refactor(docs): skeleton dx (#4042) * refactor(docs): spacer dx (#4043) * refactor(docs): snippet dx (#4044) * refactor(docs): scroll-shadow dx (#4045) * refactor(docs): code dx (#4046) * refactor(docs): kbd dx (#4047) * refactor(docs): link dx (#4048) * refactor(docs): progress dx (#4049) * refactor(docs): divider dx (#4050) * refactor(docs): listbox dx (#4051) * refactor(docs): listbox dx * fix(docs): import path * fix(docs): import path * chore(docs): remove highlightedLines * fix(docs): indentation * chore(docs): replace the props of autocomplete from value to key (#4129) * refactor(docs): alert dx (#4108) * refactor(docs): alert dx * refactor(docs): alert dx * refactor(docs): image dx (#4061) * refactor(docs): textarea dx (#4063) * refactor(docs): spinner dx (#4088) * refactor(docs): radio-group dx (#4064) * refactor(docs): pagination dx (#4062) * refactor(docs): pagination dx * refactor(docs): pagination dx * refactor(docs): time-input dx (#4065) * refactor(docs): time-input dx * refactor(docs): time-input dx * refactor(docs): slider dx (#4066) * refactor(docs): slider dx * refactor(docs): slider dx * refactor(docs): move SliderValue to type * refactor(docs): slider dx * refactor(docs): make icon code collapsible * refactor(docs): specify versions for date packages (#4138) * refactor(docs): specify versions for date packages * fix(docs): correct RA i18n version * chore(deps): sync version from package * refactor(docs): tabs dx (#4067) * refactor(docs): tab dx * refactor(docs): tabs dx * refactor(docs): input dx (#4102) * refactor(docs): input dx * refactor(docs): input dx * refactor(docs): navbar dx (#4076) * refactor(docs): navbar dx * refactor(docs): navbar dx * refactor(docs): navbar dx * refactor(docs): modal dx (#4077) * refactor(docs): modal dx * refactor(docs): modal dx * refactor(docs): select dx (#4078) * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): table dx (#4079) * refactor(docs): table dx * fix(docs): import path * refactor(docs): table dx * refactor(docs): table dx * refactor(docs): popover dx (#4090) * refactor(docs): range-calendar dx (#4089) * refactor(docs): range-calendar dx * fix(docs): import path * refactor(docs): date input dx (#4100) * refactor(docs): dropdown dx (#4101) * refactor(docs): dropdown dx * refactor(docs): remove highlightedLines * refactor(docs): dropdown dx * refactor(docs): dropdown dx * refactor(docs): date-picker dx (#4103) * refactor(docs): date-picker dx * fix(docs): import paths * refactor(docs): date-range-picker dx (#4104) * refactor(docs): date-range-picker dx * fix(docs): date-range-picker dx * refactor(docs): drawer dx (#4109) * refactor(docs): drawer dx * fix(docs): indentation * refactor(docs): make icon collapsible --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Ryo Matsukawa <[email protected]> * Merge branch 'beta/release-next' into pr/3477 * refactor(docs): apply new structure to doc * feat(input-otp): introduce input OTP component (#4052) * feat(input-otp): adding the functionality * fix(input-otp): making the use of input-otp library * Update .changeset/spotty-flies-jump.md * chore(input-otp): nits * feat: improvements and fixes added * refactor: input-otp docs improvements * fix: changeset * fix: build --------- Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * ci(changesets): version packages (beta) (#4169) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * refactor(theme): revise label font size for lg (#4141) * refactor(theme): revise label font size for lg * chore(changeset): add changeset * refactor(theme): revise label font size for lg * fix(docs): typecheck errors (#4171) * fix(docs): remove duplicate import * fix(docs): update type for onChange in range-calendar page * fix(docs): add missing `@react-types/calendar` * fix(docs): broken syntax * fix(docs): typecheck issues * fix(docs): add missing `@react-types/datepicker` * fix(docs): typecheck issues * fix: missing li tag when href is specified (#4168) * fix(items): items in list should wrapped in li in case of a * chore: adding the tests * fix: textarea issues with the clear button * chore: adjust clear button position --------- Co-authored-by: doki- <[email protected]> Co-authored-by: WK Wong <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Mustafa Balcı <[email protected]> Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: Vincentius Roger Kuswara <[email protected]> Co-authored-by: Ryo Matsukawa <[email protected]> Co-authored-by: winches <[email protected]> Co-authored-by: Tianen Pang <[email protected]> Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: chirokas <[email protected]> * ci(changesets): version packages (beta) (#4170) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * docs: sync api from nextui-cli v0.3.5 (#4173) Co-authored-by: GitHub Action <[email protected]> * ci(changesets): exit pre-release mode --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: աӄա <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Mustafa Balcı <[email protected]> Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: Vincentius Roger Kuswara <[email protected]> Co-authored-by: Ryo Matsukawa <[email protected]> Co-authored-by: winches <[email protected]> Co-authored-by: Tianen Pang <[email protected]> Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: chirokas <[email protected]> Co-authored-by: doki- <[email protected]> Co-authored-by: GitHub Action <[email protected]> * fix: pre release workflow on protected branches (#4174) * chore(pre-release): enter pre-release mode (#4175) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * fix: input otp peer deps (#4176) * chore: update workflows * chore: pre release workflow modified (#4177) * chore: canary versions (#4178) * fix: pre-release workflow (#4179) * chore: merged with beta branch * chore: workflow updated * ci(changesets): version packages * fix: changeset get github info * chore: force canary to release (#4180) * Feat/canary release (#4181) * chore: force canary to release * feat: canary release * ci(changesets): version packages * ci(changesets): version packages * fix: exit pre-release mode * fix: exit pre-release mode * fix: exit pre-release mode * fix: exit pre-release mode * fix: exit pre-release mode * chore: exit pre release mode * fix(workflows): release & pre-release flow (#4184) * chore: revert exit and enter pre release changes * chore: canary release test (#4185) * chore: update exit and enter workflows * chore: update workflow name * fix: exit pre-release mode * fix: exit pre-release mode * chore: delete pre file * chore: remove duplicate changesets * chore: base branch change to canary, changeset config * refactor: beta tags manually deleted (#4187) * fix: install * fix: peer deps (#4188) * Fix/peer deps (#4189) * fix: peer deps * fix: tests * fix: routes * chore(docs): revise defaultShowFlagList (#4193) * chore(docs): add Example to defaultShowFlagList * chore(docs): revise defaultShowFlagList * feat: documentation improvements (#4195) * feat: documentation improvements * fix: alert api * Feat/doc improvements (#4196) * feat: documentation improvements * fix: alert api * fix: copy button * fix: return in card demo * Fix/react core pkg (#4204) * fix: double use client tag import in react core package * fix: double use client * chore: restore postbuild script * docs: optimize code fold (#4202) * docs: optimize code fold * fix: code review * fix(input): teaxtarea label squish (#4197) * fix(input): teaxtarea label squish * chore(changeset): add changeset for textarea label fix * chore: remove customer runner * chore: rename changeset * chore: increase timeout * chore: change get info pkg version * chore: new changeset * chore: single chnageset * chore: consolidated changeset * chore: consolidated changeset * Update release.yaml (#4205) * chore: consolidated changeset * fix: forwardRef render functions not using ref (#4198) * fix: forwardRef render functions not using ref * fix: changelog * fix: review * fix: forwardRef render functions not using ref * docs: update changeset * feat(listbox): virtualization (#4206) * fix: should not export list item internal variables type * feat: changeset * fix: type error * fix: code block type error * feat: virtualization feature, docs for listbox * chore: update routes.json * fix: fix code-demo for typecheck * chore: rollback for files * chore: props omitted in the component itself * fix: menu item types * fix: tupecheck --------- Co-authored-by: winches <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * feat(select): virtualization (#4203) * fix: should not export list item internal variables type * feat: changeset * feat: integrate virtualized listbox to select component, add more props * feat: update docs for select component * feat: update docs to include API for virtualization * fix: update docs to follow the newest format * fix: update test for disable virtualization, add test for virtualized version * fix: fix typo * fix: type error * fix: code block type error * chore: update docs to use raw jsx instead of template literal * fix: fix code-demo for typecheck * chore: rollback for files * fix: types * chore: remove caret version on tanstack virtual pkg * fix: pnpm lock file * fix: virtualization examples * fix: number of items --------- Co-authored-by: winches <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * chore: adjust code colors * fix: collection based components ref (#4207) * chore: documentation adjustments * Update data-slot for the error message in the select. (#4214) * Update data-slot for the error message in the select. All components use the `data-slot="error-message"` attribute, except for the select component. I observed this behavior when a test in my application started failing. * refactor(select): refactors the data-slots attribute for the error message * fix(docs): types for classNames and itemClasses (#4209) * feat: documentation improvements * chore: more improvements to the docs, routing updated, acccordiong font size change * feat: forms doc in progress * fix(touch): fixing the selection functionality on touch (#4220) * fix(touch): fixing the selection functionality on touch * fix: radio, checkbox & switch interactions --------- Co-authored-by: Junior Garcia <[email protected]> * chore(docs): remove non-existing attribute (#4221) * fix(select): hideEmptyContent API (#4219) * fix(select): hideEmptyContent API * test(select): hideEmptyContent tests * docs(select): hideEmptyContent API * chore(select): hideEmptyContent storybook * chore(changeset): add hideEmptyContent API to select * refactor(select): hideEmptyContent nitpick * test(select): hideEmptyContent UI assertions * fix(select): hideEmptyContent default false * docs(select): hideEmptyContent default false * fix(pagination): cursor position when hidden on init (#4222) * fix(pagination): cusor position when hidden on init * test(pagination): cursor intersection observer * chore(changeset): pagination cursor position fix * refactor(pagination): minor nitpicks - check for null ref in usePagination - restore original IntersectionObserver in test * fix: form fixes and improvements (#4224) * chore: form in progress * chore: main demo addded to forms, checkbox validation fixed * chore: forms docs improved * fix(deps): bump `@react-aria/utils` version (#4226) * fix(deps): bump `@react-aria/utils` version * chore(changeset): add changeset * feat: forms doc completed * chore: form component doc created * chore: forms doc improved * chore: doc improvements * chore: alert doc improved * feat: nextjs 15 migration in progress * feat: nextjs 15 migration [docs] (#4228) * feat: nextjs 15 migration in progress * feat: next 15 downgraded to next 14 * fix: migration errors * feat: codeblog is now rendered only when visible, this made a huge performance improvement * fix: remove folding * feat: v2.6.0 blog * feat: Adding nextui pro section on the landing page (#4227) * feat: adding nextui pro section on the landing page * chore(nits): nits * fix: remove pro image on mobile --------- Co-authored-by: Junior Garcia <[email protected]> * fix(docs): prevent scrolling up on pressing theme change switch (#4233) * chore: improve v2.6.0 blog * chore: small improvements * chore: improve blog * ci(changesets): version packages (#4186) Co-authored-by: Junior Garcia <[email protected]> * fix: snippet release (#4235) * ci(changesets): version packages (#4236) Co-authored-by: Junior Garcia <[email protected]> * chore: v2.6.2 * ci(changesets): version packages (#4237) Co-authored-by: Junior Garcia <[email protected]> * fix: draggable modal demo * fix: v2.6 blog * chore: adjust blog * chore: release notes link updated * fix: v2.6.0 (#4247) * fix: v2.6.…
* fix(input): ensure clear button is not focusable when disabled (#3774) * fix(input): ensure clear button is not focusable when disabled * test(input): add test to ensure clear button is not focusable when disabled * chore: add changeset for clear button focus fix when input is disabled * fix(input): update clear button to use button element * test(input): add focus test when disabled and update tests for clear button using button element * test(input): replace querySelector with getByRole for clear button * fix(input): set tabIndex to -1 for clear button * test(input): ensure clear button is not focusable * fix(image): add missing `w` to `getWrapperProps` dependency (#3802) * fix(image): add missing `w` to `getWrapperProps` dependency * chore(changeset): add changeset * fix(autocomplete): popover should remain open after clicking clear button (#3788) * fix: add state.open() so that dropdown is not closed * chore: add changeset * chore(autocomplete): add testcases for keeping lisbox open when clearButton is clicked * chore: update changeset * chore(autocomplete): change the docs for test cases * chore(changeset): update changeset message and add issue number --------- Co-authored-by: WK Wong <[email protected]> * refactor(docs): example of blurred card (#3741) * docs(card): adding info regarding the gradient for blurred card * chore(nit): adding example * chore(docs): revise content for card isBlurred example * chore(docs): revise isBlurred note --------- Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: WK Wong <[email protected]> * fix(docs): replace twitter logo/links with x logo/links (#3815) * fix(docs): replace Twitter logo/links with X logo/links * docs: update twitter references to x * docs: update changeset for twitter to x changes * docs: update twitter references to x * docs: update twitter references to x * chore(docs): undo .sponsorsrc since it's generated * refactor(docs): remove unnecessary classes * chore(docs): undo .sponsorsrc since it's generated --------- Co-authored-by: WK Wong <[email protected]> * fix(date-picker): adding props from calendarProps to getCalendarProps (#3773) * fix(date-picker): adding props from calendarProps to the getCalendarProps * chore(date-picker): adding the changeset * chore(changeset): add issue number --------- Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: WK Wong <[email protected]> * feat(autocomplete): automatically focus first non-disabled item (#2186) Co-authored-by: WK Wong <[email protected]> * docs(accordion): add overflow to custom motion example (#3793) * fix(docs): typos in dark mode page (#3823) * fix(theme): fullWidth in input and select (#3768) * fix(input): fixing the fullWidth functionality * chore(changeset): add issue number * chore(changeset): revise changeset message --------- Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: WK Wong <[email protected]> * fix(autocomplete): exit animation on popover close (#3845) * fix(autocomplete): exit animation on popover close * refactor(autocomplete): getListBoxProps --------- Co-authored-by: WK Wong <[email protected]> * refactor(theme): replace the use of RTL-specific styles with logical properties (#3868) * chore(rtl): remove the usages of rtl * chore(changeset): adding the changeset * chore(changeset): update changeset message --------- Co-authored-by: WK Wong <[email protected]> * fix(select): label placement discrepancy in Select (#3853) * fix(select): label placement incorrect in case of multiline * chore(select): adding the changeset * chore(select): adding the tests * chore(select): code imrovement, wkw's suggestions * chore(changeset): update changeset message --------- Co-authored-by: WK Wong <[email protected]> * fix(theme): label placement in select and input (#3869) * fix(theme): fix the label placement * chore(changeset): adding the changeset * chore(select): adding comments * fix(docs): avoid translating the code block (#3878) * docs(Codeblock): avoid code be translated * fix(docs): lint issue --------- Co-authored-by: WK Wong <[email protected]> * fix(listbox): change listBoxItem key to optional (#3883) * fix(listbox): listBoxItem key to optional * chore: add defaultSelectedKeys test for numeric keys and ids * chore: add changeset * chore: comment out section prompts in PR template (#3884) * chore(test): update testing libraries and refactor (#3886) * fix(theme): show margin only with label in Switch component (#3861) * fix(switch): removed right margin in wrapper #3791 * feat(changeset): added changeset * fix(switch): removed me-2 in wrapper * fix(switch): added ms-2 to label * chore(changeset): correct package and message --------- Co-authored-by: WK Wong <[email protected]> * fix(theme): removed pseudo cancel btn from input (#3912) * fix(theme): removed pseudo cancel btn from input * chore(changeset): adding the changeset * fix(input): conditionally hiding the webkit search * chore(changeset): revise changeset message --------- Co-authored-by: WK Wong <[email protected]> * refactor(docs): dx improvement in accordion (#3856) * refactor: improve dx for writing a docs component (#2544) * refactor: improve dx for write a docs component Signed-off-by: Innei <[email protected]> * refactor(docs): switch to contentlayer2 * chore(docs): rename to avoid conflict * refactor(docs): switch to next-contentlayer2 * refactor(docs): revise docs lib * chore(deps): bump docs related dependencies * fix(use-aria-multiselect): type issue due to ts version bump --------- Signed-off-by: Innei <[email protected]> Co-authored-by: WK Wong <[email protected]> * refactor(docs): accordion codes * feat(docs): declare module `*.jsx?raw` * feat(docs): include `**/*.jsx` * fix(docs): incorrect content * chore(docs): add new lines * refactor(docs): lint --------- Signed-off-by: Innei <[email protected]> Co-authored-by: Innei <[email protected]> * fix(docs): typos in hero section (#3928) * fix(theme): support RTL for breadcrumbs (#3927) * fix(breadcrumbs): added separator rotation for RTL #2486 * chore(changeset): added changeset * fix(docs): removed unused import and merged classNames in dropdown (#3936) * fix(breadcrumbs): added separator rotation for RTL #2486 * chore(changeset): added changeset * fix(docs): removed unused Link import and merged classnames in dropdown * fix: avatar filter disableAnimation to dom prop (#3946) * feat: add git hook to auto update dependencies (#3365) * feat: add git hook to auto update dependencies * feat: update color * fix: prevent test matcher warning (#3893) * fix: prevent test matcher warning * chore: add node types * chore: update Jest related packages * chore: run pnpm install * fix(tabs): correct inert value for true condition (#3978) * Alert component (#3982) * feat(alert): began the work on alert component * fix(readme): making correction * chore(deps): change to 2.0.0 * chore(docs): update README.md * feat(theme): init alert tv * chore(alert): update package.json * feat(alert): init alert storybook structure * chore(changeset): add changeset * chore(changeset): change to minor * chore(alert): revise alert package.json * feat(alert): init test structure * chore(deps): pnpm-lock.yaml * feat(alert): initailized theme and basic structure * feat(alert): completed use-alert.ts and alert.tsx * feat(alert): remove innerWrapper, replace helperWrapper with mainWrapper, adding isCloseable prop * feat(alert): adding isCloseable prop to baseWrapper dependency * feat(alert): setting the default value of isCloseable prop to true * feat(alert): moving CloseIcon inside the button * feat(alert): updated package.json * feat(alert): default variant and default story * feat(alert): adding color and radius stories * feat(alert): completed the styling * feat(alert): add stories for isCloseable prop and restyle other stories * feat(alert): correcting ref type * feat(alert): add test cases * feat(alert): remove startContent and endContent props * feat(alert): make styling more accurate * feat(alert): fixed default props * feat(alert): fixed theme docs * feat(alert): add logic for icons * feat(alert): begin to add docs * chore(alert): implement the changes suggested in code review * feat(alert): add onclose prop to alert * feat(alert): add test cases * docs(alert): add onClose event * feat(docs): add alert to routes.json * fix(alert): correct the text colors * docs(alert): fix imports and syntax errors * chore(alert): implement the changes suggested in code review * chore(alert): lint the code and change isCloseable to isClosable * chore(alert): lint the code * chore(alert): run pnpm i * fix(alert): fix the logic for close button and add test case * docs(alert): fix docs, change isCloseable to isClosable and change docs for isClosable property * chore(alert): add the support for RTL, refactor the code and fix the typos * docs(alert): grammer issues fix * fix(alert): replace rtl with ms * chore(alert): custom style and custom implementation, remove isClosable={false}, refactor, fix typos * chore(alert): linting and implement coderabbit suggestions * chore(alert): refactor and typos fix * chore(alert): add import for closeIcon * chore(alert): add props for closeIcon * chore(alert): refactor fixes * chore(alert): implement ryo-manba's suggestion on close Icon * chore(alert): make alert more responsive * chore(alert): fix grammer issues suggested by coderabbit * fix(alert): add max-w property to make alert responsive * chore(alert): improve responsiveness and refactor alertIcon * chore(alert): add missing dependency to useMemo * chore(alert): implement coderabbit's suggestions * chore(alert): update docs and refactor * chore(alert): refactor alertIcon and implement coderabbit's suggestion * chore: fixes --------- Co-authored-by: Abhinav Agarwal <[email protected]> Co-authored-by: WK Wong <[email protected]> Co-authored-by: Abhinav Agarwal <[email protected]> * Feat/add draggable modal (#3983) * feat(hooks): add use-draggable hook * feat(components): [modal] export use-draggable * docs(components): [modal] add draggable modal * feat(components): [modal] add ref prop for modal-header * chore(components): [modal] add draggable modal for storybook * chore: add changeset for draggable modal * docs(hooks): [use-draggable] fix typo * chore: upper changeset * chore(components): [modal] add overflow draggable modal to sb * test(components): [modal] add draggable modal tests * build: update pnpm-lock * chore(changeset): include issue number * feat(hooks): [use-draggable] set user-select to none when during the dragging * docs(components): [modal] update code demo title * docs(components): [modal] condense description for draggable overflow * feat(hooks): [use-draggable] change version to 0.1.0 * refactor(hooks): [use-draggable] use use-move implement use-draggable * feat(hooks): [use-draggable] remove repeated user-select * test(components): [modal] update test case to use-draggable base use-move * docs(components): [modal] update draggable examples * fix(hooks): [use-draggable] fix mobile device touchmove event conflict * refactor(hooks): [use-draggable] remove drag ref prop * refactor(hooks): [use-draggable] draggable2is-disabled overflow2can-overflow * test(components): [modal] add draggble disable test * chore(hooks): [use-draggable] add commant for body touchmove * Update packages/hooks/use-draggable/src/index.ts Co-authored-by: Ryo Matsukawa <[email protected]> * fix(hooks): [use-draggable] import use-callback * test(components): [modal] add mobile-sized test for draggable * chore(hooks): [use-draggable] add use-callback for func * chore(hooks): [use-draggable] update version to 2.0.0 * chore: fix typo * Update .changeset/soft-apricots-sleep.md * fix: pnpm lock * fix: build * chore: add updated moadl --------- Co-authored-by: wzc520pyfm <[email protected]> Co-authored-by: աɨռɢӄաօռɢ <[email protected]> Co-authored-by: Ryo Matsukawa <[email protected]> * chore: upgrade react-aria / React 19 & Next.js 15 support (#3732) * chore: upgrade react-aria * chore: add changeset * chore: fix type error --------- Co-authored-by: Junior Garcia <[email protected]> * feat(date-picker): add selectorButtonPlacement property (#3248) * feat(date-picker): add selectorButtonPlacement property * chore: update changeset * Update .changeset/neat-donkeys-accept.md Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --------- Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> Co-authored-by: Junior Garcia <[email protected]> * feat: add tab ref (#3974) * feat: add tab ref * feat: add changeset * feat: pre-release workflow (#2910) * feat(workflow): pre-release * feat(workflow): exit pre-release * chore(workflow): update version & publish commands * fix(workflow): add missing attributes and use schangeset:beta cmd * feat(root): add changeset:beta * fix(workflows): revise pre-release logic * fix(workflows): add missing run * fix(workflows): use changeset:exit with version instead * feat(root): add changeset:exit cmd * refactor(workflows): add pths, id, and format * feat(workflows): enter pre-release mode * chore(workflows): remove pre.json only * refactor(workflows): remove enter-pre-release-mode * fix(workflows): incorrect url * refactor(root): remove unused exit command * refactor(workflows): add comments * feat(changeset): change to main branch as baseBranch * feat(root): add changeset:canary * refactor(workflows): remove unused workflow * feat(workflow): support canary pre-release mode * refactor(docs): change to canary * feat(popover): added control for closing popover on scroll (#3595) * fix(navbar): fixed the height when style h-full * fix(navbar): fixed the height when style h-full * docs(changeset): resolved extra file * feat(popover): added control for closing popover on scroll * update(changeset): correction * feat(popover): removed extra story * refactor(test): corrected test for both true and false values of shouldCloseOnScroll * refactor(docs): added shouldCloseOnScroll prop * chore(changeset): change to minor --------- Co-authored-by: աӄա <[email protected]> * feat: add month and year pickers to DateRangePicker and RangeCalendar (#3302) * feat: add month and year pickers to DateRangePicker and RangeCalendar * chore: update docs * Update .changeset/kind-cobras-travel.md * chore: react package version --------- Co-authored-by: Junior Garcia <[email protected]> * chore(deps): bump tailwind-merge version (#3657) * chore(deps): bump tailwind-merge versions * chore(theme): adopt latest extendTailwindMerge * chore(changeset): add changeset * chore(changeset): change to minor * Update .changeset/grumpy-mayflies-rhyme.md --------- Co-authored-by: Junior Garcia <[email protected]> * feat: added drawer component (#3986) Signed-off-by: The1111mp <[email protected]> Co-authored-by: The1111mp <[email protected]> * refactor: optimisations (#3523) * refactor: replace lodash with native approaches * refactor(deps): update framer-motion versions * feat(utilities): add @nextui-org/dom-animation * refactor(components): load domAnimation dynamically * refactor(deps): add @nextui-org/dom-animation * fix(utilities): relocate index.ts * feat(changeset): framer motion optimization * chore(deps): bump framer-motion version * fix(docs): conflict issue * refactor(hooks): remove the unnecessary this aliasing * refactor(utilities): remove the unnecessary this aliasing * chore(docs): remove {} so that it won't be true all the time * chore(dom-animation): end with new line * refactor(hooks): use debounce from `@nextui-org/shared-utils` * chore(deps): add `@nextui-org/shared-utils` * refactor: move mapKeys logic to `@nextui-org/shared-utils` * refactor: use `get` from `@nextui-org/shared-utils` * refactor(docs): use `get` from `@nextui-org/shared-utils` * refactor(shared-utils): mapKeys * chore(deps): bump framer-motion version * chore(deps): remove lodash * refactor(docs): use intersectionBy from shared-utils * feat(shared-utils): add intersectionBy * chore(dom-animation): remove extra blank line * refactor(shared-utils): revise intersectionBy * fix(modal): add willChange * refactor(shared-utils): add comments * fix: build & tests --------- Co-authored-by: Junior Garcia <[email protected]> * feat(hooks): use-theme hook (#3169) * feat(docs): update dark mode content * feat(hooks): @nextui-org/use-theme * chore(docs): revise ThemeSwitcher code * refactor(hooks): simplify useTheme and support custom theme names * feat(hooks): add use-theme test cases * feat(changeset): add changeset * refactor(hooks): make localStorageMock globally and clear before each test * fix(docs): typo * fix(hooks): coderabbitai comments * chore(hooks): remove unnecessary + * chore(changeset): change to minor * feat(hooks): handle system theme * chore(hooks): add EOL * refactor(hooks): add default theme * refactor(hooks): revise useTheme * refactor(hooks): resolve pr comments * refactor(hooks): resolve pr comments * refactor(hooks): resolve pr comments * refactor(hooks): remove unused theme in dependency array * chore(docs): typos * refactor(hooks): mark system as key for system theme * chore: merged with canary --------- Co-authored-by: Junior Garcia <[email protected]> * Fix/avatar flashing (#3987) * fix(use-image): cached image flashing * chore: merged with canary --------- Co-authored-by: Rakha Kanz Kautsar <[email protected]> * refactor(menu): Use `useMenu` and `useMenuItem` from RA (#3261) * refactor(menu): use useMenu from react-aria instead * refactor(menu): use useMenuItem from react-aria instead * feat(changeset): add changeset * chore: merged with canary * fix: dropdown tests --------- Co-authored-by: Junior Garcia <[email protected]> * fix(theme): added stripe color gradients for progress (#3938) * fix(breadcrumbs): added separator rotation for RTL #2486 * chore(changeset): added changeset * fix(docs): removed unused Link import and merged classnames in dropdown * fix(theme):added stripe color gradients for progress #1933 * refactor(theme): added stripe-size and createStripeGradient * chore: add all minor releases * fix(docs): invalid canary storybook link (#4030) * fix(use-image): image ReferenceError in SSR (#4122) * fix(use-image): image ReferenceError in SSR * fix(use-image): sync with beta * fix(use-image): sync with beta * chore(use-image): remove unnecessary comments * fix(docs): buildLocation expects an object (#4118) * fix(docs): routing.mdx * Delete .changeset/pre.json * chore(docs): update yarn installation command (#4132) There is no `-g` flag in yarn. `global` is a command which must immediately follow yarn. Source: https://classic.yarnpkg.com/lang/en/docs/cli/global/ * chore: upgrade storybook 8 (#4124) * feat: upgrade storybook8 * chore: upgrade storybook and vite * chore: remove @mdx-js/react optimizeDep * chore: add @mdx-js/react optimizeDep * fix: format * docs: add forms guide (#3822) * v2.5.0 [BETA] (#4164) * chore(pre-release): enter pre-release mode * fix(theme): apply tw nested group (#3909) * chore(changset): add changeset * fix(theme): apply nested group to table * chore(docs): update table bottomContent code * fix: changeset * fix: changeset * fix: changeset * fix: changeset * fix: changeset * fix: pkg versions * fix: changeset * fix: drawer peer dep * chore: update plop components tempalte * ci(changesets): version packages (beta) (#3988) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: pre-release workflow * chore: debug log added * chore: force pre-release * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * chore: beta1 (#3990) * ci(changesets): version packages (beta) (#3991) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(use-image): image ReferenceError in SSR (#3993) * fix(input): fixed a sliding issue caused by the helper wrapper (#3966) * If it is false and there is an error message or description it will create a div * Update packages/components/input/src/input.tsx * Update packages/components/select/src/select.tsx * Update packages/components/input/src/textarea.tsx * add changeset * changeset update * ci(changesets): version packages (beta) (#3995) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: image loading in the server (#3996) * fix: lock file * chore: force release * chore: force release 2 * ci(changesets): version packages (beta) (#3997) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: image load on next.js (#3998) * ci(changesets): version packages (beta) (#3999) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: element.ref was removed in React 19 warning (#4003) * ci(changesets): version packages (beta) (#4004) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: react 19 as peer dep (#4008) * ci(changesets): version packages (beta) (#4009) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Beta/react 19 support (#4010) * fix: react 19 as peer dep * fix: react 19 as peer dep * chore: support framer-motion alpha version * ci(changesets): version packages (beta) (#4011) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(theme): making select and input themes consistent (#3881) * ci(changesets): version packages (beta) (#4012) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: support inert value with boolean type for react 19 (#4039) * ci(changesets): version packages (beta) (#4041) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: alert design improved (#4054) * ci(changesets): version packages (beta) (#4056) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: drawer improvements (#4057) * ci(changesets): version packages (beta) (#4058) * feat: alert styles improved (#4071) * ci(changesets): version packages (beta) (#4072) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: alert styles improved (#4073) * ci(changesets): version packages (beta) (#4074) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: add number of stars and credits * chore: fix build * chore: improve navabr colors * chore: new changeset (#4083) * ci(changesets): version packages (beta) (#4084) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: pnpm cleaned (#4086) * ci(changesets): version packages (beta) (#4087) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: custom runnner added * chore: custom runner test (#4091) * Beta/custom runner (#4092) * chore: custom runner test * chore: custom runner test * chore: remove 2 from older changeset * ci(changesets): version packages (beta) (#4093) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: new demo added to alert * Feat/virtualization for autocomplete (#4094) * feat: add react-window virtualization for autocomplete * fix: wrong imports and wrong sizing * fix: update pnpm lock * chore: add test cases for large dataset (1000 and 10000 items) * chore: move virtualized-listbox to listbox components folder, implement isVirtualized conditional * feat: implement dynamic listboxheight n item height, add story * chore: rename props, remove unnecessary line changes * fix: maxHeight style 256px for default, conditional usage of virtualizer * feat: migrate to tan-stack virtual. (todo: fix scroll shadow) * feat: virtualization support --------- Co-authored-by: Vincentius Roger Kuswara <[email protected]> * ci(changesets): version packages (beta) (#4095) * feat: small fixes * feat: add reducedMotion setting to Provider (#3470) * feat: add reducedMotion setting to Provider * chore: refactor reducedMotion story * Update .changeset/pretty-parrots-guess.md --------- Co-authored-by: Junior Garcia <[email protected]> * ci(changesets): version packages (beta) (#4106) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: move circular-progress tv to progress (#3321) * fix: remove circular-progress tv to progress * docs: changeset * chore(changeset): update changeset message * Update .changeset/angry-maps-serve.md --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * fix: label placement when the select has a placeholder or description (#4126) * ci(changesets): version packages (beta) (#4107) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(deps): add missing `framer-motion` in `peerDependencies` (#4140) * fix(theme): add truncate class to the list item to avoid overflow the wrapper (#4105) * fix(docs): invalid canary storybook link (#4030) * fix: menu item hidden overflow text * feat: changeset * Merge branch 'beta/release-next' into fix/menu-item-hidden * fix: truncate list item * feat: update changeset * fix(menu): omit internal props --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * feat(table): add isKeyboardNavigationDisabled prop to the table (#3735) Co-authored-by: Maharshi Alpesh <[email protected]> * feat: add form component (#3036) * chore: add support validationBehavior aria * chore: add validationBehavior to Provider * chore: add autocomplete validation test * chore: add checkbox validation test * fix(input): require condition * docs: add description of validationBehavior props * chore: add support validationBehavior props for date components * docs(dates): add description of validationBehavior props * chore: add changeset * chore: format * chore: fix test * fix: select validationBehavior is not support yet * fix: select validationBehavior not supported yet * feat: add form component with input support * feat: add support form context * chore: wip add support for form server errors * chore: add support checkbox server validation * chore: add support radio server validation * chore: update pnpm-lock.yaml * chore: add support input server validation * chore: add support autocomplete server validation * chore(form): add server validation stories * chore: fix test * chore: add date-picker validation test * chore: update form stories * chore: add changeset * chore: update react-aria version * chore: add pnpm-lock.yaml * chore: update react-aria version * chore: add comment * chore: update react-aria version * chore: fix change set * chore: export form component in the main package * chore: upgrade react-aria * chore: fixed internationalized/date version * fix: build error * chore: upgrade docs react-aria version * fix: remove comment * fix: debug setting * chore(docs): update sponsor (#3904) * chore(docs): remove Scrumbuiss * chore(docs): remove Scrumbuiss logo * chore(docs): replace va by posthog (#4123) * chore(changeset): change to patch * refactor: react-aria-components remove to decrease package size, logic moved to the form package --------- Co-authored-by: Junior Garcia <[email protected]> Co-authored-by: WK Wong <[email protected]> * docs: add forms guide (#4155) Co-authored-by: Ryo Matsukawa <[email protected]> * chore: routes updated * ci(changesets): version packages (beta) (#4151) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: fix indentation * fix(changeset): package not be found * ci(changesets): version packages (beta) (#4158) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(select): controlled isInvalid prop (#4082) * fix(select): controlled isInvalid prop * chore: add changeset * Merge branch 'beta/release-next' into pr/4082 --------- Co-authored-by: WK Wong <[email protected]> * ci(changesets): version packages (beta) (#4159) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore(changeset): bump all versions * ci(changesets): version packages (beta) (#4160) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(deps): missing peer / dev dependency for framer-motion (#4161) * fix(system): align `navigate` function parameters with `@react-aria` (#4163) * fix: menu item classNames not work (#4156) * fix: menu item classNames not work * feat: changeset * docs: update * feat: merge classes utility added * Update .changeset/brave-trains-wave.md --------- Co-authored-by: WK Wong <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * chore(docs): remove incorrect info * ci(changesets): version packages (beta) (#4162) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * refactor(docs): overall dx (#4055) * refactor(docs): revise code block (#3922) * refactor(docs): revise code block * chore(docs): resolve pr comments * refactor(docs): autocomplete dx (#3934) * feat(docs): add *.js?raw module * feat(docs): change to react-jsx and add **/*.js * chore(root): include js and jsx * refactor(docs): autocomplete dx * chore(docs): rollback overrides * chore(autocomplete): lint * fix(autocomplete): incorrect import path * fix(docs): autocomplete dx * chore(docs): remove highlightedLines * refactor(docs): breadcrumbs dx (#3968) * refactor(docs): breadcrumbs dx * fix(docs): export issue * chore(docs): use preserve for jsx * fix(docs): support multiline import * fix(docs): support multiple export * chore(docs): add back export * refactor(docs): avatar dx (#3951) * refactor(docs): badge dx (#3960) * refactor(docs): badge dx * chore(docs): incorrect import path * refactor(docs): button dx (#3981) * refactor(docs): calendar dx (#4022) * refactor(docs): calendar dx * fix(docs): incorrect import path * refactor(docs): switch dx (#4037) * refactor(docs): switch dx * chore(docs): remove highlightedLines * refactor(docs): tooltip (#4035) * refactor(docs): usage dx (#4036) * refactor(docs): circular-progress dx (#4029) * refactor(docs): chip-dx (#4028) * refactor(docs): checkbox-group dx (#4027) * refactor(docs): checkbox dx (#4024) * refactor(docs): checkbox dx * fix(docs): incorrect import path * refactor(docs): card dx (#4023) * refactor(docs): skeleton dx (#4042) * refactor(docs): spacer dx (#4043) * refactor(docs): snippet dx (#4044) * refactor(docs): scroll-shadow dx (#4045) * refactor(docs): code dx (#4046) * refactor(docs): kbd dx (#4047) * refactor(docs): link dx (#4048) * refactor(docs): progress dx (#4049) * refactor(docs): divider dx (#4050) * refactor(docs): listbox dx (#4051) * refactor(docs): listbox dx * fix(docs): import path * fix(docs): import path * chore(docs): remove highlightedLines * fix(docs): indentation * chore(docs): replace the props of autocomplete from value to key (#4129) * refactor(docs): alert dx (#4108) * refactor(docs): alert dx * refactor(docs): alert dx * refactor(docs): image dx (#4061) * refactor(docs): textarea dx (#4063) * refactor(docs): spinner dx (#4088) * refactor(docs): radio-group dx (#4064) * refactor(docs): pagination dx (#4062) * refactor(docs): pagination dx * refactor(docs): pagination dx * refactor(docs): time-input dx (#4065) * refactor(docs): time-input dx * refactor(docs): time-input dx * refactor(docs): slider dx (#4066) * refactor(docs): slider dx * refactor(docs): slider dx * refactor(docs): move SliderValue to type * refactor(docs): slider dx * refactor(docs): make icon code collapsible * refactor(docs): specify versions for date packages (#4138) * refactor(docs): specify versions for date packages * fix(docs): correct RA i18n version * chore(deps): sync version from package * refactor(docs): tabs dx (#4067) * refactor(docs): tab dx * refactor(docs): tabs dx * refactor(docs): input dx (#4102) * refactor(docs): input dx * refactor(docs): input dx * refactor(docs): navbar dx (#4076) * refactor(docs): navbar dx * refactor(docs): navbar dx * refactor(docs): navbar dx * refactor(docs): modal dx (#4077) * refactor(docs): modal dx * refactor(docs): modal dx * refactor(docs): select dx (#4078) * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): table dx (#4079) * refactor(docs): table dx * fix(docs): import path * refactor(docs): table dx * refactor(docs): table dx * refactor(docs): popover dx (#4090) * refactor(docs): range-calendar dx (#4089) * refactor(docs): range-calendar dx * fix(docs): import path * refactor(docs): date input dx (#4100) * refactor(docs): dropdown dx (#4101) * refactor(docs): dropdown dx * refactor(docs): remove highlightedLines * refactor(docs): dropdown dx * refactor(docs): dropdown dx * refactor(docs): date-picker dx (#4103) * refactor(docs): date-picker dx * fix(docs): import paths * refactor(docs): date-range-picker dx (#4104) * refactor(docs): date-range-picker dx * fix(docs): date-range-picker dx * refactor(docs): drawer dx (#4109) * refactor(docs): drawer dx * fix(docs): indentation * refactor(docs): make icon collapsible --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Ryo Matsukawa <[email protected]> * feat(input-otp): introduce input OTP component (#4052) * feat(input-otp): adding the functionality * fix(input-otp): making the use of input-otp library * Update .changeset/spotty-flies-jump.md * chore(input-otp): nits * feat: improvements and fixes added * refactor: input-otp docs improvements * fix: changeset * fix: build --------- Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * ci(changesets): version packages (beta) (#4169) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * refactor(theme): revise label font size for lg (#4141) * refactor(theme): revise label font size for lg * chore(changeset): add changeset * refactor(theme): revise label font size for lg * fix(docs): typecheck errors (#4171) * fix(docs): remove duplicate import * fix(docs): update type for onChange in range-calendar page * fix(docs): add missing `@react-types/calendar` * fix(docs): broken syntax * fix(docs): typecheck issues * fix(docs): add missing `@react-types/datepicker` * fix(docs): typecheck issues * fix: missing li tag when href is specified (#4168) * fix(items): items in list should wrapped in li in case of a * chore: adding the tests * Feat/textarea add clear button (#4172) * feat(components): add clear button to the textarea component * docs(textarea): add test and changeset * feat(textarea): modify the changeset file * feat(textarea): add clear button to textarea * feat(textarea): add isClearable prop to textarea * docs(textarea): add documentation to textarea * docs(textarea): add documentation to textarea * feat(textarea): replace the textarea component clear icon and modify its location * feat(textarea): revise the clear button position * feat(textarea): revise the clear button structure * feat(textarea): revise the styles of clear button and textarea * feat(textarea): revise the styles of RTL case * feat(textarea): change the rtl to pe * feat(textarea): delete the px classname * chore(changeset): update package and message * test(textarea): add test case * feat(textarea): change the clear button structure * feat(textarea): optimized code * chore(textarea): update the changeset file * docs(textarea): add slots doc to textarea * chore(textarea): update peerDevpeerDependencies version * chore(textarea): add usecallback dep * Update .changeset/five-adults-protect.md * chore(pre-release): enter pre-release mode * feat(textarea): modify the clear button icon * fix(theme): apply tw nested group (#3909) * chore(changset): add changeset * fix(theme): apply nested group to table * chore(docs): update table bottomContent code * fix: changeset * fix: changeset * fix: changeset * fix: changeset * fix: changeset * fix: pkg versions * fix: changeset * fix: drawer peer dep * chore: update plop components tempalte * ci(changesets): version packages (beta) (#3988) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: pre-release workflow * chore: debug log added * chore: force pre-release * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * ci(changesets): version packages (beta) * chore: beta1 (#3990) * ci(changesets): version packages (beta) (#3991) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(use-image): image ReferenceError in SSR (#3993) * fix(input): fixed a sliding issue caused by the helper wrapper (#3966) * If it is false and there is an error message or description it will create a div * Update packages/components/input/src/input.tsx * Update packages/components/select/src/select.tsx * Update packages/components/input/src/textarea.tsx * add changeset * changeset update * ci(changesets): version packages (beta) (#3995) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: image loading in the server (#3996) * fix: lock file * chore: force release * chore: force release 2 * ci(changesets): version packages (beta) (#3997) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: image load on next.js (#3998) * ci(changesets): version packages (beta) (#3999) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: element.ref was removed in React 19 warning (#4003) * ci(changesets): version packages (beta) (#4004) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: react 19 as peer dep (#4008) * ci(changesets): version packages (beta) (#4009) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * Beta/react 19 support (#4010) * fix: react 19 as peer dep * fix: react 19 as peer dep * chore: support framer-motion alpha version * ci(changesets): version packages (beta) (#4011) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(theme): making select and input themes consistent (#3881) * ci(changesets): version packages (beta) (#4012) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(textarea): fix clearButton display * fix: support inert value with boolean type for react 19 (#4039) * ci(changesets): version packages (beta) (#4041) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: alert design improved (#4054) * ci(changesets): version packages (beta) (#4056) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: drawer improvements (#4057) * ci(changesets): version packages (beta) (#4058) * feat: alert styles improved (#4071) * ci(changesets): version packages (beta) (#4072) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: alert styles improved (#4073) * ci(changesets): version packages (beta) (#4074) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: add number of stars and credits * chore: fix build * chore: improve navabr colors * chore: new changeset (#4083) * ci(changesets): version packages (beta) (#4084) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: pnpm cleaned (#4086) * ci(changesets): version packages (beta) (#4087) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: custom runnner added * chore: custom runner test (#4091) * Beta/custom runner (#4092) * chore: custom runner test * chore: custom runner test * chore: remove 2 from older changeset * ci(changesets): version packages (beta) (#4093) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * feat: new demo added to alert * Feat/virtualization for autocomplete (#4094) * feat: add react-window virtualization for autocomplete * fix: wrong imports and wrong sizing * fix: update pnpm lock * chore: add test cases for large dataset (1000 and 10000 items) * chore: move virtualized-listbox to listbox components folder, implement isVirtualized conditional * feat: implement dynamic listboxheight n item height, add story * chore: rename props, remove unnecessary line changes * fix: maxHeight style 256px for default, conditional usage of virtualizer * feat: migrate to tan-stack virtual. (todo: fix scroll shadow) * feat: virtualization support --------- Co-authored-by: Vincentius Roger Kuswara <[email protected]> * ci(changesets): version packages (beta) (#4095) * feat: small fixes * feat: add reducedMotion setting to Provider (#3470) * feat: add reducedMotion setting to Provider * chore: refactor reducedMotion story * Update .changeset/pretty-parrots-guess.md --------- Co-authored-by: Junior Garcia <[email protected]> * ci(changesets): version packages (beta) (#4106) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix: move circular-progress tv to progress (#3321) * fix: remove circular-progress tv to progress * docs: changeset * chore(changeset): update changeset message * Update .changeset/angry-maps-serve.md --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * fix: label placement when the select has a placeholder or description (#4126) * ci(changesets): version packages (beta) (#4107) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(deps): add missing `framer-motion` in `peerDependencies` (#4140) * fix(theme): add truncate class to the list item to avoid overflow the wrapper (#4105) * fix(docs): invalid canary storybook link (#4030) * fix: menu item hidden overflow text * feat: changeset * Merge branch 'beta/release-next' into fix/menu-item-hidden * fix: truncate list item * feat: update changeset * fix(menu): omit internal props --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * Update apps/docs/content/docs/components/textarea.mdx * feat(table): add isKeyboardNavigationDisabled prop to the table (#3735) Co-authored-by: Maharshi Alpesh <[email protected]> * feat: add form component (#3036) * chore: add support validationBehavior aria * chore: add validationBehavior to Provider * chore: add autocomplete validation test * chore: add checkbox validation test * fix(input): require condition * docs: add description of validationBehavior props * chore: add support validationBehavior props for date components * docs(dates): add description of validationBehavior props * chore: add changeset * chore: format * chore: fix test * fix: select validationBehavior is not support yet * fix: select validationBehavior not supported yet * feat: add form component with input support * feat: add support form context * chore: wip add support for form server errors * chore: add support checkbox server validation * chore: add support radio server validation * chore: update pnpm-lock.yaml * chore: add support input server validation * chore: add support autocomplete server validation * chore(form): add server validation stories * chore: fix test * chore: add date-picker validation test * chore: update form stories * chore: add changeset * chore: update react-aria version * chore: add pnpm-lock.yaml * chore: update react-aria version * chore: add comment * chore: update react-aria version * chore: fix change set * chore: export form component in the main package * chore: upgrade react-aria * chore: fixed internationalized/date version * fix: build error * chore: upgrade docs react-aria version * fix: remove comment * fix: debug setting * chore(docs): update sponsor (#3904) * chore(docs): remove Scrumbuiss * chore(docs): remove Scrumbuiss logo * chore(docs): replace va by posthog (#4123) * chore(changeset): change to patch * refactor: react-aria-components remove to decrease package size, logic moved to the form package --------- Co-authored-by: Junior Garcia <[email protected]> Co-authored-by: WK Wong <[email protected]> * docs: add forms guide (#4155) Co-authored-by: Ryo Matsukawa <[email protected]> * chore: routes updated * ci(changesets): version packages (beta) (#4151) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore: fix indentation * fix(changeset): package not be found * ci(changesets): version packages (beta) (#4158) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(select): controlled isInvalid prop (#4082) * fix(select): controlled isInvalid prop * chore: add changeset * Merge branch 'beta/release-next' into pr/4082 --------- Co-authored-by: WK Wong <[email protected]> * ci(changesets): version packages (beta) (#4159) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * chore(changeset): bump all versions * ci(changesets): version packages (beta) (#4160) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * fix(deps): missing peer / dev dependency for framer-motion (#4161) * fix(system): align `navigate` function parameters with `@react-aria` (#4163) * fix: menu item classNames not work (#4156) * fix: menu item classNames not work * feat: changeset * docs: update * feat: merge classes utility added * Update .changeset/brave-trains-wave.md --------- Co-authored-by: WK Wong <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * chore(docs): remove incorrect info * ci(changesets): version packages (beta) (#4162) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * refactor(docs): overall dx (#4055) * refactor(docs): revise code block (#3922) * refactor(docs): revise code block * chore(docs): resolve pr comments * refactor(docs): autocomplete dx (#3934) * feat(docs): add *.js?raw module * feat(docs): change to react-jsx and add **/*.js * chore(root): include js and jsx * refactor(docs): autocomplete dx * chore(docs): rollback overrides * chore(autocomplete): lint * fix(autocomplete): incorrect import path * fix(docs): autocomplete dx * chore(docs): remove highlightedLines * refactor(docs): breadcrumbs dx (#3968) * refactor(docs): breadcrumbs dx * fix(docs): export issue * chore(docs): use preserve for jsx * fix(docs): support multiline import * fix(docs): support multiple export * chore(docs): add back export * refactor(docs): avatar dx (#3951) * refactor(docs): badge dx (#3960) * refactor(docs): badge dx * chore(docs): incorrect import path * refactor(docs): button dx (#3981) * refactor(docs): calendar dx (#4022) * refactor(docs): calendar dx * fix(docs): incorrect import path * refactor(docs): switch dx (#4037) * refactor(docs): switch dx * chore(docs): remove highlightedLines * refactor(docs): tooltip (#4035) * refactor(docs): usage dx (#4036) * refactor(docs): circular-progress dx (#4029) * refactor(docs): chip-dx (#4028) * refactor(docs): checkbox-group dx (#4027) * refactor(docs): checkbox dx (#4024) * refactor(docs): checkbox dx * fix(docs): incorrect import path * refactor(docs): card dx (#4023) * refactor(docs): skeleton dx (#4042) * refactor(docs): spacer dx (#4043) * refactor(docs): snippet dx (#4044) * refactor(docs): scroll-shadow dx (#4045) * refactor(docs): code dx (#4046) * refactor(docs): kbd dx (#4047) * refactor(docs): link dx (#4048) * refactor(docs): progress dx (#4049) * refactor(docs): divider dx (#4050) * refactor(docs): listbox dx (#4051) * refactor(docs): listbox dx * fix(docs): import path * fix(docs): import path * chore(docs): remove highlightedLines * fix(docs): indentation * chore(docs): replace the props of autocomplete from value to key (#4129) * refactor(docs): alert dx (#4108) * refactor(docs): alert dx * refactor(docs): alert dx * refactor(docs): image dx (#4061) * refactor(docs): textarea dx (#4063) * refactor(docs): spinner dx (#4088) * refactor(docs): radio-group dx (#4064) * refactor(docs): pagination dx (#4062) * refactor(docs): pagination dx * refactor(docs): pagination dx * refactor(docs): time-input dx (#4065) * refactor(docs): time-input dx * refactor(docs): time-input dx * refactor(docs): slider dx (#4066) * refactor(docs): slider dx * refactor(docs): slider dx * refactor(docs): move SliderValue to type * refactor(docs): slider dx * refactor(docs): make icon code collapsible * refactor(docs): specify versions for date packages (#4138) * refactor(docs): specify versions for date packages * fix(docs): correct RA i18n version * chore(deps): sync version from package * refactor(docs): tabs dx (#4067) * refactor(docs): tab dx * refactor(docs): tabs dx * refactor(docs): input dx (#4102) * refactor(docs): input dx * refactor(docs): input dx * refactor(docs): navbar dx (#4076) * refactor(docs): navbar dx * refactor(docs): navbar dx * refactor(docs): navbar dx * refactor(docs): modal dx (#4077) * refactor(docs): modal dx * refactor(docs): modal dx * refactor(docs): select dx (#4078) * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): select dx * refactor(docs): table dx (#4079) * refactor(docs): table dx * fix(docs): import path * refactor(docs): table dx * refactor(docs): table dx * refactor(docs): popover dx (#4090) * refactor(docs): range-calendar dx (#4089) * refactor(docs): range-calendar dx * fix(docs): import path * refactor(docs): date input dx (#4100) * refactor(docs): dropdown dx (#4101) * refactor(docs): dropdown dx * refactor(docs): remove highlightedLines * refactor(docs): dropdown dx * refactor(docs): dropdown dx * refactor(docs): date-picker dx (#4103) * refactor(docs): date-picker dx * fix(docs): import paths * refactor(docs): date-range-picker dx (#4104) * refactor(docs): date-range-picker dx * fix(docs): date-range-picker dx * refactor(docs): drawer dx (#4109) * refactor(docs): drawer dx * fix(docs): indentation * refactor(docs): make icon collapsible --------- Co-authored-by: աӄա <[email protected]> Co-authored-by: Ryo Matsukawa <[email protected]> * Merge branch 'beta/release-next' into pr/3477 * refactor(docs): apply new structure to doc * feat(input-otp): introduce input OTP component (#4052) * feat(input-otp): adding the functionality * fix(input-otp): making the use of input-otp library * Update .changeset/spotty-flies-jump.md * chore(input-otp): nits * feat: improvements and fixes added * refactor: input-otp docs improvements * fix: changeset * fix: build --------- Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * ci(changesets): version packages (beta) (#4169) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * refactor(theme): revise label font size for lg (#4141) * refactor(theme): revise label font size for lg * chore(changeset): add changeset * refactor(theme): revise label font size for lg * fix(docs): typecheck errors (#4171) * fix(docs): remove duplicate import * fix(docs): update type for onChange in range-calendar page * fix(docs): add missing `@react-types/calendar` * fix(docs): broken syntax * fix(docs): typecheck issues * fix(docs): add missing `@react-types/datepicker` * fix(docs): typecheck issues * fix: missing li tag when href is specified (#4168) * fix(items): items in list should wrapped in li in case of a * chore: adding the tests * fix: textarea issues with the clear button * chore: adjust clear button position --------- Co-authored-by: doki- <[email protected]> Co-authored-by: WK Wong <[email protected]> Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Mustafa Balcı <[email protected]> Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: Vincentius Roger Kuswara <[email protected]> Co-authored-by: Ryo Matsukawa <[email protected]> Co-authored-by: winches <[email protected]> Co-authored-by: Tianen Pang <[email protected]> Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: chirokas <[email protected]> * ci(changesets): version packages (beta) (#4170) Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> * docs: sync api from nextui-cli v0.3.5 (#4173) Co-authored-by: GitHub Action <[email protected]> * ci(changesets): exit pre-release mode --------- Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: աӄա <[email protected]> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Mustafa Balcı <[email protected]> Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: Vincentius Roger Kuswara <[email protected]> Co-authored-by: Ryo Matsukawa <[email protected]> Co-authored-by: winches <[email protected]> Co-authored-by: Tianen Pang <[email protected]> Co-authored-by: Maharshi Alpesh <[email protected]> Co-authored-by: chirokas <[email protected]> Co-authored-by: doki- <[email protected]> Co-authored-by: GitHub Action <[email protected]> * fix: pre release workflow on protected branches (#4174) * chore(pre-release): enter pre-release mode (#4175) Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com> * fix: input otp peer deps (#4176) * chore: update workflows * chore: pre release workflow modified (#4177) * chore: canary versions (#4178) * fix: pre-release workflow (#4179) * chore: merged with beta branch * chore: workflow updated * ci(changesets): version packages * fix: changeset get github info * chore: force canary to release (#4180) * Feat/canary release (#4181) * chore: force canary to release * feat: canary release * ci(changesets): version packages * ci(changesets): version packages * fix: exit pre-release mode * fix: exit pre-release mode * fix: exit pre-release mode * fix: exit pre-release mode * fix: exit pre-release mode * chore: exit pre release mode * fix(workflows): release & pre-release flow (#4184) * chore: revert exit and enter pre release changes * chore: canary release test (#4185) * chore: update exit and enter workflows * chore: update workflow name * fix: exit pre-release mode * fix: exit pre-release mode * chore: delete pre file * chore: remove duplicate changesets * chore: base branch change to canary, changeset config * refactor: beta tags manually deleted (#4187) * fix: install * fix: peer deps (#4188) * Fix/peer deps (#4189) * fix: peer deps * fix: tests * fix: routes * chore(docs): revise defaultShowFlagList (#4193) * chore(docs): add Example to defaultShowFlagList * chore(docs): revise defaultShowFlagList * feat: documentation improvements (#4195) * feat: documentation improvements * fix: alert api * Feat/doc improvements (#4196) * feat: documentation improvements * fix: alert api * fix: copy button * fix: return in card demo * Fix/react core pkg (#4204) * fix: double use client tag import in react core package * fix: double use client * chore: restore postbuild script * docs: optimize code fold (#4202) * docs: optimize code fold * fix: code review * fix(input): teaxtarea label squish (#4197) * fix(input): teaxtarea label squish * chore(changeset): add changeset for textarea label fix * chore: remove customer runner * chore: rename changeset * chore: increase timeout * chore: change get info pkg version * chore: new changeset * chore: single chnageset * chore: consolidated changeset * chore: consolidated changeset * Update release.yaml (#4205) * chore: consolidated changeset * fix: forwardRef render functions not using ref (#4198) * fix: forwardRef render functions not using ref * fix: changelog * fix: review * fix: forwardRef render functions not using ref * docs: update changeset * feat(listbox): virtualization (#4206) * fix: should not export list item internal variables type * feat: changeset * fix: type error * fix: code block type error * feat: virtualization feature, docs for listbox * chore: update routes.json * fix: fix code-demo for typecheck * chore: rollback for files * chore: props omitted in the component itself * fix: menu item types * fix: tupecheck --------- Co-authored-by: winches <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * feat(select): virtualization (#4203) * fix: should not export list item internal variables type * feat: changeset * feat: integrate virtualized listbox to select component, add more props * feat: update docs for select component * feat: update docs to include API for virtualization * fix: update docs to follow the newest format * fix: update test for disable virtualization, add test for virtualized version * fix: fix typo * fix: type error * fix: code block type error * chore: update docs to use raw jsx instead of template literal * fix: fix code-demo for typecheck * chore: rollback for files * fix: types * chore: remove caret version on tanstack virtual pkg * fix: pnpm lock file * fix: virtualization examples * fix: number of items --------- Co-authored-by: winches <[email protected]> Co-authored-by: Junior Garcia <[email protected]> * chore: adjust code colors * fix: collection based components ref (#4207) * chore: documentation adjustments * Update data-slot for the error message in the select. (#4214) * Update data-slot for the error message in the select. All components use the `data-slot="error-message"` attribute, except for the select component. I observed this behavior when a test in my application started failing. * refactor(select): refactors the data-slots attribute for the error message * fix(docs): types for classNames and itemClasses (#4209) * feat: documentation improvements * chore: more improvements to the docs, routing updated, acccordiong font size change * feat: forms doc in progress * fix(touch): fixing the selection functionality on touch (#4220) * fix(touch): fixing the selection functionality on touch * fix: radio, checkbox & switch interactions --------- Co-authored-by: Junior Garcia <[email protected]> * chore(docs): remove non-existing attribute (#4221) * fix(select): hideEmptyContent API (#4219) * fix(select): hideEmptyContent API * test(select): hideEmptyContent tests * docs(select): hideEmptyContent API * chore(select): hideEmptyContent storybook * chore(changeset): add hideEmptyContent API to select * refactor(select): hideEmptyContent nitpick * test(select): hideEmptyContent UI assertions * fix(select): hideEmptyContent default false * docs(select): hideEmptyContent default false * fix(pagination): cursor position when hidden on init (#4222) * fix(pagination): cusor position when hidden on init * test(pagination): cursor intersection observer * chore(changeset): pagination cursor position fix * refactor(pagination): minor nitpicks - check for null ref in usePagination - restore original IntersectionObserver in test * fix: form fixes and improvements (#4224) * chore: form in progress * chore: main demo addded to forms, checkbox validation fixed * chore: forms docs improved * fix(deps): bump `@react-aria/utils` version (#4226) * fix(deps): bump `@react-aria/utils` version * chore(changeset): add changeset * feat: forms doc completed * chore: form component doc created * chore: forms doc improved * chore: doc improvements * chore: alert doc improved * feat: nextjs 15 migration in progress * feat: nextjs 15 migration [docs] (#4228) * feat: nextjs 15 migration in progress * feat: next 15 downgraded to next 14 * fix: migration errors * feat: codeblog is now rendered only when visible, this made a huge performance improvement * fix: remove folding * feat: v2.6.0 blog * feat: Adding nextui pro section on the landing page (#4227) * feat: adding nextui pro section on the landing page * chore(nits): nits * fix: remove pro image on mobile --------- Co-authored-by: Junior Garcia <[email protected]> * fix(docs): prevent scrolling up on pressing theme change switch (#4233) * chore: improve v2.6.0 blog * chore: small improvements * chore: improve blog * ci(changesets): version packages (#4186) Co-authored-by: Junior Garcia <[email protected]> * fix: snippet release (#4235) * ci(changesets): version packages (#4236) Co-authored-by: Junior Garcia <[email protected]> * chore: v2.6.2 * ci(changesets): version packages (#4237) Co-authored-by: Junior Garcia <[email protected]> * fix: draggable modal demo * fix: v2.6 blog * chore: adjust blog * chore: release notes link updated * fix: v2.6.0 (#4247) * fix: v2.6.0…
📝 Description
Updated test-related libraries and refactor code.
Some warnings still appear during test execution, but I plan to address them separately.
Details of the changes are provided in the inline comments.
⛳️ Current behavior (updates)
🚀 New behavior
💣 Is this a breaking change (Yes/No):
No.
📝 Additional Information
Summary by CodeRabbit
Release Notes
New Features
userEvent
library for asynchronous event handling.Bug Fixes
Documentation
act
wrappers around user interactions.Chores
These changes improve the overall reliability and maintainability of the application while ensuring a better testing experience.