Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Upgrade Base UI to 1.9.0

オープン
#973 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 6 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
30/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
活発
技術スタック
react, typescript
領域
frontend

調査の方向性

Start by bumping @base-ui/react and @base-ui/utils in package.json, then check the listed components for breakage. Read menu/menu-content.tsx and context-menu/context-menu-content.tsx for the onItemHighlighted handlers, and look at the wrapper types for Combobox and Select. Done means the upgrade builds, the tests pass after any ScrollArea role updates, and disabled triggers look right. The issue says to wait until the open Base UI PRs merge first.

索引モデルが issue の本文から書いたものです。

説明

Base UI 1.9.0 is out (release notes). It lists no breaking changes. It needs @base-ui/utils 0.5.0.

Do this after the open Base UI PRs merge (#946, #948 to #961, #963), so the upgrade does not conflict with them.

Upgrade PR

  • Bump @base-ui/react to ~1.9.0 and @base-ui/utils to ~0.5.0.
  • Accordion and Collapsible triggers now get the native disabled attribute. Our .accordion-trigger:disabled and .trigger:disabled styles did not apply before and will apply now. Check that disabled triggers look right.
  • Autocomplete passes the originating event to onItemHighlighted, and typing reports the reason none. Check our handlers in menu/menu-content.tsx and context-menu/context-menu-content.tsx.
  • Combobox and Select accept readonly arrays for multiple values. Let our wrapper types accept readonly string[] too.
  • ScrollArea drops the viewport role. Update any tests that rely on it.

Follow-ups (separate PRs)

  • Menu filtering: Menu.FilterProvider, Menu.Input, and onItemHighlighted (preview). Our searchable Menu and ContextMenu combine Base UI Autocomplete with Menu. Moving to Base UI's own menu filtering could simplify both, and the item counter in #962. Wait until it leaves preview, or try it on a branch first.
  • eventDetails.preventUnmountOnClose() for Select, Combobox, and Autocomplete keeps the popup mounted after it closes. It could make the hidden registration pass in Select lighter. It does not cover the first open, so the pass is still needed.
  • Use the new CssVariables and DataAttributes type exports in the docs props.ts files.

Fixes that help open PRs

  • Combobox: stale chip focus after returning to the input (#954).
  • Drawer: virtual keyboard spacing, iOS focus, swipe velocity, and x/y options for data-base-ui-swipe-ignore (#956).
  • Item registration stays in sync under Strict Mode, and large lists mount faster (Select and Combobox).
主要言語
TypeScript
スター
69
フォーク
13
平均マージ
4日 14時間
マージ済み PR(30日)
34

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

raystack/apsara のほかの issue

raystack/apsara の issue をすべて見る

似ている issue

TypeScript の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。