@redis-ui/components 51.20.0 → 51.20.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -637,7 +637,7 @@ function Render() {
|
|
|
637
637
|
- `Tooltip.Trigger` can wrap plain text, SVG, or multi-element triggers by setting `withButton`.
|
|
638
638
|
- `Tooltip.Compose` supports controlled and uncontrolled open state.
|
|
639
639
|
- `Tooltip.Content.Compose` defaults `placement` to `top`, `sideOffset` to `5`, `portal` to `document.body`, and `interactive` to `false`.
|
|
640
|
-
- When the theme sets `tooltip.contentTextColor` (the Redis Ultra
|
|
640
|
+
- When the theme sets `tooltip.contentTextColor` (the Redis Ultra dark theme does), custom content and the `Tooltip.Card` title, body and footer link use that color so they stay readable on the tooltip background. Passing `backgroundColor` opts out, and the content keeps its own colors.
|
|
641
641
|
- `Tooltip.Card.Header` hides the close button by default.
|
|
642
642
|
- `Tooltip.Card.Footer` renders nothing when both `link` and `actionButtonHandler` are missing.
|
|
643
643
|
- For async tooltip content, prefer `Popover` unless the tooltip interaction is required.
|