Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@

Bump the `@radix-ui/react-*` runtime dependencies. A consumer `aria-describedby` on `Tooltip.Trigger` or its `asChild` child is now merged with the tooltip's id instead of replacing it. This also applies to `EllipsisContent` and `TextTruncate` while their text is cut off. `Tabs` triggers move focus before the tab switches, and non-modal popovers inside a `Dialog` or `Flyout` keep focus and scroll.

If your app also installs `@radix-ui/react-*` packages directly, update them to the versions click-ui pins (for example `@radix-ui/react-dialog` 1.2.0, `@radix-ui/react-dropdown-menu` 2.1.25) so nested dialogs and menus share one focus trap.
If your app also installs `@radix-ui/react-*` packages directly, update them to the versions in click-ui's `package.json` dependencies so nested dialogs and menus share one focus trap.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@clickhouse/click-ui': patch
---

`Checkbox`, `Switch` and `RadioGroup` inside a `<form>` now also fire a bubbled `change` event when the checked value updates after the click, for example from an async handler. A `Tooltip` inside a modal `Popover` keeps the right tab order. `ContextMenu.Content` now applies a `sideOffset` you pass.
30 changes: 15 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -409,21 +409,21 @@
},
"dependencies": {
"@h6s/calendar": "2.2.0",
"@radix-ui/react-accordion": "1.2.21",
"@radix-ui/react-avatar": "1.2.7",
"@radix-ui/react-checkbox": "1.3.12",
"@radix-ui/react-context-menu": "2.3.8",
"@radix-ui/react-dialog": "1.2.0",
"@radix-ui/react-dropdown-menu": "2.1.25",
"@radix-ui/react-hover-card": "1.1.24",
"@radix-ui/react-popover": "1.2.0",
"@radix-ui/react-radio-group": "1.4.8",
"@radix-ui/react-separator": "1.1.16",
"@radix-ui/react-slot": "1.4.0",
"@radix-ui/react-switch": "1.3.8",
"@radix-ui/react-tabs": "1.1.22",
"@radix-ui/react-toast": "1.2.24",
"@radix-ui/react-tooltip": "1.3.0",
"@radix-ui/react-accordion": "1.3.1",
"@radix-ui/react-avatar": "1.3.1",
"@radix-ui/react-checkbox": "1.4.1",
"@radix-ui/react-context-menu": "2.4.1",
"@radix-ui/react-dialog": "1.3.1",
"@radix-ui/react-dropdown-menu": "2.2.1",
"@radix-ui/react-hover-card": "1.2.1",
"@radix-ui/react-popover": "1.3.1",
"@radix-ui/react-radio-group": "1.5.1",
"@radix-ui/react-separator": "1.2.0",
"@radix-ui/react-slot": "1.5.0",
"@radix-ui/react-switch": "1.4.1",
"@radix-ui/react-tabs": "1.2.1",
"@radix-ui/react-toast": "1.3.1",
"@radix-ui/react-tooltip": "1.4.1",
"class-variance-authority": "^0.7.1",
"clsx": "^2.1.1",
"dayjs": "^1.11.19",
Expand Down
5 changes: 4 additions & 1 deletion src/components/ContextMenu/ContextMenu.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,10 @@ type DeprecatedFields = {
align?: string;
};

type ContextMenuContentProps = RightMenu.ContextMenuContentProps & {
type ContextMenuContentProps = Omit<
RightMenu.ContextMenuContentProps,
'side' | 'align'
> & {
sub?: true;
container?: HTMLElement | null;
} & ArrowProps &
Expand Down
Loading
Loading