Skip to content

feat(components): tabs component add tabPosition prop#2398

Merged
jrgarciadev merged 9 commits into
heroui-inc:v.2.3.0from
winchesHe:feature-tabs-tab-position
Apr 15, 2024
Merged

feat(components): tabs component add tabPosition prop#2398
jrgarciadev merged 9 commits into
heroui-inc:v.2.3.0from
winchesHe:feature-tabs-tab-position

Conversation

@winchesHe
Copy link
Copy Markdown
Contributor

@winchesHe winchesHe commented Feb 22, 2024

Closes #2386

📝 Description

Tabs component add tabPosition prop

🚀 New behavior

Add the position of the tabs

💣 Is this a breaking change (Yes/No):

📝 Additional Information

Add Tabs Component props

1、placement

image image

2、isVertical

image image

Summary by CodeRabbit

  • New Features
    • Introduced customizable tab positions (top, bottom, start, end) with the new tabPosition property.
    • Added vertical orientation support with the isVertical property for both horizontal and vertical tab layouts.
    • Enhanced tab components to display photos, music, and videos content in various orientations.
  • Enhancements
    • Implemented new styles for tab positions and orientations, including tabList, panel, and a new wrapper element.
  • Documentation
    • Updated documentation to explain the usage of tabPosition and isVertical properties for personalized tab layouts.
  • Tests
    • Included tests for validating tab positioning and orientation functionalities.

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Feb 22, 2024

🦋 Changeset detected

Latest commit: 8af8cf9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@nextui-org/tabs Patch
@nextui-org/react Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 22, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
nextui-storybook-v2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 3, 2024 11:26pm

@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 22, 2024

@winchesHe is attempting to deploy a commit to the NextUI Team on Vercel.

A member of the Team first needs to authorize it.

@kircsa08
Copy link
Copy Markdown

kircsa08 commented Feb 23, 2024

Is there planned merging date about this issue ?

Thank you for replying!

@winchesHe
Copy link
Copy Markdown
Contributor Author

Is there planned merging date about this issue ?

Thank you for replying!

I'm not very sure, maybe I need to have the author review first @jrgarciadev

@jrgarciadev
Copy link
Copy Markdown
Member

Hey @winchesHe nice addition, could you please make these changes?

  1. Rename the left and right values to start and end
  2. Add a11y support for positioning
  3. Add a prop called isVertical to make the tab vertical (same as start / end)

Thanks! 🙏🏻

@winchesHe
Copy link
Copy Markdown
Contributor Author

winchesHe commented Mar 4, 2024

Hey @winchesHe nice addition, could you please make these changes?

  1. Rename the left and right values to start and end
  2. Add a11y support for positioning
  3. Add a prop called isVertical to make the tab vertical (same as start / end)

Thanks! 🙏🏻

Got it, I will make these changes 👀

@winchesHe
Copy link
Copy Markdown
Contributor Author

Hey @winchesHe nice addition, could you please make these changes?

  1. Rename the left and right values to start and end
  2. Add a11y support for positioning
  3. Add a prop called isVertical to make the tab vertical (same as start / end)

Thanks! 🙏🏻

I have finished these changes, also added test case, thank you for you review again 👀 @jrgarciadev

Comment thread packages/core/theme/src/components/tabs.ts Outdated
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Mar 17, 2024

Important

Auto Review Skipped

Auto reviews are disabled on base/target branches other than the default branch. Please add the base/target branch pattern to the list of additional branches to be reviewed in the settings.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository.

To trigger a single review, invoke the @coderabbitai review command.

Walkthrough

The recent update enhances the tab component in the web application by introducing features for customizing the tab layout. Users can now adjust the position of tabs (top, bottom, start, end) and set the orientation to vertical. These additions provide more flexibility in designing the tab component to meet diverse user interface needs.

Changes

Files Change Summary
apps/docs/content/components/tabs/index.ts, .../tabs/tab-position.ts, .../tabs/vertical.ts Added options for tabPosition and vertical to enable tab layout customization.
apps/docs/content/docs/components/tabs.mdx Documented the new props tabPosition and isVertical for tab customization.
packages/components/tabs/__tests__/tabs.test.tsx Introduced tests for the new tab positions and orientations.
packages/components/tabs/src/tabs.tsx, .../src/use-tabs.ts Implemented logic to support tabPosition and isVertical props for adjusting tab layout.
packages/components/tabs/stories/tabs.stories.tsx Added stories for TabPosition and Vertical to showcase the new features.
packages/core/theme/src/components/tabs.ts Updated theme styles to accommodate tabPosition variants and vertical orientation.

Assessment against linked issues

Objective Addressed Explanation
[Feature Request] Tab Vertical Orientation (#2386)
Ability to set orientation to vertical for Tabs component (#2386)
Ability to change the position of tabs (top, bottom, start, end) (#2386)
Consideration of alternative solutions for vertical tab layouts (#2386) The changes directly implement the requested feature without exploring or documenting alternative solutions.

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?

Share

Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

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 as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Status

Actionable comments generated: 0

Configuration used: .coderabbit.yaml

Commits Files that changed from the base of the PR and between e67b3af and 4a11dd2.
Files selected for processing (9)
  • apps/docs/content/components/tabs/index.ts (2 hunks)
  • apps/docs/content/components/tabs/tab-position.ts (1 hunks)
  • apps/docs/content/components/tabs/vertical.ts (1 hunks)
  • apps/docs/content/docs/components/tabs.mdx (2 hunks)
  • packages/components/tabs/tests/tabs.test.tsx (3 hunks)
  • packages/components/tabs/src/tabs.tsx (2 hunks)
  • packages/components/tabs/src/use-tabs.ts (5 hunks)
  • packages/components/tabs/stories/tabs.stories.tsx (1 hunks)
  • packages/core/theme/src/components/tabs.ts (2 hunks)
Files skipped from review due to trivial changes (1)
  • apps/docs/content/components/tabs/index.ts
Additional comments: 14
apps/docs/content/components/tabs/vertical.ts (1)
  • 1-45: The example provided in vertical.ts effectively demonstrates the use of the isVertical prop to toggle the orientation of the Tabs component. It's a clear and concise example that should help users understand how to implement vertical tabs in their applications.
packages/components/tabs/src/tabs.tsx (2)
  • 12-12: The destructuring of getWrapperProps from the useTabs hook is correctly implemented, ensuring that the tabs wrapper can be dynamically adjusted based on the tabPosition and isVertical props.
  • 39-50: Wrapping the tabs and the TabPanel within a <div> using getWrapperProps is a good approach to apply dynamic styling and attributes. This change supports the new positioning features while maintaining the component's structure and accessibility.
apps/docs/content/components/tabs/tab-position.ts (1)
  • 1-45: The example in tab-position.ts effectively demonstrates the use of the tabPosition prop to adjust the position of the Tabs component. The use of a RadioGroup for selecting the position is a practical way to showcase the feature and provides a clear example for users.
packages/components/tabs/src/use-tabs.ts (2)
  • 50-59: The introduction of the tabPosition and isVertical props in the useTabs hook is well-implemented. These props enhance the flexibility of the Tabs component by allowing users to adjust the position and orientation of the tabs. Default values are appropriately set, ensuring backward compatibility.
  • 158-167: The logic for determining the tabPosition and generating the getWrapperProps function based on the tabPosition and isVertical props is correctly implemented. This approach allows for dynamic adjustment of the tabs' styling and attributes, supporting the new positioning features.
packages/components/tabs/__tests__/tabs.test.tsx (2)
  • 246-271: The tests for changing the position of the tabs are well-implemented and cover the expected behavior for each position (top, bottom, start, end). These tests ensure that the tabPosition prop correctly influences the tabs' rendering and attributes.
  • 273-310: The tests for changing the orientation of the tabs effectively verify the behavior of the isVertical prop. They ensure that setting isVertical to true or false correctly adjusts the tabs' orientation and related attributes. This coverage is essential for validating the new orientation feature.
packages/components/tabs/stories/tabs.stories.tsx (2)
  • 319-336: The TabPosition story is well-implemented, providing a clear example of how to use the tabPosition prop with the Tabs component. The use of argTypes to allow interactive adjustment of the tabPosition in the Storybook UI is a practical way to demonstrate the feature.
  • 338-348: The Vertical story effectively demonstrates the use of the isVertical prop to adjust the orientation of the Tabs component. This story provides a clear example for users on how to implement vertical tabs in their applications.
packages/core/theme/src/components/tabs.ts (2)
  • 74-74: The addition of an empty wrapper property to the tabs component styles seems to be a placeholder for future styling options. However, without any styles defined, it currently serves no purpose.

Consider removing the empty wrapper property if it's not being used, or add relevant styles if it's intended for future use.

  • 163-178: The implementation of the tabPosition variants for top, start, end, and bottom with corresponding styles for tabList, panel, and wrapper is a significant enhancement. It allows for flexible positioning of tabs, catering to different layout requirements.

This change effectively addresses the feature request for more versatile tab positioning options. It's also worth noting the thoughtful consideration for RTL support, as indicated in the previous comments and responses.

apps/docs/content/docs/components/tabs.mdx (2)
  • 76-86: The documentation updates introducing the tabPosition and isVertical props provide clear guidance on how to utilize these new features for tab layout customization. The examples and explanations are well-structured, making it easy for users to understand and apply these properties in their projects.

These updates are crucial for ensuring that users are aware of and can effectively leverage the new tab positioning and orientation capabilities. Great job on enhancing the documentation to match the codebase changes.

  • 73-90: > 📝 NOTE

This review was outside the diff hunks and was mapped to the diff hunk with the greatest overlap. Original lines [90-147]

The section on rendering tabs as links and integrating with client-side routers like Next.js and React Router is informative and provides practical examples for developers. It's a valuable addition that demonstrates how to synchronize tab selection with the current URL, enhancing the usability of tabs in applications with routing requirements.

This guidance is essential for developers looking to create more dynamic and interactive tab-based interfaces that integrate seamlessly with modern web frameworks.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Review Status

Actionable comments generated: 1

Configuration used: .coderabbit.yaml

Commits Files that changed from the base of the PR and between 4a11dd2 and af2ad53.
Files selected for processing (1)
  • .changeset/famous-panthers-know.md (1 hunks)
Additional comments: 1
.changeset/famous-panthers-know.md (1)
  • 1-3: The metadata format specifying the package name and version change type is correctly structured.

Comment thread .changeset/famous-panthers-know.md Outdated
@jrgarciadev jrgarciadev added this to the v2.3.0 milestone Apr 2, 2024
@jrgarciadev jrgarciadev changed the base branch from main to v.2.3.0 April 2, 2024 13:32
@jrgarciadev
Copy link
Copy Markdown
Member

@winchesHe could you please fix the conflicts?

@winchesHe
Copy link
Copy Markdown
Contributor Author

@winchesHe could you please fix the conflicts?

Quite sure

@winchesHe winchesHe force-pushed the feature-tabs-tab-position branch from f777615 to 6f8fd97 Compare April 3, 2024 14:04
@jrgarciadev
Copy link
Copy Markdown
Member

@winchesHe sorry but what do you think about changing the property name from tabPosition to orientation it better aligns with other components https://nextui.org/docs/components/radio-group#horizontal https://nextui.org/docs/components/checkbox-group#horizontal

Comment thread apps/docs/content/components/tabs/placement.ts Outdated
Comment thread apps/docs/content/components/tabs/placement.ts Outdated
Comment thread apps/docs/content/components/tabs/placement.ts Outdated
Comment thread apps/docs/content/components/tabs/vertical.ts Outdated
Comment thread apps/docs/content/components/tabs/vertical.ts Outdated
Comment thread apps/docs/content/components/tabs/vertical.ts Outdated
Comment thread apps/docs/content/docs/components/tabs.mdx Outdated
@winchesHe winchesHe requested a review from jrgarciadev April 3, 2024 23:24
@jrgarciadev jrgarciadev merged commit 9e7b265 into heroui-inc:v.2.3.0 Apr 15, 2024
jrgarciadev added a commit that referenced this pull request Apr 16, 2024
* refactor(input): input ref test (#2613)

* refactor(input): remove duplicate test

* refactor(input): remove unncessary waitFor

* fix(radio): isRequired & missing warning message in Form (#2597)

* fix(radio): avoid overriding required props

* fix(radio): merge with domRef

* feat(changeset): fixed missing required props and validationMessage

* fix(radio): unnecessary mergeRefs

* Calendar component  📅 (#2456)

* feat(calendar): initial structure

* feat(calendar): calendar structure completed, styles in progress

* chore(calendar): dark colors adjusted

* feat(calendar): styles improved, variants added, animations added with framer motion

* chore(calendar): animation changed, shadow improved

* chore(calendar): disableAnimation support added as well as weekDays format

* feat(calendar): more stories added

* chore(calendar): refactor calendar cell styling

* feat(calendar): create calendar function added to the root provider

* feat(calendar): invalid state and error message added

* feat(calendar): calendar picker added, provider modified

* feat(root): object.values deps replaced by new func, intersection hoook added, types version unified

* feat(calendar): calendar pickers in progress

* feat(calendar): calendar pickers added

* fix(calendar): year label formatting

* chore(calendar): add layout parameter to Calendar stories

* feat(calendar): pickers completed, context added

* feat(calendar): visibleMonths supported, warnings fixed, tests added

* chore(root): changeset

* chore(calendar): add topContent and bottomContent props to calendar

* feat(calendar): add @nextui-org/radio package and update calendar component

* refactor: assigned type(DateValue) to focusedDate(ControlledFocusedVaue) (#2637)

Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de>

* Range Calendar 📆 (#2634)

* feat(calendar): range calendar added, calendar and context adapted

* feat(calendar): range calendar stories added

* chore(calendar): range calendar tests added

* fix(calendar): update calendar styles to adjust to dynamic width

* Date Input 🗓️ (#2641)

* feat(date-picker): date field component initialized

* chore(date-picker): date field renamed to date-input

* feat(date-picker): date input completed

* chore(date-input): commented code removed

* feat(avatar): support slots in AvatarGroup (#2669)

* feat: rename newPost to new (#2665)

* fix(avatar): spread getAvatarGroupCountProps in avatar count

* feat(avatar): support slots in avatarGroup

* feat(avatar): support classNames and add getAvatarGroupCountProps

* feat(docs): add classNames to avatar group

* feat(avatar): add CustomSlots in avatar group

* feat(changeset): support slots in avatar group

---------

Co-authored-by: winches <96854855+winchesHe@users.noreply.github.com>

* Date Picker Component 🗓️ (#2652)

* feat(date-picker): first iteration

* chore(date-picker): update date-picker README.md with improved description

* feat(date-picker): code organized, integration done

* fix(date-picker): min and max value + styles

* fix(date-picker): popover offset adn calendar styles

* feat(date-picker): stories added

* fix(date-picker): calendar width properly handled

* feat(date-picker): styles simplified

* chore(date-picker): almost all test passing

* fix(date-picker): test and styles

* chore(date-picker): calendar popover tests added

* fix(date-picker): props to be passed to the date-input

* TimeInput Component 🕒 (#2672)

* feat(time-input): time input added with some stories, tests and date-picker integration missing

* feat(time-input): tests added, date-picker integration added, missing stories added

* chore(react): missing packages added

* chore(time-input): fix stories names

* fix(time-input): time value type

* fix: date-picker visibleMonth width does not get widen enough (#2703)

* DateRangePicker Component 🗓️ (#2682)

* chore(date-range-picker): in progress

* chore(date-range-picker): in progress

* feat(date-input): components separated into multiple pieces to be able to implement the date range picker

* feat(date-range-picker): first version of it working

* chore(date-picker): hyphen symbol changed

* feat(date-range-picker): stories done

* fix(range-calendar): styles

* docs: Calendar & RangeCalendar (#2686)

* feat(docs): add calendar in routes.json

* feat(docs): refresh search-meta.json

* feat(docs): add calendar examples

* feat(docs): calendar content

* feat(deps): add @internationalized/date

* refactor(docs): remove div wrapper

* feat(docs): add calendar doc

* fix(docs): calendar presets

* fix(docs): preset styles

* chore(docs): remove calendar iframe examples

* refactor(docs): discard iframe in calendar doc

* fix(docs): incorrect DateValue import

* feat(docs): include @internationalized/date in live demo scope

* feat(docs): add presets description

* chore(docs): update search-meta.json

* fix(docs): remove DateValue

* feat(docs): include reactAriaI18n in react live demo scope

* fix(docs): presets import issue

* chore(docs): update search-meta.json

* feat(docs): add api reference for nextui provider

* fix(calendar): ixExpanded  typo

* feat(docs): add missing props & event

* chore(docs): update search-meta.json

* chore(docs): update route keywords

* chore(docs): revise value style add defaultFocusedValue

* chore(docs): remove padding and revise gap

* feat(docs): range calendar

* chore(docs): update search-meta.json

* feat(docs): add reactAriaHook

* fix(docs): incorrect component and add storybook and reactAriaHook

* fix(docs): incorrect import path

* chore(docs): reorder range calendar position in sidebar

* chore(Docs): remove custom styles & implementation

* chore(docs): remove last item from accessibility

* chore(docs): onValueChange -> onChange

* feat(docs): add ts example for range calendar

* chore(docs): remove unwanted content in range calendar

* feat(docs): add ts examples for calendar

* chore(docs): update import path

* chore(docs): update import path

* chore(docs): styles adjusted, routes updated

---------

Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>

* docs: TimeInput (#2698)

* feat(docs): add time input to routes.json

* feat(deps): add @internationalized/date

* feat(docs): add @internationalized/date and @react-aria/i18n to code demo scopes

* feat(docs): time input contetnt

* chore(docs): revise time input examples

* feat(docs): time input content

* chore(time-input): update description

* feat(docs): add ts examples in time-input

* chore(docs): revise TimeValue import

---------

Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>

* chore(date-picker): exports updated

* docs: DatePicker (#2700)

* docs: created the doc for datepicker and its examples

* docs: regenerate search-meta.json

* fix: reverted the unncessary change to Input component

* fix: fixed the component-link for date-picker

* fix: fixed the component-link for date-picker

* fix: added variants section to the doc

* fix: made adjustment to the explanations for the props of DatePicker comp

---------

Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>

* doc: DateInput (#2711)

* docs: created base examples and the document

* chore: created search-meta and follow-up fix for each date-input example cases

* fix: fixed some example components styles

* fix(docs): updated routes.json

* fix(docs): fixed typo in the docs

* fix: fixed the component-link for date-input

* fix: fixed the component-link for date-input

* fix: label-placements example flex style adjustment

* fix: added variants section to the doc

---------

Co-authored-by: HaRuki Kuriwada <haruki.kuriwada@hennge.com>
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>

* refactor(theme): units removed, tailwind-variants upgraded (#2713)

* fix(theme): units replaced by spacing

* fix(select): positioning the label if a description is used (#2553)

Co-authored-by: Poli Sour <polisour.work@gmail.com>

* Upgrade to new react aria version (#2561)

* chore(root): pkg upgraded

* fix: type error

* fix: build error

* chore: update packages from a~d

* chore: update packages from i~r

* chore: update packages from s~u

* chore: update core, hooks, and utilities packages

* feat: add support radio group validationBehavior props

* fix: validationBehavior default to native

* chore: add validationBehavior props in RadioGroup Stories

* fix: handling of errorMessage

* chore: add support validationBehavior autocomplete

* chore: partial support for validation of select

* chore: add support validationBehavior checkbox

* chore: change validationBehavior default to native

* Merge branch 'v.2.3.0' into feat/upgrade-react-aria

* fix: validation logic

* fix: add default value for autocomplete

* chore: add example using error message function

* chore: fixed error displayed in storybook

* chore: omit validationBehavior from component props

* chore: update docs and storybook on validate

* fix: pnpm-lock version

---------

Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>

* fix(core): build and date input / time input apis

* chore(date-picker): omit validation behavior

* chore(docs): add missing props to calendar and range calendar

* docs: add nextui-cli page (#2714)

* docs: add nextui-cli page

* docs: update search meta

* docs: typo

* docs: typo

* docs: typo

* feat(docs): cli docs done

---------

Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>

* chore(docs): add cli commands to installation docs

* fix(checkbox): prettier

* fix(docs): incorrect cli api references link

* doc: DateRangePicker (#2712)

* chore: created base for date-range-picker doc

* fix: added follow-up story examples to the doc

* fix: fixed bugs happening on the doc

* fix: fixed bugs happening on the doc

* fix(docs): incorrect file path and revise title

* fix: component examples style fixes

* fix: component presets typo fix

* refactor(core): date range picker docs completed, standaline date picker field fixed

---------

Co-authored-by: HaRuki Kuriwada <haruki.kuriwada@hennge.com>
Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com>
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>

* fix: only two keyframes currently supported with spring and inertia animations (#2596)

* chore(deps): bump framer-motion

* feat(changeset): fixed framer motion issue

* chore(changeset): revise changeset message

* chore(deps): update pnpm-lock.yaml

* fix: react hook form issue (#2603)

* fix(input): pass domRef?.current?.value to controlled state

* fix(input): pass domRef?.current?.value to useTextField instead

* fix(checkbox): handle RHF case

* fix(checkbox): add missing isSelected case

* chore(checkbox): update ref type

* chore(deps): add @nextui-org/use-safe-layout-effect

* chore(deps): update pnpm-lock.yaml

* chore(deps): update pnpm-lock.yaml

* fix(select): handle RHF case

* chore(deps): add @nextui-org/use-safe-layout-effect to select

* fix(autocomplete): handle RHF case

* chore(deps): add @nextui-org/use-safe-layout-effect to autocomplete

* refactor(components): revise comments

* feat(changeset): react-hook-form uncontrolled components

* chore(deps): pnpm-lock.yaml

* fix(input): domRef.current.value has higher precedence

* fix(checkbox): set isChecked based on input ref checked

* feat(components): tabs component add tabPosition prop (#2398)

* feat(components): tabs component add tabPosition prop

* fix: review problem change

* test: add tabs position vertical test

* docs: update changeset

* fix(tabs): optimize return of tabs

* fix(tabs): rename orientation to placement

* fix(tabs): optimize description

* chore(docs): routes

* fix: isReadOnly in Autocomplete MDX (#2444)

* feat(autocomplete): add isReadOnly example

* fix(autocomplete): isReadOnly logic in Autocomplete

* feat(root): add changeset - fixed isReadOnly logic in Autocomplete

* chore(autocomplete component) isReadOnly property demo

isReadOnly property demo in website MDX for autocomplete component.

* Update apps/docs/content/docs/components/autocomplete.mdx

Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>

---------

Co-authored-by: աɨռɢӄաօռɢ <wingkwong.code@gmail.com>
Co-authored-by: Alpha <116849110+alpha-xek@users.noreply.github.com>
Co-authored-by: Junior Garcia <jrgarciadev@gmail.com>

* fix(select): only trigger setSelectedKeys when domRef.current.value is true (#2722)

* chore(docs): blog changes (#2724)

* chore(docs): blog changes

* feat(docs): blog improved

* chore(blog): draft param added

* chore: version changeset added

* feat(blog): v2.3.0 almost done

* chore(docs): tailwind colors updated, calendar overflow fixed

* chore(blog): add presets demo

* fix(calendar): overflow on windows

* chore(docs): improve popover placements demo

* fix(autocomplete): set shouldUseVirtualFocus to false in getListboxProps (#2731)

* chore(blog): add cotributors

* chore(blog): draft

---------

Co-authored-by: աӄա <wingkwong.code@gmail.com>
Co-authored-by: Shrinidhi Upadhyaya <shrinidhiupadhyaya1195@gmail.com>
Co-authored-by: shrinidhi.upadhyaya <shrinidhi.upadhyaya@stud.uni-bamberg.de>
Co-authored-by: winches <96854855+winchesHe@users.noreply.github.com>
Co-authored-by: HaRuki <soccer_haruki15@me.com>
Co-authored-by: HaRuki Kuriwada <haruki.kuriwada@hennge.com>
Co-authored-by: Poli Sour <57824881+novsource@users.noreply.github.com>
Co-authored-by: Poli Sour <polisour.work@gmail.com>
Co-authored-by: Ryo Matsukawa <76232929+ryo-manba@users.noreply.github.com>
Co-authored-by: winches <329487092@qq.com>
Co-authored-by: Alpha Xek <116849110+alphaxek@users.noreply.github.com>
Co-authored-by: Alpha <116849110+alpha-xek@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature Request] Tab Vertical Orientation

5 participants