Skip to content

Commit bb0cd90

Browse files
authored
Tooltip keybinding hints (#5252)
* Make keybinding hint font-size dynamic to parent font-size * Add keybinding hint support to Tooltip * Move `IconButton` to `keybindingHint` * Add `small` size and update design of `onEmphasis` variant * Fix unit tests * Add changeset * Update story IDs in JSON * Update test config * Reduce right spacing * Still not quite right on the spacing... * Revert deps * test(vrt): update snapshots --------- Co-authored-by: iansan5653 <[email protected]>
1 parent 75acf7a commit bb0cd90

File tree

35 files changed

+102
-41
lines changed

35 files changed

+102
-41
lines changed

.changeset/cyan-glasses-sit.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@primer/react": minor
3+
---
4+
5+
Adds `keybindingHint` prop to `TooltipV2` and `IconButton`, updates `onEmphasis` design variant for `KeybindingHint`, and adds `size` prop with `small` option to `KeybindingHint`.
5.82 KB
Loading
5.84 KB
Loading
5.88 KB
Loading
5.82 KB
Loading
5.82 KB
Loading
5.82 KB
Loading
5.85 KB
Loading
5.82 KB
Loading
5.82 KB
Loading

0 commit comments

Comments
 (0)