chore: upgrade ariakit (#2583)

This commit is contained in:
Aman Harwara
2023-10-16 17:14:49 +05:30
committed by GitHub
parent c426ea988e
commit 9117668a77
11 changed files with 19 additions and 19 deletions

View File

@@ -108,7 +108,7 @@
"app/**/*.{js,ts,jsx,tsx,css,md}": "prettier --write"
},
"dependencies": {
"@ariakit/react": "^0.2.15",
"@ariakit/react": "^0.3.5",
"@lexical/headless": "0.12.2",
"@radix-ui/react-slot": "^1.0.1",
"fast-diff": "^1.3.0"

View File

@@ -128,7 +128,7 @@ const ItemLinkAutocompleteInput = forwardRef(
{shouldShowCreateTag && (
<ComboboxItem
hideOnClick
as={Slot}
render={<Slot />}
onClick={() => {
void createAndAddNewTag(searchQuery)
combobox.setValue('')

View File

@@ -73,11 +73,10 @@ const StyledTooltip = ({
return (
<>
<TooltipAnchor
ref={anchorRef}
{...clickProps}
onBlur={() => setForceOpen(undefined)}
store={tooltip}
as={Slot}
render={<Slot ref={anchorRef} />}
showOnHover={showOnHover}
>
{children}