feat(core): 埋め込みモード UI のカスタマイズ対応 - #84
Merged
Merged
Conversation
EmbeddedOptions を拡張し、埋め込み時の各UI要素を個別に制御可能にした: - toolbar: ツールバー(EmbeddedBar)の表示/非表示 - progressBar: プログレスバーの表示/非表示 - clickNavigation: クリックナビゲーション領域の表示/非表示 - slideNumbers: embedded レベルでのスライド番号制御 - toolbarComponent: カスタムツールバーへの差し替え(Client Component 専用) ReslideServerEmbed にも toolbar, progressBar, clickNavigation props を追加。 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
常時表示のフル幅暗いバー → ホバー時にスライドアップする中央寄せピル型に変更: - マウスホバーで表示、2.5秒後に自動非表示(タッチ対応) - ブラー背景+角丸のコンパクトなデザイン - バー上のホバーで表示維持 - スライド下部を常時占有しなくなり圧迫感を解消 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Merged
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
EmbeddedOptionsを拡張し、埋め込み時の各 UI 要素を個別に制御可能にしたtoolbar: boolean— ツールバー(EmbeddedBar)の表示/非表示progressBar: boolean— プログレスバーの表示/非表示clickNavigation: boolean— クリックナビゲーション領域の表示/非表示slideNumbers: boolean | "except-first"— embedded レベルでのスライド番号制御(Deck レベルの設定を上書き)toolbarComponent: React.ComponentType<EmbeddedToolbarProps>— カスタムツールバーへの完全差し替え(Client Component 専用)ReslideServerEmbedにもtoolbar,progressBar,clickNavigationprops を追加EmbeddedToolbarProps型をエクスポートtrue(後方互換性を維持)2層 API 設計
toolbar,progressBar,clickNavigation,slideNumberstoolbarComponent利用例
Test plan
vp check— lint, format, 型チェック通過vp test— 全112件パス(新規7件含む)toolbar={false}が正しく動作することを確認🤖 Generated with Claude Code