Conversation
chore: sync v0.6.0 from main into develop
Adds an optional `open` prop so BBBHint can manage its own visibility and close itself when the close button is clicked, removing the need for external useState boilerplate in simple cases. Passing `open` switches to the existing controlled behavior, where the parent decides visibility via `onRequestClose`. Closes #29
Adds a `hideCloseButton` prop to hide the close (X) button for hints that shouldn't be manually dismissed, e.g. ones dismissed via another UI element or tooltip-style hints with no explicit dismiss action. The close button no longer depends on `title` being set, so label-only hints can now show one too unless hidden. Closes #30
buttonHeader always rendered immediately next to the title, with no
way to push it to the far edge of the header row for secondary
actions like edit/delete. Adds buttonHeaderPosition ('left' | 'right',
default 'left') to control this, preserving existing layout by
default.
Adds a nested `colors` object (colors.text.default, colors.border.selected, ...) grouping the existing palette.ts tokens semantically, reachable from the package root and from a new tree-shakeable /colors subpath.
Promotes 5 hardcoded color literals in Modal, Input, Search, and Toggle to named palette.ts consts (colorBorderFocusRing, colorIconDefaultDark, colorOverlay, colorShadowDefault), reachable from the exported colors object. No visual change. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
feat(BBBHint): allow uncontrolled open/close state & add `hideCloseButton` prop
feat(BBBAccordion): add buttonHeaderPosition prop
feat: export standardized color palette object
Wraps scrollable content with the chat's scrollbar style (thin rounded thumb + optional edge fade mask/shadow) so chat, lists, and side panels no longer each roll their own scrollbar look. Configurable per axis (verticalScroll/horizontalScroll), size (maxHeight/maxWidth), edge fade (fadeEdges/fadeColor), and edge padding (paddingTop/Right/Bottom/Left) so the fade doesn't overlap the first/last item.
…holder Text color used colorLightGray (near-white), making typed content nearly invisible against the white background, and the placeholder had no explicit color at all. Align with BBBInput by using colorTextDefault for text and colorTextLight for the placeholder.
feat(BBBScrollArea): add standardized scroll area component
fix(BBBTextAreaInput): use standard palette colors for text and placeholder
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.
What does this PR do?
Changes going to be released under v0.7.0