feature/email #25
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
|
|
@ -1,16 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
||||||
|
|
||||||
case `uname` in
|
|
||||||
*CYGWIN*|*MINGW*|*MSYS*)
|
|
||||||
if command -v cygpath > /dev/null 2>&1; then
|
|
||||||
basedir=`cygpath -w "$basedir"`
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
if [ -x "$basedir/node" ]; then
|
|
||||||
exec "$basedir/node" "$basedir/../acorn/bin/acorn" "$@"
|
|
||||||
else
|
|
||||||
exec node "$basedir/../acorn/bin/acorn" "$@"
|
|
||||||
fi
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
../acorn/bin/acorn
|
||||||
|
|
@ -1,17 +0,0 @@
|
||||||
@ECHO off
|
|
||||||
GOTO start
|
|
||||||
:find_dp0
|
|
||||||
SET dp0=%~dp0
|
|
||||||
EXIT /b
|
|
||||||
:start
|
|
||||||
SETLOCAL
|
|
||||||
CALL :find_dp0
|
|
||||||
|
|
||||||
IF EXIST "%dp0%\node.exe" (
|
|
||||||
SET "_prog=%dp0%\node.exe"
|
|
||||||
) ELSE (
|
|
||||||
SET "_prog=node"
|
|
||||||
SET PATHEXT=%PATHEXT:;.JS;=;%
|
|
||||||
)
|
|
||||||
|
|
||||||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\acorn\bin\acorn" %*
|
|
||||||
|
|
@ -1,28 +0,0 @@
|
||||||
#!/usr/bin/env pwsh
|
|
||||||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
|
||||||
|
|
||||||
$exe=""
|
|
||||||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
|
||||||
# Fix case when both the Windows and Linux builds of Node
|
|
||||||
# are installed in the same directory
|
|
||||||
$exe=".exe"
|
|
||||||
}
|
|
||||||
$ret=0
|
|
||||||
if (Test-Path "$basedir/node$exe") {
|
|
||||||
# Support pipeline input
|
|
||||||
if ($MyInvocation.ExpectingInput) {
|
|
||||||
$input | & "$basedir/node$exe" "$basedir/../acorn/bin/acorn" $args
|
|
||||||
} else {
|
|
||||||
& "$basedir/node$exe" "$basedir/../acorn/bin/acorn" $args
|
|
||||||
}
|
|
||||||
$ret=$LASTEXITCODE
|
|
||||||
} else {
|
|
||||||
# Support pipeline input
|
|
||||||
if ($MyInvocation.ExpectingInput) {
|
|
||||||
$input | & "node$exe" "$basedir/../acorn/bin/acorn" $args
|
|
||||||
} else {
|
|
||||||
& "node$exe" "$basedir/../acorn/bin/acorn" $args
|
|
||||||
}
|
|
||||||
$ret=$LASTEXITCODE
|
|
||||||
}
|
|
||||||
exit $ret
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
||||||
|
|
||||||
case `uname` in
|
|
||||||
*CYGWIN*|*MINGW*|*MSYS*)
|
|
||||||
if command -v cygpath > /dev/null 2>&1; then
|
|
||||||
basedir=`cygpath -w "$basedir"`
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
if [ -x "$basedir/node" ]; then
|
|
||||||
exec "$basedir/node" "$basedir/../esbuild/bin/esbuild" "$@"
|
|
||||||
else
|
|
||||||
exec node "$basedir/../esbuild/bin/esbuild" "$@"
|
|
||||||
fi
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
../esbuild/bin/esbuild
|
||||||
|
|
@ -1,17 +0,0 @@
|
||||||
@ECHO off
|
|
||||||
GOTO start
|
|
||||||
:find_dp0
|
|
||||||
SET dp0=%~dp0
|
|
||||||
EXIT /b
|
|
||||||
:start
|
|
||||||
SETLOCAL
|
|
||||||
CALL :find_dp0
|
|
||||||
|
|
||||||
IF EXIST "%dp0%\node.exe" (
|
|
||||||
SET "_prog=%dp0%\node.exe"
|
|
||||||
) ELSE (
|
|
||||||
SET "_prog=node"
|
|
||||||
SET PATHEXT=%PATHEXT:;.JS;=;%
|
|
||||||
)
|
|
||||||
|
|
||||||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\esbuild\bin\esbuild" %*
|
|
||||||
|
|
@ -1,28 +0,0 @@
|
||||||
#!/usr/bin/env pwsh
|
|
||||||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
|
||||||
|
|
||||||
$exe=""
|
|
||||||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
|
||||||
# Fix case when both the Windows and Linux builds of Node
|
|
||||||
# are installed in the same directory
|
|
||||||
$exe=".exe"
|
|
||||||
}
|
|
||||||
$ret=0
|
|
||||||
if (Test-Path "$basedir/node$exe") {
|
|
||||||
# Support pipeline input
|
|
||||||
if ($MyInvocation.ExpectingInput) {
|
|
||||||
$input | & "$basedir/node$exe" "$basedir/../esbuild/bin/esbuild" $args
|
|
||||||
} else {
|
|
||||||
& "$basedir/node$exe" "$basedir/../esbuild/bin/esbuild" $args
|
|
||||||
}
|
|
||||||
$ret=$LASTEXITCODE
|
|
||||||
} else {
|
|
||||||
# Support pipeline input
|
|
||||||
if ($MyInvocation.ExpectingInput) {
|
|
||||||
$input | & "node$exe" "$basedir/../esbuild/bin/esbuild" $args
|
|
||||||
} else {
|
|
||||||
& "node$exe" "$basedir/../esbuild/bin/esbuild" $args
|
|
||||||
}
|
|
||||||
$ret=$LASTEXITCODE
|
|
||||||
}
|
|
||||||
exit $ret
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
||||||
|
|
||||||
case `uname` in
|
|
||||||
*CYGWIN*|*MINGW*|*MSYS*)
|
|
||||||
if command -v cygpath > /dev/null 2>&1; then
|
|
||||||
basedir=`cygpath -w "$basedir"`
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
if [ -x "$basedir/node" ]; then
|
|
||||||
exec "$basedir/node" "$basedir/../eslint/bin/eslint.js" "$@"
|
|
||||||
else
|
|
||||||
exec node "$basedir/../eslint/bin/eslint.js" "$@"
|
|
||||||
fi
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
../eslint/bin/eslint.js
|
||||||
|
|
@ -1,17 +0,0 @@
|
||||||
@ECHO off
|
|
||||||
GOTO start
|
|
||||||
:find_dp0
|
|
||||||
SET dp0=%~dp0
|
|
||||||
EXIT /b
|
|
||||||
:start
|
|
||||||
SETLOCAL
|
|
||||||
CALL :find_dp0
|
|
||||||
|
|
||||||
IF EXIST "%dp0%\node.exe" (
|
|
||||||
SET "_prog=%dp0%\node.exe"
|
|
||||||
) ELSE (
|
|
||||||
SET "_prog=node"
|
|
||||||
SET PATHEXT=%PATHEXT:;.JS;=;%
|
|
||||||
)
|
|
||||||
|
|
||||||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\eslint\bin\eslint.js" %*
|
|
||||||
|
|
@ -1,28 +0,0 @@
|
||||||
#!/usr/bin/env pwsh
|
|
||||||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
|
||||||
|
|
||||||
$exe=""
|
|
||||||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
|
||||||
# Fix case when both the Windows and Linux builds of Node
|
|
||||||
# are installed in the same directory
|
|
||||||
$exe=".exe"
|
|
||||||
}
|
|
||||||
$ret=0
|
|
||||||
if (Test-Path "$basedir/node$exe") {
|
|
||||||
# Support pipeline input
|
|
||||||
if ($MyInvocation.ExpectingInput) {
|
|
||||||
$input | & "$basedir/node$exe" "$basedir/../eslint/bin/eslint.js" $args
|
|
||||||
} else {
|
|
||||||
& "$basedir/node$exe" "$basedir/../eslint/bin/eslint.js" $args
|
|
||||||
}
|
|
||||||
$ret=$LASTEXITCODE
|
|
||||||
} else {
|
|
||||||
# Support pipeline input
|
|
||||||
if ($MyInvocation.ExpectingInput) {
|
|
||||||
$input | & "node$exe" "$basedir/../eslint/bin/eslint.js" $args
|
|
||||||
} else {
|
|
||||||
& "node$exe" "$basedir/../eslint/bin/eslint.js" $args
|
|
||||||
}
|
|
||||||
$ret=$LASTEXITCODE
|
|
||||||
}
|
|
||||||
exit $ret
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
||||||
|
|
||||||
case `uname` in
|
|
||||||
*CYGWIN*|*MINGW*|*MSYS*)
|
|
||||||
if command -v cygpath > /dev/null 2>&1; then
|
|
||||||
basedir=`cygpath -w "$basedir"`
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
if [ -x "$basedir/node" ]; then
|
|
||||||
exec "$basedir/node" "$basedir/../js-yaml/bin/js-yaml.js" "$@"
|
|
||||||
else
|
|
||||||
exec node "$basedir/../js-yaml/bin/js-yaml.js" "$@"
|
|
||||||
fi
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
../js-yaml/bin/js-yaml.js
|
||||||
|
|
@ -1,17 +0,0 @@
|
||||||
@ECHO off
|
|
||||||
GOTO start
|
|
||||||
:find_dp0
|
|
||||||
SET dp0=%~dp0
|
|
||||||
EXIT /b
|
|
||||||
:start
|
|
||||||
SETLOCAL
|
|
||||||
CALL :find_dp0
|
|
||||||
|
|
||||||
IF EXIST "%dp0%\node.exe" (
|
|
||||||
SET "_prog=%dp0%\node.exe"
|
|
||||||
) ELSE (
|
|
||||||
SET "_prog=node"
|
|
||||||
SET PATHEXT=%PATHEXT:;.JS;=;%
|
|
||||||
)
|
|
||||||
|
|
||||||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\js-yaml\bin\js-yaml.js" %*
|
|
||||||
|
|
@ -1,28 +0,0 @@
|
||||||
#!/usr/bin/env pwsh
|
|
||||||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
|
||||||
|
|
||||||
$exe=""
|
|
||||||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
|
||||||
# Fix case when both the Windows and Linux builds of Node
|
|
||||||
# are installed in the same directory
|
|
||||||
$exe=".exe"
|
|
||||||
}
|
|
||||||
$ret=0
|
|
||||||
if (Test-Path "$basedir/node$exe") {
|
|
||||||
# Support pipeline input
|
|
||||||
if ($MyInvocation.ExpectingInput) {
|
|
||||||
$input | & "$basedir/node$exe" "$basedir/../js-yaml/bin/js-yaml.js" $args
|
|
||||||
} else {
|
|
||||||
& "$basedir/node$exe" "$basedir/../js-yaml/bin/js-yaml.js" $args
|
|
||||||
}
|
|
||||||
$ret=$LASTEXITCODE
|
|
||||||
} else {
|
|
||||||
# Support pipeline input
|
|
||||||
if ($MyInvocation.ExpectingInput) {
|
|
||||||
$input | & "node$exe" "$basedir/../js-yaml/bin/js-yaml.js" $args
|
|
||||||
} else {
|
|
||||||
& "node$exe" "$basedir/../js-yaml/bin/js-yaml.js" $args
|
|
||||||
}
|
|
||||||
$ret=$LASTEXITCODE
|
|
||||||
}
|
|
||||||
exit $ret
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
||||||
|
|
||||||
case `uname` in
|
|
||||||
*CYGWIN*|*MINGW*|*MSYS*)
|
|
||||||
if command -v cygpath > /dev/null 2>&1; then
|
|
||||||
basedir=`cygpath -w "$basedir"`
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
if [ -x "$basedir/node" ]; then
|
|
||||||
exec "$basedir/node" "$basedir/../loose-envify/cli.js" "$@"
|
|
||||||
else
|
|
||||||
exec node "$basedir/../loose-envify/cli.js" "$@"
|
|
||||||
fi
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
../loose-envify/cli.js
|
||||||
|
|
@ -1,17 +0,0 @@
|
||||||
@ECHO off
|
|
||||||
GOTO start
|
|
||||||
:find_dp0
|
|
||||||
SET dp0=%~dp0
|
|
||||||
EXIT /b
|
|
||||||
:start
|
|
||||||
SETLOCAL
|
|
||||||
CALL :find_dp0
|
|
||||||
|
|
||||||
IF EXIST "%dp0%\node.exe" (
|
|
||||||
SET "_prog=%dp0%\node.exe"
|
|
||||||
) ELSE (
|
|
||||||
SET "_prog=node"
|
|
||||||
SET PATHEXT=%PATHEXT:;.JS;=;%
|
|
||||||
)
|
|
||||||
|
|
||||||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\loose-envify\cli.js" %*
|
|
||||||
|
|
@ -1,28 +0,0 @@
|
||||||
#!/usr/bin/env pwsh
|
|
||||||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
|
||||||
|
|
||||||
$exe=""
|
|
||||||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
|
||||||
# Fix case when both the Windows and Linux builds of Node
|
|
||||||
# are installed in the same directory
|
|
||||||
$exe=".exe"
|
|
||||||
}
|
|
||||||
$ret=0
|
|
||||||
if (Test-Path "$basedir/node$exe") {
|
|
||||||
# Support pipeline input
|
|
||||||
if ($MyInvocation.ExpectingInput) {
|
|
||||||
$input | & "$basedir/node$exe" "$basedir/../loose-envify/cli.js" $args
|
|
||||||
} else {
|
|
||||||
& "$basedir/node$exe" "$basedir/../loose-envify/cli.js" $args
|
|
||||||
}
|
|
||||||
$ret=$LASTEXITCODE
|
|
||||||
} else {
|
|
||||||
# Support pipeline input
|
|
||||||
if ($MyInvocation.ExpectingInput) {
|
|
||||||
$input | & "node$exe" "$basedir/../loose-envify/cli.js" $args
|
|
||||||
} else {
|
|
||||||
& "node$exe" "$basedir/../loose-envify/cli.js" $args
|
|
||||||
}
|
|
||||||
$ret=$LASTEXITCODE
|
|
||||||
}
|
|
||||||
exit $ret
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
||||||
|
|
||||||
case `uname` in
|
|
||||||
*CYGWIN*|*MINGW*|*MSYS*)
|
|
||||||
if command -v cygpath > /dev/null 2>&1; then
|
|
||||||
basedir=`cygpath -w "$basedir"`
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
if [ -x "$basedir/node" ]; then
|
|
||||||
exec "$basedir/node" "$basedir/../nanoid/bin/nanoid.cjs" "$@"
|
|
||||||
else
|
|
||||||
exec node "$basedir/../nanoid/bin/nanoid.cjs" "$@"
|
|
||||||
fi
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
../nanoid/bin/nanoid.cjs
|
||||||
|
|
@ -1,17 +0,0 @@
|
||||||
@ECHO off
|
|
||||||
GOTO start
|
|
||||||
:find_dp0
|
|
||||||
SET dp0=%~dp0
|
|
||||||
EXIT /b
|
|
||||||
:start
|
|
||||||
SETLOCAL
|
|
||||||
CALL :find_dp0
|
|
||||||
|
|
||||||
IF EXIST "%dp0%\node.exe" (
|
|
||||||
SET "_prog=%dp0%\node.exe"
|
|
||||||
) ELSE (
|
|
||||||
SET "_prog=node"
|
|
||||||
SET PATHEXT=%PATHEXT:;.JS;=;%
|
|
||||||
)
|
|
||||||
|
|
||||||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\nanoid\bin\nanoid.cjs" %*
|
|
||||||
|
|
@ -1,28 +0,0 @@
|
||||||
#!/usr/bin/env pwsh
|
|
||||||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
|
||||||
|
|
||||||
$exe=""
|
|
||||||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
|
||||||
# Fix case when both the Windows and Linux builds of Node
|
|
||||||
# are installed in the same directory
|
|
||||||
$exe=".exe"
|
|
||||||
}
|
|
||||||
$ret=0
|
|
||||||
if (Test-Path "$basedir/node$exe") {
|
|
||||||
# Support pipeline input
|
|
||||||
if ($MyInvocation.ExpectingInput) {
|
|
||||||
$input | & "$basedir/node$exe" "$basedir/../nanoid/bin/nanoid.cjs" $args
|
|
||||||
} else {
|
|
||||||
& "$basedir/node$exe" "$basedir/../nanoid/bin/nanoid.cjs" $args
|
|
||||||
}
|
|
||||||
$ret=$LASTEXITCODE
|
|
||||||
} else {
|
|
||||||
# Support pipeline input
|
|
||||||
if ($MyInvocation.ExpectingInput) {
|
|
||||||
$input | & "node$exe" "$basedir/../nanoid/bin/nanoid.cjs" $args
|
|
||||||
} else {
|
|
||||||
& "node$exe" "$basedir/../nanoid/bin/nanoid.cjs" $args
|
|
||||||
}
|
|
||||||
$ret=$LASTEXITCODE
|
|
||||||
}
|
|
||||||
exit $ret
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
||||||
|
|
||||||
case `uname` in
|
|
||||||
*CYGWIN*|*MINGW*|*MSYS*)
|
|
||||||
if command -v cygpath > /dev/null 2>&1; then
|
|
||||||
basedir=`cygpath -w "$basedir"`
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
if [ -x "$basedir/node" ]; then
|
|
||||||
exec "$basedir/node" "$basedir/../which/bin/node-which" "$@"
|
|
||||||
else
|
|
||||||
exec node "$basedir/../which/bin/node-which" "$@"
|
|
||||||
fi
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
../which/bin/node-which
|
||||||
|
|
@ -1,17 +0,0 @@
|
||||||
@ECHO off
|
|
||||||
GOTO start
|
|
||||||
:find_dp0
|
|
||||||
SET dp0=%~dp0
|
|
||||||
EXIT /b
|
|
||||||
:start
|
|
||||||
SETLOCAL
|
|
||||||
CALL :find_dp0
|
|
||||||
|
|
||||||
IF EXIST "%dp0%\node.exe" (
|
|
||||||
SET "_prog=%dp0%\node.exe"
|
|
||||||
) ELSE (
|
|
||||||
SET "_prog=node"
|
|
||||||
SET PATHEXT=%PATHEXT:;.JS;=;%
|
|
||||||
)
|
|
||||||
|
|
||||||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\which\bin\node-which" %*
|
|
||||||
|
|
@ -1,28 +0,0 @@
|
||||||
#!/usr/bin/env pwsh
|
|
||||||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
|
||||||
|
|
||||||
$exe=""
|
|
||||||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
|
||||||
# Fix case when both the Windows and Linux builds of Node
|
|
||||||
# are installed in the same directory
|
|
||||||
$exe=".exe"
|
|
||||||
}
|
|
||||||
$ret=0
|
|
||||||
if (Test-Path "$basedir/node$exe") {
|
|
||||||
# Support pipeline input
|
|
||||||
if ($MyInvocation.ExpectingInput) {
|
|
||||||
$input | & "$basedir/node$exe" "$basedir/../which/bin/node-which" $args
|
|
||||||
} else {
|
|
||||||
& "$basedir/node$exe" "$basedir/../which/bin/node-which" $args
|
|
||||||
}
|
|
||||||
$ret=$LASTEXITCODE
|
|
||||||
} else {
|
|
||||||
# Support pipeline input
|
|
||||||
if ($MyInvocation.ExpectingInput) {
|
|
||||||
$input | & "node$exe" "$basedir/../which/bin/node-which" $args
|
|
||||||
} else {
|
|
||||||
& "node$exe" "$basedir/../which/bin/node-which" $args
|
|
||||||
}
|
|
||||||
$ret=$LASTEXITCODE
|
|
||||||
}
|
|
||||||
exit $ret
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
||||||
|
|
||||||
case `uname` in
|
|
||||||
*CYGWIN*|*MINGW*|*MSYS*)
|
|
||||||
if command -v cygpath > /dev/null 2>&1; then
|
|
||||||
basedir=`cygpath -w "$basedir"`
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
if [ -x "$basedir/node" ]; then
|
|
||||||
exec "$basedir/node" "$basedir/../rollup/dist/bin/rollup" "$@"
|
|
||||||
else
|
|
||||||
exec node "$basedir/../rollup/dist/bin/rollup" "$@"
|
|
||||||
fi
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
../rollup/dist/bin/rollup
|
||||||
|
|
@ -1,17 +0,0 @@
|
||||||
@ECHO off
|
|
||||||
GOTO start
|
|
||||||
:find_dp0
|
|
||||||
SET dp0=%~dp0
|
|
||||||
EXIT /b
|
|
||||||
:start
|
|
||||||
SETLOCAL
|
|
||||||
CALL :find_dp0
|
|
||||||
|
|
||||||
IF EXIST "%dp0%\node.exe" (
|
|
||||||
SET "_prog=%dp0%\node.exe"
|
|
||||||
) ELSE (
|
|
||||||
SET "_prog=node"
|
|
||||||
SET PATHEXT=%PATHEXT:;.JS;=;%
|
|
||||||
)
|
|
||||||
|
|
||||||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\rollup\dist\bin\rollup" %*
|
|
||||||
|
|
@ -1,28 +0,0 @@
|
||||||
#!/usr/bin/env pwsh
|
|
||||||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
|
||||||
|
|
||||||
$exe=""
|
|
||||||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
|
||||||
# Fix case when both the Windows and Linux builds of Node
|
|
||||||
# are installed in the same directory
|
|
||||||
$exe=".exe"
|
|
||||||
}
|
|
||||||
$ret=0
|
|
||||||
if (Test-Path "$basedir/node$exe") {
|
|
||||||
# Support pipeline input
|
|
||||||
if ($MyInvocation.ExpectingInput) {
|
|
||||||
$input | & "$basedir/node$exe" "$basedir/../rollup/dist/bin/rollup" $args
|
|
||||||
} else {
|
|
||||||
& "$basedir/node$exe" "$basedir/../rollup/dist/bin/rollup" $args
|
|
||||||
}
|
|
||||||
$ret=$LASTEXITCODE
|
|
||||||
} else {
|
|
||||||
# Support pipeline input
|
|
||||||
if ($MyInvocation.ExpectingInput) {
|
|
||||||
$input | & "node$exe" "$basedir/../rollup/dist/bin/rollup" $args
|
|
||||||
} else {
|
|
||||||
& "node$exe" "$basedir/../rollup/dist/bin/rollup" $args
|
|
||||||
}
|
|
||||||
$ret=$LASTEXITCODE
|
|
||||||
}
|
|
||||||
exit $ret
|
|
||||||
|
|
@ -1,16 +0,0 @@
|
||||||
#!/bin/sh
|
|
||||||
basedir=$(dirname "$(echo "$0" | sed -e 's,\\,/,g')")
|
|
||||||
|
|
||||||
case `uname` in
|
|
||||||
*CYGWIN*|*MINGW*|*MSYS*)
|
|
||||||
if command -v cygpath > /dev/null 2>&1; then
|
|
||||||
basedir=`cygpath -w "$basedir"`
|
|
||||||
fi
|
|
||||||
;;
|
|
||||||
esac
|
|
||||||
|
|
||||||
if [ -x "$basedir/node" ]; then
|
|
||||||
exec "$basedir/node" "$basedir/../vite/bin/vite.js" "$@"
|
|
||||||
else
|
|
||||||
exec node "$basedir/../vite/bin/vite.js" "$@"
|
|
||||||
fi
|
|
||||||
|
|
@ -0,0 +1 @@
|
||||||
|
../vite/bin/vite.js
|
||||||
|
|
@ -1,17 +0,0 @@
|
||||||
@ECHO off
|
|
||||||
GOTO start
|
|
||||||
:find_dp0
|
|
||||||
SET dp0=%~dp0
|
|
||||||
EXIT /b
|
|
||||||
:start
|
|
||||||
SETLOCAL
|
|
||||||
CALL :find_dp0
|
|
||||||
|
|
||||||
IF EXIST "%dp0%\node.exe" (
|
|
||||||
SET "_prog=%dp0%\node.exe"
|
|
||||||
) ELSE (
|
|
||||||
SET "_prog=node"
|
|
||||||
SET PATHEXT=%PATHEXT:;.JS;=;%
|
|
||||||
)
|
|
||||||
|
|
||||||
endLocal & goto #_undefined_# 2>NUL || title %COMSPEC% & "%_prog%" "%dp0%\..\vite\bin\vite.js" %*
|
|
||||||
|
|
@ -1,28 +0,0 @@
|
||||||
#!/usr/bin/env pwsh
|
|
||||||
$basedir=Split-Path $MyInvocation.MyCommand.Definition -Parent
|
|
||||||
|
|
||||||
$exe=""
|
|
||||||
if ($PSVersionTable.PSVersion -lt "6.0" -or $IsWindows) {
|
|
||||||
# Fix case when both the Windows and Linux builds of Node
|
|
||||||
# are installed in the same directory
|
|
||||||
$exe=".exe"
|
|
||||||
}
|
|
||||||
$ret=0
|
|
||||||
if (Test-Path "$basedir/node$exe") {
|
|
||||||
# Support pipeline input
|
|
||||||
if ($MyInvocation.ExpectingInput) {
|
|
||||||
$input | & "$basedir/node$exe" "$basedir/../vite/bin/vite.js" $args
|
|
||||||
} else {
|
|
||||||
& "$basedir/node$exe" "$basedir/../vite/bin/vite.js" $args
|
|
||||||
}
|
|
||||||
$ret=$LASTEXITCODE
|
|
||||||
} else {
|
|
||||||
# Support pipeline input
|
|
||||||
if ($MyInvocation.ExpectingInput) {
|
|
||||||
$input | & "node$exe" "$basedir/../vite/bin/vite.js" $args
|
|
||||||
} else {
|
|
||||||
& "node$exe" "$basedir/../vite/bin/vite.js" $args
|
|
||||||
}
|
|
||||||
$ret=$LASTEXITCODE
|
|
||||||
}
|
|
||||||
exit $ret
|
|
||||||
|
|
@ -13,10 +13,10 @@
|
||||||
"node": ">=6.9.0"
|
"node": ">=6.9.0"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@esbuild/win32-x64": {
|
"node_modules/@esbuild/linux-x64": {
|
||||||
"version": "0.25.10",
|
"version": "0.25.10",
|
||||||
"resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.25.10.tgz",
|
"resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.25.10.tgz",
|
||||||
"integrity": "sha512-9KpxSVFCu0iK1owoez6aC/s/EdUQLDN3adTxGCqxMVhrPDj6bt5dbrHDXUuq+Bs2vATFBBrQS5vdQ/Ed2P+nbw==",
|
"integrity": "sha512-QSX81KhFoZGwenVyPoberggdW1nrQZSvfVDAIUXr3WqLRZGZqWk/P4T8p2SP+de2Sr5HPcvjhcJzEiulKgnxtA==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
|
|
@ -24,7 +24,7 @@
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"os": [
|
"os": [
|
||||||
"win32"
|
"linux"
|
||||||
],
|
],
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=18"
|
"node": ">=18"
|
||||||
|
|
@ -1601,10 +1601,10 @@
|
||||||
"dev": true,
|
"dev": true,
|
||||||
"license": "MIT"
|
"license": "MIT"
|
||||||
},
|
},
|
||||||
"node_modules/@rollup/rollup-win32-x64-gnu": {
|
"node_modules/@rollup/rollup-linux-x64-gnu": {
|
||||||
"version": "4.52.3",
|
"version": "4.52.3",
|
||||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.52.3.tgz",
|
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.52.3.tgz",
|
||||||
"integrity": "sha512-s0hybmlHb56mWVZQj8ra9048/WZTPLILKxcvcq+8awSZmyiSUZjjem1AhU3Tf4ZKpYhK4mg36HtHDOe8QJS5PQ==",
|
"integrity": "sha512-tPgGd6bY2M2LJTA1uGq8fkSPK8ZLYjDjY+ZLK9WHncCnfIz29LIXIqUgzCR0hIefzy6Hpbe8Th5WOSwTM8E7LA==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
|
|
@ -1612,13 +1612,13 @@
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"os": [
|
"os": [
|
||||||
"win32"
|
"linux"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"node_modules/@rollup/rollup-win32-x64-msvc": {
|
"node_modules/@rollup/rollup-linux-x64-musl": {
|
||||||
"version": "4.52.3",
|
"version": "4.52.3",
|
||||||
"resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.52.3.tgz",
|
"resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.52.3.tgz",
|
||||||
"integrity": "sha512-zGIbEVVXVtauFgl3MRwGWEN36P5ZGenHRMgNw88X5wEhEBpq0XrMEZwOn07+ICrwM17XO5xfMZqh0OldCH5VTA==",
|
"integrity": "sha512-BCFkJjgk+WFzP+tcSMXq77ymAPIxsX9lFJWs+2JzuZTLtksJ2o5hvgTdIcZ5+oKzUDMwI0PfWzRBYAydAHF2Mw==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
|
|
@ -1626,7 +1626,7 @@
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"os": [
|
"os": [
|
||||||
"win32"
|
"linux"
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"node_modules/@supabase/auth-js": {
|
"node_modules/@supabase/auth-js": {
|
||||||
|
|
@ -1728,10 +1728,10 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"node_modules/@swc/core-win32-x64-msvc": {
|
"node_modules/@swc/core-linux-x64-gnu": {
|
||||||
"version": "1.13.20",
|
"version": "1.13.20",
|
||||||
"resolved": "https://registry.npmjs.org/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.13.20.tgz",
|
"resolved": "https://registry.npmjs.org/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.13.20.tgz",
|
||||||
"integrity": "sha512-Xm1JAew/P0TgsPSXyo60IH865fAmt9b2Mzd0FBJ77Q1xA1o/Oi9teCeGChyFq3+6JFao6uT0N4mcI3BJ4WBfkA==",
|
"integrity": "sha512-Bwmng57EuMod58Q8GDJA8rmUgFl20taK8w8MqeeDMiCnZY2+rJrNERbIX3sXZbwsf/kCIELZ7q4ZXiwdyB4zoQ==",
|
||||||
"cpu": [
|
"cpu": [
|
||||||
"x64"
|
"x64"
|
||||||
],
|
],
|
||||||
|
|
@ -1739,7 +1739,24 @@
|
||||||
"license": "Apache-2.0 AND MIT",
|
"license": "Apache-2.0 AND MIT",
|
||||||
"optional": true,
|
"optional": true,
|
||||||
"os": [
|
"os": [
|
||||||
"win32"
|
"linux"
|
||||||
|
],
|
||||||
|
"engines": {
|
||||||
|
"node": ">=10"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"node_modules/@swc/core-linux-x64-musl": {
|
||||||
|
"version": "1.13.20",
|
||||||
|
"resolved": "https://registry.npmjs.org/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.13.20.tgz",
|
||||||
|
"integrity": "sha512-osCm3VEKL/OIKInyhy75S5B+R+QGBdpR1B5vwTYqG/1RB4vFM3O5SDtRZabd6NV9Cxc9dcLztWyZjhs2qp63SQ==",
|
||||||
|
"cpu": [
|
||||||
|
"x64"
|
||||||
|
],
|
||||||
|
"dev": true,
|
||||||
|
"license": "Apache-2.0 AND MIT",
|
||||||
|
"optional": true,
|
||||||
|
"os": [
|
||||||
|
"linux"
|
||||||
],
|
],
|
||||||
"engines": {
|
"engines": {
|
||||||
"node": ">=10"
|
"node": ">=10"
|
||||||
|
|
|
||||||
|
|
@ -2,20 +2,20 @@
|
||||||
import {
|
import {
|
||||||
Primitive,
|
Primitive,
|
||||||
dispatchDiscreteCustomEvent
|
dispatchDiscreteCustomEvent
|
||||||
} from "./chunk-MSN5GK4F.js";
|
} from "./chunk-NGKDGOWI.js";
|
||||||
import {
|
import {
|
||||||
require_react_dom
|
require_react_dom
|
||||||
} from "./chunk-BANT3OPS.js";
|
} from "./chunk-K23GC2QC.js";
|
||||||
import {
|
import {
|
||||||
createSlot,
|
createSlot,
|
||||||
useComposedRefs
|
useComposedRefs
|
||||||
} from "./chunk-XZIKTWIR.js";
|
} from "./chunk-TLMPZXCM.js";
|
||||||
import {
|
import {
|
||||||
require_jsx_runtime
|
require_jsx_runtime
|
||||||
} from "./chunk-NMLHVZ76.js";
|
} from "./chunk-6PXSGDAH.js";
|
||||||
import {
|
import {
|
||||||
require_react
|
require_react
|
||||||
} from "./chunk-QRULMDK5.js";
|
} from "./chunk-DRWLMN53.js";
|
||||||
import {
|
import {
|
||||||
__toESM
|
__toESM
|
||||||
} from "./chunk-G3PMV62Z.js";
|
} from "./chunk-G3PMV62Z.js";
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -1,14 +1,14 @@
|
||||||
import {
|
import {
|
||||||
Primitive
|
Primitive
|
||||||
} from "./chunk-MSN5GK4F.js";
|
} from "./chunk-NGKDGOWI.js";
|
||||||
import "./chunk-BANT3OPS.js";
|
import "./chunk-K23GC2QC.js";
|
||||||
import "./chunk-XZIKTWIR.js";
|
import "./chunk-TLMPZXCM.js";
|
||||||
import {
|
import {
|
||||||
require_jsx_runtime
|
require_jsx_runtime
|
||||||
} from "./chunk-NMLHVZ76.js";
|
} from "./chunk-6PXSGDAH.js";
|
||||||
import {
|
import {
|
||||||
require_react
|
require_react
|
||||||
} from "./chunk-QRULMDK5.js";
|
} from "./chunk-DRWLMN53.js";
|
||||||
import {
|
import {
|
||||||
__toESM
|
__toESM
|
||||||
} from "./chunk-G3PMV62Z.js";
|
} from "./chunk-G3PMV62Z.js";
|
||||||
|
|
|
||||||
|
|
@ -3,9 +3,9 @@ import {
|
||||||
Slottable,
|
Slottable,
|
||||||
createSlot,
|
createSlot,
|
||||||
createSlottable
|
createSlottable
|
||||||
} from "./chunk-XZIKTWIR.js";
|
} from "./chunk-TLMPZXCM.js";
|
||||||
import "./chunk-NMLHVZ76.js";
|
import "./chunk-6PXSGDAH.js";
|
||||||
import "./chunk-QRULMDK5.js";
|
import "./chunk-DRWLMN53.js";
|
||||||
import "./chunk-G3PMV62Z.js";
|
import "./chunk-G3PMV62Z.js";
|
||||||
export {
|
export {
|
||||||
Slot as Root,
|
Slot as Root,
|
||||||
|
|
|
||||||
|
|
@ -1,106 +1,106 @@
|
||||||
{
|
{
|
||||||
"hash": "d77d83f1",
|
"hash": "c02a7a04",
|
||||||
"configHash": "a118b0b6",
|
"configHash": "d36eeadb",
|
||||||
"lockfileHash": "a35f8ec5",
|
"lockfileHash": "71693085",
|
||||||
"browserHash": "26bdb1d4",
|
"browserHash": "c81fa583",
|
||||||
"optimized": {
|
"optimized": {
|
||||||
"react/jsx-dev-runtime": {
|
"react/jsx-dev-runtime": {
|
||||||
"src": "../../react/jsx-dev-runtime.js",
|
"src": "../../react/jsx-dev-runtime.js",
|
||||||
"file": "react_jsx-dev-runtime.js",
|
"file": "react_jsx-dev-runtime.js",
|
||||||
"fileHash": "6cf9234b",
|
"fileHash": "96507cc9",
|
||||||
"needsInterop": true
|
"needsInterop": true
|
||||||
},
|
},
|
||||||
"@radix-ui/react-label": {
|
"@radix-ui/react-label": {
|
||||||
"src": "../../@radix-ui/react-label/dist/index.mjs",
|
"src": "../../@radix-ui/react-label/dist/index.mjs",
|
||||||
"file": "@radix-ui_react-label.js",
|
"file": "@radix-ui_react-label.js",
|
||||||
"fileHash": "90f97b09",
|
"fileHash": "cd4d4396",
|
||||||
"needsInterop": false
|
"needsInterop": false
|
||||||
},
|
},
|
||||||
"@radix-ui/react-select": {
|
"@radix-ui/react-select": {
|
||||||
"src": "../../@radix-ui/react-select/dist/index.mjs",
|
"src": "../../@radix-ui/react-select/dist/index.mjs",
|
||||||
"file": "@radix-ui_react-select.js",
|
"file": "@radix-ui_react-select.js",
|
||||||
"fileHash": "148e26d5",
|
"fileHash": "e3bccc02",
|
||||||
"needsInterop": false
|
"needsInterop": false
|
||||||
},
|
},
|
||||||
"@radix-ui/react-separator": {
|
"@radix-ui/react-separator": {
|
||||||
"src": "../../@radix-ui/react-separator/dist/index.mjs",
|
"src": "../../@radix-ui/react-separator/dist/index.mjs",
|
||||||
"file": "@radix-ui_react-separator.js",
|
"file": "@radix-ui_react-separator.js",
|
||||||
"fileHash": "bbe12398",
|
"fileHash": "cccdf600",
|
||||||
"needsInterop": false
|
"needsInterop": false
|
||||||
},
|
},
|
||||||
"@radix-ui/react-slot": {
|
"@radix-ui/react-slot": {
|
||||||
"src": "../../@radix-ui/react-slot/dist/index.mjs",
|
"src": "../../@radix-ui/react-slot/dist/index.mjs",
|
||||||
"file": "@radix-ui_react-slot.js",
|
"file": "@radix-ui_react-slot.js",
|
||||||
"fileHash": "4bc8d469",
|
"fileHash": "5a67462b",
|
||||||
"needsInterop": false
|
"needsInterop": false
|
||||||
},
|
},
|
||||||
"class-variance-authority": {
|
"class-variance-authority": {
|
||||||
"src": "../../class-variance-authority/dist/index.mjs",
|
"src": "../../class-variance-authority/dist/index.mjs",
|
||||||
"file": "class-variance-authority.js",
|
"file": "class-variance-authority.js",
|
||||||
"fileHash": "79794e13",
|
"fileHash": "8de36a40",
|
||||||
"needsInterop": false
|
"needsInterop": false
|
||||||
},
|
},
|
||||||
"clsx": {
|
"clsx": {
|
||||||
"src": "../../clsx/dist/clsx.mjs",
|
"src": "../../clsx/dist/clsx.mjs",
|
||||||
"file": "clsx.js",
|
"file": "clsx.js",
|
||||||
"fileHash": "2878e262",
|
"fileHash": "2471cc19",
|
||||||
"needsInterop": false
|
"needsInterop": false
|
||||||
},
|
},
|
||||||
"lucide-react": {
|
"lucide-react": {
|
||||||
"src": "../../lucide-react/dist/esm/lucide-react.js",
|
"src": "../../lucide-react/dist/esm/lucide-react.js",
|
||||||
"file": "lucide-react.js",
|
"file": "lucide-react.js",
|
||||||
"fileHash": "2580f9b2",
|
"fileHash": "c54e7541",
|
||||||
"needsInterop": false
|
"needsInterop": false
|
||||||
},
|
},
|
||||||
"motion/react": {
|
"motion/react": {
|
||||||
"src": "../../motion/dist/es/react.mjs",
|
"src": "../../motion/dist/es/react.mjs",
|
||||||
"file": "motion_react.js",
|
"file": "motion_react.js",
|
||||||
"fileHash": "cdfd7d87",
|
"fileHash": "6aab3a22",
|
||||||
"needsInterop": false
|
"needsInterop": false
|
||||||
},
|
},
|
||||||
"react": {
|
"react": {
|
||||||
"src": "../../react/index.js",
|
"src": "../../react/index.js",
|
||||||
"file": "react.js",
|
"file": "react.js",
|
||||||
"fileHash": "38cf7eee",
|
"fileHash": "33971b8d",
|
||||||
"needsInterop": true
|
"needsInterop": true
|
||||||
},
|
},
|
||||||
"react-dom/client": {
|
"react-dom/client": {
|
||||||
"src": "../../react-dom/client.js",
|
"src": "../../react-dom/client.js",
|
||||||
"file": "react-dom_client.js",
|
"file": "react-dom_client.js",
|
||||||
"fileHash": "c9fd387d",
|
"fileHash": "72f46ec7",
|
||||||
"needsInterop": true
|
"needsInterop": true
|
||||||
},
|
},
|
||||||
"react/jsx-runtime": {
|
"react/jsx-runtime": {
|
||||||
"src": "../../react/jsx-runtime.js",
|
"src": "../../react/jsx-runtime.js",
|
||||||
"file": "react_jsx-runtime.js",
|
"file": "react_jsx-runtime.js",
|
||||||
"fileHash": "58842a45",
|
"fileHash": "e468f34f",
|
||||||
"needsInterop": true
|
"needsInterop": true
|
||||||
},
|
},
|
||||||
"tailwind-merge": {
|
"tailwind-merge": {
|
||||||
"src": "../../tailwind-merge/dist/bundle-mjs.mjs",
|
"src": "../../tailwind-merge/dist/bundle-mjs.mjs",
|
||||||
"file": "tailwind-merge.js",
|
"file": "tailwind-merge.js",
|
||||||
"fileHash": "1f9cbb84",
|
"fileHash": "165b6bce",
|
||||||
"needsInterop": false
|
"needsInterop": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"chunks": {
|
"chunks": {
|
||||||
"chunk-MSN5GK4F": {
|
"chunk-NGKDGOWI": {
|
||||||
"file": "chunk-MSN5GK4F.js"
|
"file": "chunk-NGKDGOWI.js"
|
||||||
},
|
},
|
||||||
"chunk-BANT3OPS": {
|
"chunk-K23GC2QC": {
|
||||||
"file": "chunk-BANT3OPS.js"
|
"file": "chunk-K23GC2QC.js"
|
||||||
},
|
},
|
||||||
"chunk-XZIKTWIR": {
|
"chunk-TLMPZXCM": {
|
||||||
"file": "chunk-XZIKTWIR.js"
|
"file": "chunk-TLMPZXCM.js"
|
||||||
},
|
},
|
||||||
"chunk-U7P2NEEE": {
|
"chunk-U7P2NEEE": {
|
||||||
"file": "chunk-U7P2NEEE.js"
|
"file": "chunk-U7P2NEEE.js"
|
||||||
},
|
},
|
||||||
"chunk-NMLHVZ76": {
|
"chunk-6PXSGDAH": {
|
||||||
"file": "chunk-NMLHVZ76.js"
|
"file": "chunk-6PXSGDAH.js"
|
||||||
},
|
},
|
||||||
"chunk-QRULMDK5": {
|
"chunk-DRWLMN53": {
|
||||||
"file": "chunk-QRULMDK5.js"
|
"file": "chunk-DRWLMN53.js"
|
||||||
},
|
},
|
||||||
"chunk-G3PMV62Z": {
|
"chunk-G3PMV62Z": {
|
||||||
"file": "chunk-G3PMV62Z.js"
|
"file": "chunk-G3PMV62Z.js"
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"version": 3,
|
"version": 3,
|
||||||
"sources": ["../../class-variance-authority/dist/index.mjs"],
|
"sources": ["../../class-variance-authority/dist/index.mjs"],
|
||||||
"sourcesContent": ["/**\r\n * Copyright 2022 Joe Bell. All rights reserved.\r\n *\r\n * This file is licensed to you under the Apache License, Version 2.0\r\n * (the \"License\"); you may not use this file except in compliance with the\r\n * License. You may obtain a copy of the License at\r\n *\r\n * http://www.apache.org/licenses/LICENSE-2.0\r\n *\r\n * Unless required by applicable law or agreed to in writing, software\r\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\r\n * WARRANTIES OR REPRESENTATIONS OF ANY KIND, either express or implied. See the\r\n * License for the specific language governing permissions and limitations under\r\n * the License.\r\n */ import { clsx } from \"clsx\";\r\nconst falsyToString = (value)=>typeof value === \"boolean\" ? `${value}` : value === 0 ? \"0\" : value;\r\nexport const cx = clsx;\r\nexport const cva = (base, config)=>(props)=>{\r\n var _config_compoundVariants;\r\n if ((config === null || config === void 0 ? void 0 : config.variants) == null) return cx(base, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);\r\n const { variants, defaultVariants } = config;\r\n const getVariantClassNames = Object.keys(variants).map((variant)=>{\r\n const variantProp = props === null || props === void 0 ? void 0 : props[variant];\r\n const defaultVariantProp = defaultVariants === null || defaultVariants === void 0 ? void 0 : defaultVariants[variant];\r\n if (variantProp === null) return null;\r\n const variantKey = falsyToString(variantProp) || falsyToString(defaultVariantProp);\r\n return variants[variant][variantKey];\r\n });\r\n const propsWithoutUndefined = props && Object.entries(props).reduce((acc, param)=>{\r\n let [key, value] = param;\r\n if (value === undefined) {\r\n return acc;\r\n }\r\n acc[key] = value;\r\n return acc;\r\n }, {});\r\n const getCompoundVariantClassNames = config === null || config === void 0 ? void 0 : (_config_compoundVariants = config.compoundVariants) === null || _config_compoundVariants === void 0 ? void 0 : _config_compoundVariants.reduce((acc, param)=>{\r\n let { class: cvClass, className: cvClassName, ...compoundVariantOptions } = param;\r\n return Object.entries(compoundVariantOptions).every((param)=>{\r\n let [key, value] = param;\r\n return Array.isArray(value) ? value.includes({\r\n ...defaultVariants,\r\n ...propsWithoutUndefined\r\n }[key]) : ({\r\n ...defaultVariants,\r\n ...propsWithoutUndefined\r\n })[key] === value;\r\n }) ? [\r\n ...acc,\r\n cvClass,\r\n cvClassName\r\n ] : acc;\r\n }, []);\r\n return cx(base, getVariantClassNames, getCompoundVariantClassNames, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);\r\n };\r\n\r\n"],
|
"sourcesContent": ["/**\n * Copyright 2022 Joe Bell. All rights reserved.\n *\n * This file is licensed to you under the Apache License, Version 2.0\n * (the \"License\"); you may not use this file except in compliance with the\n * License. You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT\n * WARRANTIES OR REPRESENTATIONS OF ANY KIND, either express or implied. See the\n * License for the specific language governing permissions and limitations under\n * the License.\n */ import { clsx } from \"clsx\";\nconst falsyToString = (value)=>typeof value === \"boolean\" ? `${value}` : value === 0 ? \"0\" : value;\nexport const cx = clsx;\nexport const cva = (base, config)=>(props)=>{\n var _config_compoundVariants;\n if ((config === null || config === void 0 ? void 0 : config.variants) == null) return cx(base, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);\n const { variants, defaultVariants } = config;\n const getVariantClassNames = Object.keys(variants).map((variant)=>{\n const variantProp = props === null || props === void 0 ? void 0 : props[variant];\n const defaultVariantProp = defaultVariants === null || defaultVariants === void 0 ? void 0 : defaultVariants[variant];\n if (variantProp === null) return null;\n const variantKey = falsyToString(variantProp) || falsyToString(defaultVariantProp);\n return variants[variant][variantKey];\n });\n const propsWithoutUndefined = props && Object.entries(props).reduce((acc, param)=>{\n let [key, value] = param;\n if (value === undefined) {\n return acc;\n }\n acc[key] = value;\n return acc;\n }, {});\n const getCompoundVariantClassNames = config === null || config === void 0 ? void 0 : (_config_compoundVariants = config.compoundVariants) === null || _config_compoundVariants === void 0 ? void 0 : _config_compoundVariants.reduce((acc, param)=>{\n let { class: cvClass, className: cvClassName, ...compoundVariantOptions } = param;\n return Object.entries(compoundVariantOptions).every((param)=>{\n let [key, value] = param;\n return Array.isArray(value) ? value.includes({\n ...defaultVariants,\n ...propsWithoutUndefined\n }[key]) : ({\n ...defaultVariants,\n ...propsWithoutUndefined\n })[key] === value;\n }) ? [\n ...acc,\n cvClass,\n cvClassName\n ] : acc;\n }, []);\n return cx(base, getVariantClassNames, getCompoundVariantClassNames, props === null || props === void 0 ? void 0 : props.class, props === null || props === void 0 ? void 0 : props.className);\n };\n\n"],
|
||||||
"mappings": ";;;;;;AAeA,IAAM,gBAAgB,CAAC,UAAQ,OAAO,UAAU,YAAY,GAAG,KAAK,KAAK,UAAU,IAAI,MAAM;AACtF,IAAM,KAAK;AACX,IAAM,MAAM,CAAC,MAAM,WAAS,CAAC,UAAQ;AACpC,MAAI;AACJ,OAAK,WAAW,QAAQ,WAAW,SAAS,SAAS,OAAO,aAAa,KAAM,QAAO,GAAG,MAAM,UAAU,QAAQ,UAAU,SAAS,SAAS,MAAM,OAAO,UAAU,QAAQ,UAAU,SAAS,SAAS,MAAM,SAAS;AACvN,QAAM,EAAE,UAAU,gBAAgB,IAAI;AACtC,QAAM,uBAAuB,OAAO,KAAK,QAAQ,EAAE,IAAI,CAAC,YAAU;AAC9D,UAAM,cAAc,UAAU,QAAQ,UAAU,SAAS,SAAS,MAAM,OAAO;AAC/E,UAAM,qBAAqB,oBAAoB,QAAQ,oBAAoB,SAAS,SAAS,gBAAgB,OAAO;AACpH,QAAI,gBAAgB,KAAM,QAAO;AACjC,UAAM,aAAa,cAAc,WAAW,KAAK,cAAc,kBAAkB;AACjF,WAAO,SAAS,OAAO,EAAE,UAAU;AAAA,EACvC,CAAC;AACD,QAAM,wBAAwB,SAAS,OAAO,QAAQ,KAAK,EAAE,OAAO,CAAC,KAAK,UAAQ;AAC9E,QAAI,CAAC,KAAK,KAAK,IAAI;AACnB,QAAI,UAAU,QAAW;AACrB,aAAO;AAAA,IACX;AACA,QAAI,GAAG,IAAI;AACX,WAAO;AAAA,EACX,GAAG,CAAC,CAAC;AACL,QAAM,+BAA+B,WAAW,QAAQ,WAAW,SAAS,UAAU,2BAA2B,OAAO,sBAAsB,QAAQ,6BAA6B,SAAS,SAAS,yBAAyB,OAAO,CAAC,KAAK,UAAQ;AAC/O,QAAI,EAAE,OAAO,SAAS,WAAW,aAAa,GAAG,uBAAuB,IAAI;AAC5E,WAAO,OAAO,QAAQ,sBAAsB,EAAE,MAAM,CAACA,WAAQ;AACzD,UAAI,CAAC,KAAK,KAAK,IAAIA;AACnB,aAAO,MAAM,QAAQ,KAAK,IAAI,MAAM,SAAS;AAAA,QACzC,GAAG;AAAA,QACH,GAAG;AAAA,MACP,EAAE,GAAG,CAAC,IAAK;AAAA,QACP,GAAG;AAAA,QACH,GAAG;AAAA,MACP,EAAG,GAAG,MAAM;AAAA,IAChB,CAAC,IAAI;AAAA,MACD,GAAG;AAAA,MACH;AAAA,MACA;AAAA,IACJ,IAAI;AAAA,EACR,GAAG,CAAC,CAAC;AACL,SAAO,GAAG,MAAM,sBAAsB,8BAA8B,UAAU,QAAQ,UAAU,SAAS,SAAS,MAAM,OAAO,UAAU,QAAQ,UAAU,SAAS,SAAS,MAAM,SAAS;AAChM;",
|
"mappings": ";;;;;;AAeA,IAAM,gBAAgB,CAAC,UAAQ,OAAO,UAAU,YAAY,GAAG,KAAK,KAAK,UAAU,IAAI,MAAM;AACtF,IAAM,KAAK;AACX,IAAM,MAAM,CAAC,MAAM,WAAS,CAAC,UAAQ;AACpC,MAAI;AACJ,OAAK,WAAW,QAAQ,WAAW,SAAS,SAAS,OAAO,aAAa,KAAM,QAAO,GAAG,MAAM,UAAU,QAAQ,UAAU,SAAS,SAAS,MAAM,OAAO,UAAU,QAAQ,UAAU,SAAS,SAAS,MAAM,SAAS;AACvN,QAAM,EAAE,UAAU,gBAAgB,IAAI;AACtC,QAAM,uBAAuB,OAAO,KAAK,QAAQ,EAAE,IAAI,CAAC,YAAU;AAC9D,UAAM,cAAc,UAAU,QAAQ,UAAU,SAAS,SAAS,MAAM,OAAO;AAC/E,UAAM,qBAAqB,oBAAoB,QAAQ,oBAAoB,SAAS,SAAS,gBAAgB,OAAO;AACpH,QAAI,gBAAgB,KAAM,QAAO;AACjC,UAAM,aAAa,cAAc,WAAW,KAAK,cAAc,kBAAkB;AACjF,WAAO,SAAS,OAAO,EAAE,UAAU;AAAA,EACvC,CAAC;AACD,QAAM,wBAAwB,SAAS,OAAO,QAAQ,KAAK,EAAE,OAAO,CAAC,KAAK,UAAQ;AAC9E,QAAI,CAAC,KAAK,KAAK,IAAI;AACnB,QAAI,UAAU,QAAW;AACrB,aAAO;AAAA,IACX;AACA,QAAI,GAAG,IAAI;AACX,WAAO;AAAA,EACX,GAAG,CAAC,CAAC;AACL,QAAM,+BAA+B,WAAW,QAAQ,WAAW,SAAS,UAAU,2BAA2B,OAAO,sBAAsB,QAAQ,6BAA6B,SAAS,SAAS,yBAAyB,OAAO,CAAC,KAAK,UAAQ;AAC/O,QAAI,EAAE,OAAO,SAAS,WAAW,aAAa,GAAG,uBAAuB,IAAI;AAC5E,WAAO,OAAO,QAAQ,sBAAsB,EAAE,MAAM,CAACA,WAAQ;AACzD,UAAI,CAAC,KAAK,KAAK,IAAIA;AACnB,aAAO,MAAM,QAAQ,KAAK,IAAI,MAAM,SAAS;AAAA,QACzC,GAAG;AAAA,QACH,GAAG;AAAA,MACP,EAAE,GAAG,CAAC,IAAK;AAAA,QACP,GAAG;AAAA,QACH,GAAG;AAAA,MACP,EAAG,GAAG,MAAM;AAAA,IAChB,CAAC,IAAI;AAAA,MACD,GAAG;AAAA,MACH;AAAA,MACA;AAAA,IACJ,IAAI;AAAA,EACR,GAAG,CAAC,CAAC;AACL,SAAO,GAAG,MAAM,sBAAsB,8BAA8B,UAAU,QAAQ,UAAU,SAAS,SAAS,MAAM,OAAO,UAAU,QAAQ,UAAU,SAAS,SAAS,MAAM,SAAS;AAChM;",
|
||||||
"names": ["param"]
|
"names": ["param"]
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import {
|
import {
|
||||||
require_react
|
require_react
|
||||||
} from "./chunk-QRULMDK5.js";
|
} from "./chunk-DRWLMN53.js";
|
||||||
import {
|
import {
|
||||||
__export,
|
__export,
|
||||||
__toESM
|
__toESM
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -1,9 +1,9 @@
|
||||||
import {
|
import {
|
||||||
require_jsx_runtime
|
require_jsx_runtime
|
||||||
} from "./chunk-NMLHVZ76.js";
|
} from "./chunk-6PXSGDAH.js";
|
||||||
import {
|
import {
|
||||||
require_react
|
require_react
|
||||||
} from "./chunk-QRULMDK5.js";
|
} from "./chunk-DRWLMN53.js";
|
||||||
import {
|
import {
|
||||||
__commonJS,
|
__commonJS,
|
||||||
__export,
|
__export,
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
|
|
@ -1,7 +1,7 @@
|
||||||
import {
|
import {
|
||||||
require_react_dom
|
require_react_dom
|
||||||
} from "./chunk-BANT3OPS.js";
|
} from "./chunk-K23GC2QC.js";
|
||||||
import "./chunk-QRULMDK5.js";
|
import "./chunk-DRWLMN53.js";
|
||||||
import {
|
import {
|
||||||
__commonJS
|
__commonJS
|
||||||
} from "./chunk-G3PMV62Z.js";
|
} from "./chunk-G3PMV62Z.js";
|
||||||
|
|
|
||||||
|
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"version": 3,
|
"version": 3,
|
||||||
"sources": ["../../react-dom/client.js"],
|
"sources": ["../../react-dom/client.js"],
|
||||||
"sourcesContent": ["'use strict';\r\n\r\nvar m = require('react-dom');\r\nif (process.env.NODE_ENV === 'production') {\r\n exports.createRoot = m.createRoot;\r\n exports.hydrateRoot = m.hydrateRoot;\r\n} else {\r\n var i = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\r\n exports.createRoot = function(c, o) {\r\n i.usingClientEntryPoint = true;\r\n try {\r\n return m.createRoot(c, o);\r\n } finally {\r\n i.usingClientEntryPoint = false;\r\n }\r\n };\r\n exports.hydrateRoot = function(c, h, o) {\r\n i.usingClientEntryPoint = true;\r\n try {\r\n return m.hydrateRoot(c, h, o);\r\n } finally {\r\n i.usingClientEntryPoint = false;\r\n }\r\n };\r\n}\r\n"],
|
"sourcesContent": ["'use strict';\n\nvar m = require('react-dom');\nif (process.env.NODE_ENV === 'production') {\n exports.createRoot = m.createRoot;\n exports.hydrateRoot = m.hydrateRoot;\n} else {\n var i = m.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED;\n exports.createRoot = function(c, o) {\n i.usingClientEntryPoint = true;\n try {\n return m.createRoot(c, o);\n } finally {\n i.usingClientEntryPoint = false;\n }\n };\n exports.hydrateRoot = function(c, h, o) {\n i.usingClientEntryPoint = true;\n try {\n return m.hydrateRoot(c, h, o);\n } finally {\n i.usingClientEntryPoint = false;\n }\n };\n}\n"],
|
||||||
"mappings": ";;;;;;;;;AAAA;AAAA;AAEA,QAAI,IAAI;AACR,QAAI,OAAuC;AACzC,cAAQ,aAAa,EAAE;AACvB,cAAQ,cAAc,EAAE;AAAA,IAC1B,OAAO;AACD,UAAI,EAAE;AACV,cAAQ,aAAa,SAAS,GAAG,GAAG;AAClC,UAAE,wBAAwB;AAC1B,YAAI;AACF,iBAAO,EAAE,WAAW,GAAG,CAAC;AAAA,QAC1B,UAAE;AACA,YAAE,wBAAwB;AAAA,QAC5B;AAAA,MACF;AACA,cAAQ,cAAc,SAAS,GAAG,GAAG,GAAG;AACtC,UAAE,wBAAwB;AAC1B,YAAI;AACF,iBAAO,EAAE,YAAY,GAAG,GAAG,CAAC;AAAA,QAC9B,UAAE;AACA,YAAE,wBAAwB;AAAA,QAC5B;AAAA,MACF;AAAA,IACF;AAjBM;AAAA;AAAA;",
|
"mappings": ";;;;;;;;;AAAA;AAAA;AAEA,QAAI,IAAI;AACR,QAAI,OAAuC;AACzC,cAAQ,aAAa,EAAE;AACvB,cAAQ,cAAc,EAAE;AAAA,IAC1B,OAAO;AACD,UAAI,EAAE;AACV,cAAQ,aAAa,SAAS,GAAG,GAAG;AAClC,UAAE,wBAAwB;AAC1B,YAAI;AACF,iBAAO,EAAE,WAAW,GAAG,CAAC;AAAA,QAC1B,UAAE;AACA,YAAE,wBAAwB;AAAA,QAC5B;AAAA,MACF;AACA,cAAQ,cAAc,SAAS,GAAG,GAAG,GAAG;AACtC,UAAE,wBAAwB;AAC1B,YAAI;AACF,iBAAO,EAAE,YAAY,GAAG,GAAG,CAAC;AAAA,QAC9B,UAAE;AACA,YAAE,wBAAwB;AAAA,QAC5B;AAAA,MACF;AAAA,IACF;AAjBM;AAAA;AAAA;",
|
||||||
"names": []
|
"names": []
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,5 @@
|
||||||
import {
|
import {
|
||||||
require_react
|
require_react
|
||||||
} from "./chunk-QRULMDK5.js";
|
} from "./chunk-DRWLMN53.js";
|
||||||
import "./chunk-G3PMV62Z.js";
|
import "./chunk-G3PMV62Z.js";
|
||||||
export default require_react();
|
export default require_react();
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
import {
|
import {
|
||||||
require_react
|
require_react
|
||||||
} from "./chunk-QRULMDK5.js";
|
} from "./chunk-DRWLMN53.js";
|
||||||
import {
|
import {
|
||||||
__commonJS
|
__commonJS
|
||||||
} from "./chunk-G3PMV62Z.js";
|
} from "./chunk-G3PMV62Z.js";
|
||||||
|
|
|
||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
|
@ -1,3 +0,0 @@
|
||||||
# esbuild
|
|
||||||
|
|
||||||
This is the Windows 64-bit binary for esbuild, a JavaScript bundler and minifier. See https://github.com/evanw/esbuild for details.
|
|
||||||
Binary file not shown.
|
|
@ -1,20 +0,0 @@
|
||||||
{
|
|
||||||
"name": "@esbuild/win32-x64",
|
|
||||||
"version": "0.25.10",
|
|
||||||
"description": "The Windows 64-bit binary for esbuild, a JavaScript bundler.",
|
|
||||||
"repository": {
|
|
||||||
"type": "git",
|
|
||||||
"url": "git+https://github.com/evanw/esbuild.git"
|
|
||||||
},
|
|
||||||
"license": "MIT",
|
|
||||||
"preferUnplugged": true,
|
|
||||||
"engines": {
|
|
||||||
"node": ">=18"
|
|
||||||
},
|
|
||||||
"os": [
|
|
||||||
"win32"
|
|
||||||
],
|
|
||||||
"cpu": [
|
|
||||||
"x64"
|
|
||||||
]
|
|
||||||
}
|
|
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
|
|
@ -1,356 +1,356 @@
|
||||||
import { AlignedPlacement } from '@floating-ui/core';
|
import { AlignedPlacement } from '@floating-ui/core';
|
||||||
import { Alignment } from '@floating-ui/core';
|
import { Alignment } from '@floating-ui/core';
|
||||||
import type { ArrowOptions as ArrowOptions_2 } from '@floating-ui/core';
|
import type { ArrowOptions as ArrowOptions_2 } from '@floating-ui/core';
|
||||||
import type { AutoPlacementOptions as AutoPlacementOptions_2 } from '@floating-ui/core';
|
import type { AutoPlacementOptions as AutoPlacementOptions_2 } from '@floating-ui/core';
|
||||||
import { Axis } from '@floating-ui/core';
|
import { Axis } from '@floating-ui/core';
|
||||||
import { ClientRectObject } from '@floating-ui/core';
|
import { ClientRectObject } from '@floating-ui/core';
|
||||||
import type { ComputePositionConfig as ComputePositionConfig_2 } from '@floating-ui/core';
|
import type { ComputePositionConfig as ComputePositionConfig_2 } from '@floating-ui/core';
|
||||||
import { ComputePositionReturn } from '@floating-ui/core';
|
import { ComputePositionReturn } from '@floating-ui/core';
|
||||||
import { Coords } from '@floating-ui/core';
|
import { Coords } from '@floating-ui/core';
|
||||||
import type { DetectOverflowOptions as DetectOverflowOptions_2 } from '@floating-ui/core';
|
import type { DetectOverflowOptions as DetectOverflowOptions_2 } from '@floating-ui/core';
|
||||||
import { Dimensions } from '@floating-ui/core';
|
import { Dimensions } from '@floating-ui/core';
|
||||||
import { ElementContext } from '@floating-ui/core';
|
import { ElementContext } from '@floating-ui/core';
|
||||||
import { ElementRects } from '@floating-ui/core';
|
import { ElementRects } from '@floating-ui/core';
|
||||||
import type { FlipOptions as FlipOptions_2 } from '@floating-ui/core';
|
import type { FlipOptions as FlipOptions_2 } from '@floating-ui/core';
|
||||||
import { getOverflowAncestors } from '@floating-ui/utils/dom';
|
import { getOverflowAncestors } from '@floating-ui/utils/dom';
|
||||||
import type { HideOptions as HideOptions_2 } from '@floating-ui/core';
|
import type { HideOptions as HideOptions_2 } from '@floating-ui/core';
|
||||||
import { InlineOptions } from '@floating-ui/core';
|
import { InlineOptions } from '@floating-ui/core';
|
||||||
import { Length } from '@floating-ui/core';
|
import { Length } from '@floating-ui/core';
|
||||||
import { LimitShiftOptions } from '@floating-ui/core';
|
import { LimitShiftOptions } from '@floating-ui/core';
|
||||||
import type { Middleware as Middleware_2 } from '@floating-ui/core';
|
import type { Middleware as Middleware_2 } from '@floating-ui/core';
|
||||||
import { MiddlewareData } from '@floating-ui/core';
|
import { MiddlewareData } from '@floating-ui/core';
|
||||||
import { MiddlewareReturn } from '@floating-ui/core';
|
import { MiddlewareReturn } from '@floating-ui/core';
|
||||||
import type { MiddlewareState as MiddlewareState_2 } from '@floating-ui/core';
|
import type { MiddlewareState as MiddlewareState_2 } from '@floating-ui/core';
|
||||||
import { Padding } from '@floating-ui/core';
|
import { Padding } from '@floating-ui/core';
|
||||||
import { Placement } from '@floating-ui/core';
|
import { Placement } from '@floating-ui/core';
|
||||||
import { Rect } from '@floating-ui/core';
|
import { Rect } from '@floating-ui/core';
|
||||||
import { RootBoundary } from '@floating-ui/core';
|
import { RootBoundary } from '@floating-ui/core';
|
||||||
import type { ShiftOptions as ShiftOptions_2 } from '@floating-ui/core';
|
import type { ShiftOptions as ShiftOptions_2 } from '@floating-ui/core';
|
||||||
import { Side } from '@floating-ui/core';
|
import { Side } from '@floating-ui/core';
|
||||||
import { SideObject } from '@floating-ui/core';
|
import { SideObject } from '@floating-ui/core';
|
||||||
import type { SizeOptions as SizeOptions_2 } from '@floating-ui/core';
|
import type { SizeOptions as SizeOptions_2 } from '@floating-ui/core';
|
||||||
import { Strategy } from '@floating-ui/core';
|
import { Strategy } from '@floating-ui/core';
|
||||||
|
|
||||||
export { AlignedPlacement }
|
export { AlignedPlacement }
|
||||||
|
|
||||||
export { Alignment }
|
export { Alignment }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides data to position an inner element of the floating element so that it
|
* Provides data to position an inner element of the floating element so that it
|
||||||
* appears centered to the reference element.
|
* appears centered to the reference element.
|
||||||
* @see https://floating-ui.com/docs/arrow
|
* @see https://floating-ui.com/docs/arrow
|
||||||
*/
|
*/
|
||||||
export declare const arrow: (options: ArrowOptions | Derivable<ArrowOptions>) => Middleware;
|
export declare const arrow: (options: ArrowOptions | Derivable<ArrowOptions>) => Middleware;
|
||||||
|
|
||||||
export declare type ArrowOptions = Prettify<Omit<ArrowOptions_2, 'element'> & {
|
export declare type ArrowOptions = Prettify<Omit<ArrowOptions_2, 'element'> & {
|
||||||
element: Element;
|
element: Element;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Optimizes the visibility of the floating element by choosing the placement
|
* Optimizes the visibility of the floating element by choosing the placement
|
||||||
* that has the most space available automatically, without needing to specify a
|
* that has the most space available automatically, without needing to specify a
|
||||||
* preferred placement. Alternative to `flip`.
|
* preferred placement. Alternative to `flip`.
|
||||||
* @see https://floating-ui.com/docs/autoPlacement
|
* @see https://floating-ui.com/docs/autoPlacement
|
||||||
*/
|
*/
|
||||||
export declare const autoPlacement: (options?: AutoPlacementOptions | Derivable<AutoPlacementOptions>) => Middleware;
|
export declare const autoPlacement: (options?: AutoPlacementOptions | Derivable<AutoPlacementOptions>) => Middleware;
|
||||||
|
|
||||||
export declare type AutoPlacementOptions = Prettify<Omit<AutoPlacementOptions_2, 'boundary'> & DetectOverflowOptions>;
|
export declare type AutoPlacementOptions = Prettify<Omit<AutoPlacementOptions_2, 'boundary'> & DetectOverflowOptions>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Automatically updates the position of the floating element when necessary.
|
* Automatically updates the position of the floating element when necessary.
|
||||||
* Should only be called when the floating element is mounted on the DOM or
|
* Should only be called when the floating element is mounted on the DOM or
|
||||||
* visible on the screen.
|
* visible on the screen.
|
||||||
* @returns cleanup function that should be invoked when the floating element is
|
* @returns cleanup function that should be invoked when the floating element is
|
||||||
* removed from the DOM or hidden from the screen.
|
* removed from the DOM or hidden from the screen.
|
||||||
* @see https://floating-ui.com/docs/autoUpdate
|
* @see https://floating-ui.com/docs/autoUpdate
|
||||||
*/
|
*/
|
||||||
export declare function autoUpdate(reference: ReferenceElement, floating: FloatingElement, update: () => void, options?: AutoUpdateOptions): () => void;
|
export declare function autoUpdate(reference: ReferenceElement, floating: FloatingElement, update: () => void, options?: AutoUpdateOptions): () => void;
|
||||||
|
|
||||||
export declare interface AutoUpdateOptions {
|
export declare interface AutoUpdateOptions {
|
||||||
/**
|
/**
|
||||||
* Whether to update the position when an overflow ancestor is scrolled.
|
* Whether to update the position when an overflow ancestor is scrolled.
|
||||||
* @default true
|
* @default true
|
||||||
*/
|
*/
|
||||||
ancestorScroll?: boolean;
|
ancestorScroll?: boolean;
|
||||||
/**
|
/**
|
||||||
* Whether to update the position when an overflow ancestor is resized. This
|
* Whether to update the position when an overflow ancestor is resized. This
|
||||||
* uses the native `resize` event.
|
* uses the native `resize` event.
|
||||||
* @default true
|
* @default true
|
||||||
*/
|
*/
|
||||||
ancestorResize?: boolean;
|
ancestorResize?: boolean;
|
||||||
/**
|
/**
|
||||||
* Whether to update the position when either the reference or floating
|
* Whether to update the position when either the reference or floating
|
||||||
* elements resized. This uses a `ResizeObserver`.
|
* elements resized. This uses a `ResizeObserver`.
|
||||||
* @default true
|
* @default true
|
||||||
*/
|
*/
|
||||||
elementResize?: boolean;
|
elementResize?: boolean;
|
||||||
/**
|
/**
|
||||||
* Whether to update the position when the reference relocated on the screen
|
* Whether to update the position when the reference relocated on the screen
|
||||||
* due to layout shift.
|
* due to layout shift.
|
||||||
* @default true
|
* @default true
|
||||||
*/
|
*/
|
||||||
layoutShift?: boolean;
|
layoutShift?: boolean;
|
||||||
/**
|
/**
|
||||||
* Whether to update on every animation frame if necessary. Only use if you
|
* Whether to update on every animation frame if necessary. Only use if you
|
||||||
* need to update the position in response to an animation using transforms.
|
* need to update the position in response to an animation using transforms.
|
||||||
* @default false
|
* @default false
|
||||||
*/
|
*/
|
||||||
animationFrame?: boolean;
|
animationFrame?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export { Axis }
|
export { Axis }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The clipping boundary area of the floating element.
|
* The clipping boundary area of the floating element.
|
||||||
*/
|
*/
|
||||||
export declare type Boundary = 'clippingAncestors' | Element | Array<Element> | Rect;
|
export declare type Boundary = 'clippingAncestors' | Element | Array<Element> | Rect;
|
||||||
|
|
||||||
export { ClientRectObject }
|
export { ClientRectObject }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Computes the `x` and `y` coordinates that will place the floating element
|
* Computes the `x` and `y` coordinates that will place the floating element
|
||||||
* next to a given reference element.
|
* next to a given reference element.
|
||||||
*/
|
*/
|
||||||
export declare const computePosition: (reference: ReferenceElement, floating: FloatingElement, options?: Partial<ComputePositionConfig>) => Promise<ComputePositionReturn>;
|
export declare const computePosition: (reference: ReferenceElement, floating: FloatingElement, options?: Partial<ComputePositionConfig>) => Promise<ComputePositionReturn>;
|
||||||
|
|
||||||
export declare type ComputePositionConfig = Prettify<Omit<ComputePositionConfig_2, 'middleware' | 'platform'> & {
|
export declare type ComputePositionConfig = Prettify<Omit<ComputePositionConfig_2, 'middleware' | 'platform'> & {
|
||||||
/**
|
/**
|
||||||
* Array of middleware objects to modify the positioning or provide data for
|
* Array of middleware objects to modify the positioning or provide data for
|
||||||
* rendering.
|
* rendering.
|
||||||
*/
|
*/
|
||||||
middleware?: Array<Middleware | null | undefined | false>;
|
middleware?: Array<Middleware | null | undefined | false>;
|
||||||
/**
|
/**
|
||||||
* Custom or extended platform object.
|
* Custom or extended platform object.
|
||||||
*/
|
*/
|
||||||
platform?: Platform;
|
platform?: Platform;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
export { ComputePositionReturn }
|
export { ComputePositionReturn }
|
||||||
|
|
||||||
export { Coords }
|
export { Coords }
|
||||||
|
|
||||||
export declare type Derivable<T> = (state: MiddlewareState) => T;
|
export declare type Derivable<T> = (state: MiddlewareState) => T;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Resolves with an object of overflow side offsets that determine how much the
|
* Resolves with an object of overflow side offsets that determine how much the
|
||||||
* element is overflowing a given clipping boundary on each side.
|
* element is overflowing a given clipping boundary on each side.
|
||||||
* - positive = overflowing the boundary by that number of pixels
|
* - positive = overflowing the boundary by that number of pixels
|
||||||
* - negative = how many pixels left before it will overflow
|
* - negative = how many pixels left before it will overflow
|
||||||
* - 0 = lies flush with the boundary
|
* - 0 = lies flush with the boundary
|
||||||
* @see https://floating-ui.com/docs/detectOverflow
|
* @see https://floating-ui.com/docs/detectOverflow
|
||||||
*/
|
*/
|
||||||
export declare const detectOverflow: (state: MiddlewareState, options?: DetectOverflowOptions | Derivable<DetectOverflowOptions>) => Promise<SideObject>;
|
export declare const detectOverflow: (state: MiddlewareState, options?: DetectOverflowOptions | Derivable<DetectOverflowOptions>) => Promise<SideObject>;
|
||||||
|
|
||||||
export declare type DetectOverflowOptions = Prettify<Omit<DetectOverflowOptions_2, 'boundary'> & {
|
export declare type DetectOverflowOptions = Prettify<Omit<DetectOverflowOptions_2, 'boundary'> & {
|
||||||
boundary?: Boundary;
|
boundary?: Boundary;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
export { Dimensions }
|
export { Dimensions }
|
||||||
|
|
||||||
export { ElementContext }
|
export { ElementContext }
|
||||||
|
|
||||||
export { ElementRects }
|
export { ElementRects }
|
||||||
|
|
||||||
export declare interface Elements {
|
export declare interface Elements {
|
||||||
reference: ReferenceElement;
|
reference: ReferenceElement;
|
||||||
floating: FloatingElement;
|
floating: FloatingElement;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Optimizes the visibility of the floating element by flipping the `placement`
|
* Optimizes the visibility of the floating element by flipping the `placement`
|
||||||
* in order to keep it in view when the preferred placement(s) will overflow the
|
* in order to keep it in view when the preferred placement(s) will overflow the
|
||||||
* clipping boundary. Alternative to `autoPlacement`.
|
* clipping boundary. Alternative to `autoPlacement`.
|
||||||
* @see https://floating-ui.com/docs/flip
|
* @see https://floating-ui.com/docs/flip
|
||||||
*/
|
*/
|
||||||
export declare const flip: (options?: FlipOptions | Derivable<FlipOptions>) => Middleware;
|
export declare const flip: (options?: FlipOptions | Derivable<FlipOptions>) => Middleware;
|
||||||
|
|
||||||
export declare type FlipOptions = Prettify<Omit<FlipOptions_2, 'boundary'> & DetectOverflowOptions>;
|
export declare type FlipOptions = Prettify<Omit<FlipOptions_2, 'boundary'> & DetectOverflowOptions>;
|
||||||
|
|
||||||
export declare type FloatingElement = HTMLElement;
|
export declare type FloatingElement = HTMLElement;
|
||||||
|
|
||||||
export { getOverflowAncestors }
|
export { getOverflowAncestors }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides data to hide the floating element in applicable situations, such as
|
* Provides data to hide the floating element in applicable situations, such as
|
||||||
* when it is not in the same clipping context as the reference element.
|
* when it is not in the same clipping context as the reference element.
|
||||||
* @see https://floating-ui.com/docs/hide
|
* @see https://floating-ui.com/docs/hide
|
||||||
*/
|
*/
|
||||||
export declare const hide: (options?: HideOptions | Derivable<HideOptions>) => Middleware;
|
export declare const hide: (options?: HideOptions | Derivable<HideOptions>) => Middleware;
|
||||||
|
|
||||||
export declare type HideOptions = Prettify<Omit<HideOptions_2, 'boundary'> & DetectOverflowOptions>;
|
export declare type HideOptions = Prettify<Omit<HideOptions_2, 'boundary'> & DetectOverflowOptions>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides improved positioning for inline reference elements that can span
|
* Provides improved positioning for inline reference elements that can span
|
||||||
* over multiple lines, such as hyperlinks or range selections.
|
* over multiple lines, such as hyperlinks or range selections.
|
||||||
* @see https://floating-ui.com/docs/inline
|
* @see https://floating-ui.com/docs/inline
|
||||||
*/
|
*/
|
||||||
export declare const inline: (options?: InlineOptions | Derivable<InlineOptions>) => Middleware;
|
export declare const inline: (options?: InlineOptions | Derivable<InlineOptions>) => Middleware;
|
||||||
|
|
||||||
export { InlineOptions }
|
export { InlineOptions }
|
||||||
|
|
||||||
export { Length }
|
export { Length }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Built-in `limiter` that will stop `shift()` at a certain point.
|
* Built-in `limiter` that will stop `shift()` at a certain point.
|
||||||
*/
|
*/
|
||||||
export declare const limitShift: (options?: LimitShiftOptions | Derivable<LimitShiftOptions>) => {
|
export declare const limitShift: (options?: LimitShiftOptions | Derivable<LimitShiftOptions>) => {
|
||||||
options: any;
|
options: any;
|
||||||
fn: (state: MiddlewareState) => Coords;
|
fn: (state: MiddlewareState) => Coords;
|
||||||
};
|
};
|
||||||
|
|
||||||
export { LimitShiftOptions }
|
export { LimitShiftOptions }
|
||||||
|
|
||||||
export declare type Middleware = Prettify<Omit<Middleware_2, 'fn'> & {
|
export declare type Middleware = Prettify<Omit<Middleware_2, 'fn'> & {
|
||||||
fn(state: MiddlewareState): Promisable<MiddlewareReturn>;
|
fn(state: MiddlewareState): Promisable<MiddlewareReturn>;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated use `MiddlewareState` instead.
|
* @deprecated use `MiddlewareState` instead.
|
||||||
*/
|
*/
|
||||||
export declare type MiddlewareArguments = MiddlewareState;
|
export declare type MiddlewareArguments = MiddlewareState;
|
||||||
|
|
||||||
export { MiddlewareData }
|
export { MiddlewareData }
|
||||||
|
|
||||||
export { MiddlewareReturn }
|
export { MiddlewareReturn }
|
||||||
|
|
||||||
export declare type MiddlewareState = Prettify<Omit<MiddlewareState_2, 'elements'> & {
|
export declare type MiddlewareState = Prettify<Omit<MiddlewareState_2, 'elements'> & {
|
||||||
elements: Elements;
|
elements: Elements;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
export declare interface NodeScroll {
|
export declare interface NodeScroll {
|
||||||
scrollLeft: number;
|
scrollLeft: number;
|
||||||
scrollTop: number;
|
scrollTop: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Modifies the placement by translating the floating element along the
|
* Modifies the placement by translating the floating element along the
|
||||||
* specified axes.
|
* specified axes.
|
||||||
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
||||||
* object may be passed.
|
* object may be passed.
|
||||||
* @see https://floating-ui.com/docs/offset
|
* @see https://floating-ui.com/docs/offset
|
||||||
*/
|
*/
|
||||||
export declare const offset: (options?: OffsetOptions) => Middleware;
|
export declare const offset: (options?: OffsetOptions) => Middleware;
|
||||||
|
|
||||||
export declare type OffsetOptions = OffsetValue | Derivable<OffsetValue>;
|
export declare type OffsetOptions = OffsetValue | Derivable<OffsetValue>;
|
||||||
|
|
||||||
declare type OffsetValue = number | {
|
declare type OffsetValue = number | {
|
||||||
/**
|
/**
|
||||||
* The axis that runs along the side of the floating element. Represents
|
* The axis that runs along the side of the floating element. Represents
|
||||||
* the distance (gutter or margin) between the reference and floating
|
* the distance (gutter or margin) between the reference and floating
|
||||||
* element.
|
* element.
|
||||||
* @default 0
|
* @default 0
|
||||||
*/
|
*/
|
||||||
mainAxis?: number;
|
mainAxis?: number;
|
||||||
/**
|
/**
|
||||||
* The axis that runs along the alignment of the floating element.
|
* The axis that runs along the alignment of the floating element.
|
||||||
* Represents the skidding between the reference and floating element.
|
* Represents the skidding between the reference and floating element.
|
||||||
* @default 0
|
* @default 0
|
||||||
*/
|
*/
|
||||||
crossAxis?: number;
|
crossAxis?: number;
|
||||||
/**
|
/**
|
||||||
* The same axis as `crossAxis` but applies only to aligned placements
|
* The same axis as `crossAxis` but applies only to aligned placements
|
||||||
* and inverts the `end` alignment. When set to a number, it overrides the
|
* and inverts the `end` alignment. When set to a number, it overrides the
|
||||||
* `crossAxis` value.
|
* `crossAxis` value.
|
||||||
*
|
*
|
||||||
* A positive number will move the floating element in the direction of
|
* A positive number will move the floating element in the direction of
|
||||||
* the opposite edge to the one that is aligned, while a negative number
|
* the opposite edge to the one that is aligned, while a negative number
|
||||||
* the reverse.
|
* the reverse.
|
||||||
* @default null
|
* @default null
|
||||||
*/
|
*/
|
||||||
alignmentAxis?: number | null;
|
alignmentAxis?: number | null;
|
||||||
};
|
};
|
||||||
|
|
||||||
export { Padding }
|
export { Padding }
|
||||||
|
|
||||||
export { Placement }
|
export { Placement }
|
||||||
|
|
||||||
export declare interface Platform {
|
export declare interface Platform {
|
||||||
getElementRects: (args: {
|
getElementRects: (args: {
|
||||||
reference: ReferenceElement;
|
reference: ReferenceElement;
|
||||||
floating: FloatingElement;
|
floating: FloatingElement;
|
||||||
strategy: Strategy;
|
strategy: Strategy;
|
||||||
}) => Promisable<ElementRects>;
|
}) => Promisable<ElementRects>;
|
||||||
getClippingRect: (args: {
|
getClippingRect: (args: {
|
||||||
element: Element;
|
element: Element;
|
||||||
boundary: Boundary;
|
boundary: Boundary;
|
||||||
rootBoundary: RootBoundary;
|
rootBoundary: RootBoundary;
|
||||||
strategy: Strategy;
|
strategy: Strategy;
|
||||||
}) => Promisable<Rect>;
|
}) => Promisable<Rect>;
|
||||||
getDimensions: (element: Element) => Promisable<Dimensions>;
|
getDimensions: (element: Element) => Promisable<Dimensions>;
|
||||||
convertOffsetParentRelativeRectToViewportRelativeRect: (args: {
|
convertOffsetParentRelativeRectToViewportRelativeRect: (args: {
|
||||||
elements?: Elements;
|
elements?: Elements;
|
||||||
rect: Rect;
|
rect: Rect;
|
||||||
offsetParent: Element;
|
offsetParent: Element;
|
||||||
strategy: Strategy;
|
strategy: Strategy;
|
||||||
}) => Promisable<Rect>;
|
}) => Promisable<Rect>;
|
||||||
getOffsetParent: (element: Element, polyfill?: (element: HTMLElement) => Element | null) => Promisable<Element | Window>;
|
getOffsetParent: (element: Element, polyfill?: (element: HTMLElement) => Element | null) => Promisable<Element | Window>;
|
||||||
isElement: (value: unknown) => Promisable<boolean>;
|
isElement: (value: unknown) => Promisable<boolean>;
|
||||||
getDocumentElement: (element: Element) => Promisable<HTMLElement>;
|
getDocumentElement: (element: Element) => Promisable<HTMLElement>;
|
||||||
getClientRects: (element: Element) => Promisable<Array<ClientRectObject>>;
|
getClientRects: (element: Element) => Promisable<Array<ClientRectObject>>;
|
||||||
isRTL: (element: Element) => Promisable<boolean>;
|
isRTL: (element: Element) => Promisable<boolean>;
|
||||||
getScale: (element: HTMLElement) => Promisable<{
|
getScale: (element: HTMLElement) => Promisable<{
|
||||||
x: number;
|
x: number;
|
||||||
y: number;
|
y: number;
|
||||||
}>;
|
}>;
|
||||||
}
|
}
|
||||||
|
|
||||||
export declare const platform: Platform;
|
export declare const platform: Platform;
|
||||||
|
|
||||||
declare type Prettify<T> = {
|
declare type Prettify<T> = {
|
||||||
[K in keyof T]: T[K];
|
[K in keyof T]: T[K];
|
||||||
} & {};
|
} & {};
|
||||||
|
|
||||||
declare type Promisable<T> = T | Promise<T>;
|
declare type Promisable<T> = T | Promise<T>;
|
||||||
|
|
||||||
export { Rect }
|
export { Rect }
|
||||||
|
|
||||||
export declare type ReferenceElement = Element | VirtualElement;
|
export declare type ReferenceElement = Element | VirtualElement;
|
||||||
|
|
||||||
export { RootBoundary }
|
export { RootBoundary }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Optimizes the visibility of the floating element by shifting it in order to
|
* Optimizes the visibility of the floating element by shifting it in order to
|
||||||
* keep it in view when it will overflow the clipping boundary.
|
* keep it in view when it will overflow the clipping boundary.
|
||||||
* @see https://floating-ui.com/docs/shift
|
* @see https://floating-ui.com/docs/shift
|
||||||
*/
|
*/
|
||||||
export declare const shift: (options?: ShiftOptions | Derivable<ShiftOptions>) => Middleware;
|
export declare const shift: (options?: ShiftOptions | Derivable<ShiftOptions>) => Middleware;
|
||||||
|
|
||||||
export declare type ShiftOptions = Prettify<Omit<ShiftOptions_2, 'boundary'> & DetectOverflowOptions>;
|
export declare type ShiftOptions = Prettify<Omit<ShiftOptions_2, 'boundary'> & DetectOverflowOptions>;
|
||||||
|
|
||||||
export { Side }
|
export { Side }
|
||||||
|
|
||||||
export { SideObject }
|
export { SideObject }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides data that allows you to change the size of the floating element —
|
* Provides data that allows you to change the size of the floating element —
|
||||||
* for instance, prevent it from overflowing the clipping boundary or match the
|
* for instance, prevent it from overflowing the clipping boundary or match the
|
||||||
* width of the reference element.
|
* width of the reference element.
|
||||||
* @see https://floating-ui.com/docs/size
|
* @see https://floating-ui.com/docs/size
|
||||||
*/
|
*/
|
||||||
export declare const size: (options?: SizeOptions | Derivable<SizeOptions>) => Middleware;
|
export declare const size: (options?: SizeOptions | Derivable<SizeOptions>) => Middleware;
|
||||||
|
|
||||||
export declare type SizeOptions = Prettify<Omit<SizeOptions_2, 'apply' | 'boundary'> & DetectOverflowOptions & {
|
export declare type SizeOptions = Prettify<Omit<SizeOptions_2, 'apply' | 'boundary'> & DetectOverflowOptions & {
|
||||||
/**
|
/**
|
||||||
* Function that is called to perform style mutations to the floating element
|
* Function that is called to perform style mutations to the floating element
|
||||||
* to change its size.
|
* to change its size.
|
||||||
* @default undefined
|
* @default undefined
|
||||||
*/
|
*/
|
||||||
apply?(args: MiddlewareState & {
|
apply?(args: MiddlewareState & {
|
||||||
availableWidth: number;
|
availableWidth: number;
|
||||||
availableHeight: number;
|
availableHeight: number;
|
||||||
}): Promisable<void>;
|
}): Promisable<void>;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
export { Strategy }
|
export { Strategy }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Custom positioning reference element.
|
* Custom positioning reference element.
|
||||||
* @see https://floating-ui.com/docs/virtual-elements
|
* @see https://floating-ui.com/docs/virtual-elements
|
||||||
*/
|
*/
|
||||||
export declare interface VirtualElement {
|
export declare interface VirtualElement {
|
||||||
getBoundingClientRect(): ClientRectObject;
|
getBoundingClientRect(): ClientRectObject;
|
||||||
getClientRects?(): Array<ClientRectObject> | DOMRectList;
|
getClientRects?(): Array<ClientRectObject> | DOMRectList;
|
||||||
contextElement?: Element;
|
contextElement?: Element;
|
||||||
}
|
}
|
||||||
|
|
||||||
export { }
|
export { }
|
||||||
|
|
|
||||||
|
|
@ -1,356 +1,356 @@
|
||||||
import { AlignedPlacement } from '@floating-ui/core';
|
import { AlignedPlacement } from '@floating-ui/core';
|
||||||
import { Alignment } from '@floating-ui/core';
|
import { Alignment } from '@floating-ui/core';
|
||||||
import type { ArrowOptions as ArrowOptions_2 } from '@floating-ui/core';
|
import type { ArrowOptions as ArrowOptions_2 } from '@floating-ui/core';
|
||||||
import type { AutoPlacementOptions as AutoPlacementOptions_2 } from '@floating-ui/core';
|
import type { AutoPlacementOptions as AutoPlacementOptions_2 } from '@floating-ui/core';
|
||||||
import { Axis } from '@floating-ui/core';
|
import { Axis } from '@floating-ui/core';
|
||||||
import { ClientRectObject } from '@floating-ui/core';
|
import { ClientRectObject } from '@floating-ui/core';
|
||||||
import type { ComputePositionConfig as ComputePositionConfig_2 } from '@floating-ui/core';
|
import type { ComputePositionConfig as ComputePositionConfig_2 } from '@floating-ui/core';
|
||||||
import { ComputePositionReturn } from '@floating-ui/core';
|
import { ComputePositionReturn } from '@floating-ui/core';
|
||||||
import { Coords } from '@floating-ui/core';
|
import { Coords } from '@floating-ui/core';
|
||||||
import type { DetectOverflowOptions as DetectOverflowOptions_2 } from '@floating-ui/core';
|
import type { DetectOverflowOptions as DetectOverflowOptions_2 } from '@floating-ui/core';
|
||||||
import { Dimensions } from '@floating-ui/core';
|
import { Dimensions } from '@floating-ui/core';
|
||||||
import { ElementContext } from '@floating-ui/core';
|
import { ElementContext } from '@floating-ui/core';
|
||||||
import { ElementRects } from '@floating-ui/core';
|
import { ElementRects } from '@floating-ui/core';
|
||||||
import type { FlipOptions as FlipOptions_2 } from '@floating-ui/core';
|
import type { FlipOptions as FlipOptions_2 } from '@floating-ui/core';
|
||||||
import { getOverflowAncestors } from '@floating-ui/utils/dom';
|
import { getOverflowAncestors } from '@floating-ui/utils/dom';
|
||||||
import type { HideOptions as HideOptions_2 } from '@floating-ui/core';
|
import type { HideOptions as HideOptions_2 } from '@floating-ui/core';
|
||||||
import { InlineOptions } from '@floating-ui/core';
|
import { InlineOptions } from '@floating-ui/core';
|
||||||
import { Length } from '@floating-ui/core';
|
import { Length } from '@floating-ui/core';
|
||||||
import { LimitShiftOptions } from '@floating-ui/core';
|
import { LimitShiftOptions } from '@floating-ui/core';
|
||||||
import type { Middleware as Middleware_2 } from '@floating-ui/core';
|
import type { Middleware as Middleware_2 } from '@floating-ui/core';
|
||||||
import { MiddlewareData } from '@floating-ui/core';
|
import { MiddlewareData } from '@floating-ui/core';
|
||||||
import { MiddlewareReturn } from '@floating-ui/core';
|
import { MiddlewareReturn } from '@floating-ui/core';
|
||||||
import type { MiddlewareState as MiddlewareState_2 } from '@floating-ui/core';
|
import type { MiddlewareState as MiddlewareState_2 } from '@floating-ui/core';
|
||||||
import { Padding } from '@floating-ui/core';
|
import { Padding } from '@floating-ui/core';
|
||||||
import { Placement } from '@floating-ui/core';
|
import { Placement } from '@floating-ui/core';
|
||||||
import { Rect } from '@floating-ui/core';
|
import { Rect } from '@floating-ui/core';
|
||||||
import { RootBoundary } from '@floating-ui/core';
|
import { RootBoundary } from '@floating-ui/core';
|
||||||
import type { ShiftOptions as ShiftOptions_2 } from '@floating-ui/core';
|
import type { ShiftOptions as ShiftOptions_2 } from '@floating-ui/core';
|
||||||
import { Side } from '@floating-ui/core';
|
import { Side } from '@floating-ui/core';
|
||||||
import { SideObject } from '@floating-ui/core';
|
import { SideObject } from '@floating-ui/core';
|
||||||
import type { SizeOptions as SizeOptions_2 } from '@floating-ui/core';
|
import type { SizeOptions as SizeOptions_2 } from '@floating-ui/core';
|
||||||
import { Strategy } from '@floating-ui/core';
|
import { Strategy } from '@floating-ui/core';
|
||||||
|
|
||||||
export { AlignedPlacement }
|
export { AlignedPlacement }
|
||||||
|
|
||||||
export { Alignment }
|
export { Alignment }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides data to position an inner element of the floating element so that it
|
* Provides data to position an inner element of the floating element so that it
|
||||||
* appears centered to the reference element.
|
* appears centered to the reference element.
|
||||||
* @see https://floating-ui.com/docs/arrow
|
* @see https://floating-ui.com/docs/arrow
|
||||||
*/
|
*/
|
||||||
export declare const arrow: (options: ArrowOptions | Derivable<ArrowOptions>) => Middleware;
|
export declare const arrow: (options: ArrowOptions | Derivable<ArrowOptions>) => Middleware;
|
||||||
|
|
||||||
export declare type ArrowOptions = Prettify<Omit<ArrowOptions_2, 'element'> & {
|
export declare type ArrowOptions = Prettify<Omit<ArrowOptions_2, 'element'> & {
|
||||||
element: Element;
|
element: Element;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Optimizes the visibility of the floating element by choosing the placement
|
* Optimizes the visibility of the floating element by choosing the placement
|
||||||
* that has the most space available automatically, without needing to specify a
|
* that has the most space available automatically, without needing to specify a
|
||||||
* preferred placement. Alternative to `flip`.
|
* preferred placement. Alternative to `flip`.
|
||||||
* @see https://floating-ui.com/docs/autoPlacement
|
* @see https://floating-ui.com/docs/autoPlacement
|
||||||
*/
|
*/
|
||||||
export declare const autoPlacement: (options?: AutoPlacementOptions | Derivable<AutoPlacementOptions>) => Middleware;
|
export declare const autoPlacement: (options?: AutoPlacementOptions | Derivable<AutoPlacementOptions>) => Middleware;
|
||||||
|
|
||||||
export declare type AutoPlacementOptions = Prettify<Omit<AutoPlacementOptions_2, 'boundary'> & DetectOverflowOptions>;
|
export declare type AutoPlacementOptions = Prettify<Omit<AutoPlacementOptions_2, 'boundary'> & DetectOverflowOptions>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Automatically updates the position of the floating element when necessary.
|
* Automatically updates the position of the floating element when necessary.
|
||||||
* Should only be called when the floating element is mounted on the DOM or
|
* Should only be called when the floating element is mounted on the DOM or
|
||||||
* visible on the screen.
|
* visible on the screen.
|
||||||
* @returns cleanup function that should be invoked when the floating element is
|
* @returns cleanup function that should be invoked when the floating element is
|
||||||
* removed from the DOM or hidden from the screen.
|
* removed from the DOM or hidden from the screen.
|
||||||
* @see https://floating-ui.com/docs/autoUpdate
|
* @see https://floating-ui.com/docs/autoUpdate
|
||||||
*/
|
*/
|
||||||
export declare function autoUpdate(reference: ReferenceElement, floating: FloatingElement, update: () => void, options?: AutoUpdateOptions): () => void;
|
export declare function autoUpdate(reference: ReferenceElement, floating: FloatingElement, update: () => void, options?: AutoUpdateOptions): () => void;
|
||||||
|
|
||||||
export declare interface AutoUpdateOptions {
|
export declare interface AutoUpdateOptions {
|
||||||
/**
|
/**
|
||||||
* Whether to update the position when an overflow ancestor is scrolled.
|
* Whether to update the position when an overflow ancestor is scrolled.
|
||||||
* @default true
|
* @default true
|
||||||
*/
|
*/
|
||||||
ancestorScroll?: boolean;
|
ancestorScroll?: boolean;
|
||||||
/**
|
/**
|
||||||
* Whether to update the position when an overflow ancestor is resized. This
|
* Whether to update the position when an overflow ancestor is resized. This
|
||||||
* uses the native `resize` event.
|
* uses the native `resize` event.
|
||||||
* @default true
|
* @default true
|
||||||
*/
|
*/
|
||||||
ancestorResize?: boolean;
|
ancestorResize?: boolean;
|
||||||
/**
|
/**
|
||||||
* Whether to update the position when either the reference or floating
|
* Whether to update the position when either the reference or floating
|
||||||
* elements resized. This uses a `ResizeObserver`.
|
* elements resized. This uses a `ResizeObserver`.
|
||||||
* @default true
|
* @default true
|
||||||
*/
|
*/
|
||||||
elementResize?: boolean;
|
elementResize?: boolean;
|
||||||
/**
|
/**
|
||||||
* Whether to update the position when the reference relocated on the screen
|
* Whether to update the position when the reference relocated on the screen
|
||||||
* due to layout shift.
|
* due to layout shift.
|
||||||
* @default true
|
* @default true
|
||||||
*/
|
*/
|
||||||
layoutShift?: boolean;
|
layoutShift?: boolean;
|
||||||
/**
|
/**
|
||||||
* Whether to update on every animation frame if necessary. Only use if you
|
* Whether to update on every animation frame if necessary. Only use if you
|
||||||
* need to update the position in response to an animation using transforms.
|
* need to update the position in response to an animation using transforms.
|
||||||
* @default false
|
* @default false
|
||||||
*/
|
*/
|
||||||
animationFrame?: boolean;
|
animationFrame?: boolean;
|
||||||
}
|
}
|
||||||
|
|
||||||
export { Axis }
|
export { Axis }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The clipping boundary area of the floating element.
|
* The clipping boundary area of the floating element.
|
||||||
*/
|
*/
|
||||||
export declare type Boundary = 'clippingAncestors' | Element | Array<Element> | Rect;
|
export declare type Boundary = 'clippingAncestors' | Element | Array<Element> | Rect;
|
||||||
|
|
||||||
export { ClientRectObject }
|
export { ClientRectObject }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Computes the `x` and `y` coordinates that will place the floating element
|
* Computes the `x` and `y` coordinates that will place the floating element
|
||||||
* next to a given reference element.
|
* next to a given reference element.
|
||||||
*/
|
*/
|
||||||
export declare const computePosition: (reference: ReferenceElement, floating: FloatingElement, options?: Partial<ComputePositionConfig>) => Promise<ComputePositionReturn>;
|
export declare const computePosition: (reference: ReferenceElement, floating: FloatingElement, options?: Partial<ComputePositionConfig>) => Promise<ComputePositionReturn>;
|
||||||
|
|
||||||
export declare type ComputePositionConfig = Prettify<Omit<ComputePositionConfig_2, 'middleware' | 'platform'> & {
|
export declare type ComputePositionConfig = Prettify<Omit<ComputePositionConfig_2, 'middleware' | 'platform'> & {
|
||||||
/**
|
/**
|
||||||
* Array of middleware objects to modify the positioning or provide data for
|
* Array of middleware objects to modify the positioning or provide data for
|
||||||
* rendering.
|
* rendering.
|
||||||
*/
|
*/
|
||||||
middleware?: Array<Middleware | null | undefined | false>;
|
middleware?: Array<Middleware | null | undefined | false>;
|
||||||
/**
|
/**
|
||||||
* Custom or extended platform object.
|
* Custom or extended platform object.
|
||||||
*/
|
*/
|
||||||
platform?: Platform;
|
platform?: Platform;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
export { ComputePositionReturn }
|
export { ComputePositionReturn }
|
||||||
|
|
||||||
export { Coords }
|
export { Coords }
|
||||||
|
|
||||||
export declare type Derivable<T> = (state: MiddlewareState) => T;
|
export declare type Derivable<T> = (state: MiddlewareState) => T;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Resolves with an object of overflow side offsets that determine how much the
|
* Resolves with an object of overflow side offsets that determine how much the
|
||||||
* element is overflowing a given clipping boundary on each side.
|
* element is overflowing a given clipping boundary on each side.
|
||||||
* - positive = overflowing the boundary by that number of pixels
|
* - positive = overflowing the boundary by that number of pixels
|
||||||
* - negative = how many pixels left before it will overflow
|
* - negative = how many pixels left before it will overflow
|
||||||
* - 0 = lies flush with the boundary
|
* - 0 = lies flush with the boundary
|
||||||
* @see https://floating-ui.com/docs/detectOverflow
|
* @see https://floating-ui.com/docs/detectOverflow
|
||||||
*/
|
*/
|
||||||
export declare const detectOverflow: (state: MiddlewareState, options?: DetectOverflowOptions | Derivable<DetectOverflowOptions>) => Promise<SideObject>;
|
export declare const detectOverflow: (state: MiddlewareState, options?: DetectOverflowOptions | Derivable<DetectOverflowOptions>) => Promise<SideObject>;
|
||||||
|
|
||||||
export declare type DetectOverflowOptions = Prettify<Omit<DetectOverflowOptions_2, 'boundary'> & {
|
export declare type DetectOverflowOptions = Prettify<Omit<DetectOverflowOptions_2, 'boundary'> & {
|
||||||
boundary?: Boundary;
|
boundary?: Boundary;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
export { Dimensions }
|
export { Dimensions }
|
||||||
|
|
||||||
export { ElementContext }
|
export { ElementContext }
|
||||||
|
|
||||||
export { ElementRects }
|
export { ElementRects }
|
||||||
|
|
||||||
export declare interface Elements {
|
export declare interface Elements {
|
||||||
reference: ReferenceElement;
|
reference: ReferenceElement;
|
||||||
floating: FloatingElement;
|
floating: FloatingElement;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Optimizes the visibility of the floating element by flipping the `placement`
|
* Optimizes the visibility of the floating element by flipping the `placement`
|
||||||
* in order to keep it in view when the preferred placement(s) will overflow the
|
* in order to keep it in view when the preferred placement(s) will overflow the
|
||||||
* clipping boundary. Alternative to `autoPlacement`.
|
* clipping boundary. Alternative to `autoPlacement`.
|
||||||
* @see https://floating-ui.com/docs/flip
|
* @see https://floating-ui.com/docs/flip
|
||||||
*/
|
*/
|
||||||
export declare const flip: (options?: FlipOptions | Derivable<FlipOptions>) => Middleware;
|
export declare const flip: (options?: FlipOptions | Derivable<FlipOptions>) => Middleware;
|
||||||
|
|
||||||
export declare type FlipOptions = Prettify<Omit<FlipOptions_2, 'boundary'> & DetectOverflowOptions>;
|
export declare type FlipOptions = Prettify<Omit<FlipOptions_2, 'boundary'> & DetectOverflowOptions>;
|
||||||
|
|
||||||
export declare type FloatingElement = HTMLElement;
|
export declare type FloatingElement = HTMLElement;
|
||||||
|
|
||||||
export { getOverflowAncestors }
|
export { getOverflowAncestors }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides data to hide the floating element in applicable situations, such as
|
* Provides data to hide the floating element in applicable situations, such as
|
||||||
* when it is not in the same clipping context as the reference element.
|
* when it is not in the same clipping context as the reference element.
|
||||||
* @see https://floating-ui.com/docs/hide
|
* @see https://floating-ui.com/docs/hide
|
||||||
*/
|
*/
|
||||||
export declare const hide: (options?: HideOptions | Derivable<HideOptions>) => Middleware;
|
export declare const hide: (options?: HideOptions | Derivable<HideOptions>) => Middleware;
|
||||||
|
|
||||||
export declare type HideOptions = Prettify<Omit<HideOptions_2, 'boundary'> & DetectOverflowOptions>;
|
export declare type HideOptions = Prettify<Omit<HideOptions_2, 'boundary'> & DetectOverflowOptions>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides improved positioning for inline reference elements that can span
|
* Provides improved positioning for inline reference elements that can span
|
||||||
* over multiple lines, such as hyperlinks or range selections.
|
* over multiple lines, such as hyperlinks or range selections.
|
||||||
* @see https://floating-ui.com/docs/inline
|
* @see https://floating-ui.com/docs/inline
|
||||||
*/
|
*/
|
||||||
export declare const inline: (options?: InlineOptions | Derivable<InlineOptions>) => Middleware;
|
export declare const inline: (options?: InlineOptions | Derivable<InlineOptions>) => Middleware;
|
||||||
|
|
||||||
export { InlineOptions }
|
export { InlineOptions }
|
||||||
|
|
||||||
export { Length }
|
export { Length }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Built-in `limiter` that will stop `shift()` at a certain point.
|
* Built-in `limiter` that will stop `shift()` at a certain point.
|
||||||
*/
|
*/
|
||||||
export declare const limitShift: (options?: LimitShiftOptions | Derivable<LimitShiftOptions>) => {
|
export declare const limitShift: (options?: LimitShiftOptions | Derivable<LimitShiftOptions>) => {
|
||||||
options: any;
|
options: any;
|
||||||
fn: (state: MiddlewareState) => Coords;
|
fn: (state: MiddlewareState) => Coords;
|
||||||
};
|
};
|
||||||
|
|
||||||
export { LimitShiftOptions }
|
export { LimitShiftOptions }
|
||||||
|
|
||||||
export declare type Middleware = Prettify<Omit<Middleware_2, 'fn'> & {
|
export declare type Middleware = Prettify<Omit<Middleware_2, 'fn'> & {
|
||||||
fn(state: MiddlewareState): Promisable<MiddlewareReturn>;
|
fn(state: MiddlewareState): Promisable<MiddlewareReturn>;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @deprecated use `MiddlewareState` instead.
|
* @deprecated use `MiddlewareState` instead.
|
||||||
*/
|
*/
|
||||||
export declare type MiddlewareArguments = MiddlewareState;
|
export declare type MiddlewareArguments = MiddlewareState;
|
||||||
|
|
||||||
export { MiddlewareData }
|
export { MiddlewareData }
|
||||||
|
|
||||||
export { MiddlewareReturn }
|
export { MiddlewareReturn }
|
||||||
|
|
||||||
export declare type MiddlewareState = Prettify<Omit<MiddlewareState_2, 'elements'> & {
|
export declare type MiddlewareState = Prettify<Omit<MiddlewareState_2, 'elements'> & {
|
||||||
elements: Elements;
|
elements: Elements;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
export declare interface NodeScroll {
|
export declare interface NodeScroll {
|
||||||
scrollLeft: number;
|
scrollLeft: number;
|
||||||
scrollTop: number;
|
scrollTop: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Modifies the placement by translating the floating element along the
|
* Modifies the placement by translating the floating element along the
|
||||||
* specified axes.
|
* specified axes.
|
||||||
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
||||||
* object may be passed.
|
* object may be passed.
|
||||||
* @see https://floating-ui.com/docs/offset
|
* @see https://floating-ui.com/docs/offset
|
||||||
*/
|
*/
|
||||||
export declare const offset: (options?: OffsetOptions) => Middleware;
|
export declare const offset: (options?: OffsetOptions) => Middleware;
|
||||||
|
|
||||||
export declare type OffsetOptions = OffsetValue | Derivable<OffsetValue>;
|
export declare type OffsetOptions = OffsetValue | Derivable<OffsetValue>;
|
||||||
|
|
||||||
declare type OffsetValue = number | {
|
declare type OffsetValue = number | {
|
||||||
/**
|
/**
|
||||||
* The axis that runs along the side of the floating element. Represents
|
* The axis that runs along the side of the floating element. Represents
|
||||||
* the distance (gutter or margin) between the reference and floating
|
* the distance (gutter or margin) between the reference and floating
|
||||||
* element.
|
* element.
|
||||||
* @default 0
|
* @default 0
|
||||||
*/
|
*/
|
||||||
mainAxis?: number;
|
mainAxis?: number;
|
||||||
/**
|
/**
|
||||||
* The axis that runs along the alignment of the floating element.
|
* The axis that runs along the alignment of the floating element.
|
||||||
* Represents the skidding between the reference and floating element.
|
* Represents the skidding between the reference and floating element.
|
||||||
* @default 0
|
* @default 0
|
||||||
*/
|
*/
|
||||||
crossAxis?: number;
|
crossAxis?: number;
|
||||||
/**
|
/**
|
||||||
* The same axis as `crossAxis` but applies only to aligned placements
|
* The same axis as `crossAxis` but applies only to aligned placements
|
||||||
* and inverts the `end` alignment. When set to a number, it overrides the
|
* and inverts the `end` alignment. When set to a number, it overrides the
|
||||||
* `crossAxis` value.
|
* `crossAxis` value.
|
||||||
*
|
*
|
||||||
* A positive number will move the floating element in the direction of
|
* A positive number will move the floating element in the direction of
|
||||||
* the opposite edge to the one that is aligned, while a negative number
|
* the opposite edge to the one that is aligned, while a negative number
|
||||||
* the reverse.
|
* the reverse.
|
||||||
* @default null
|
* @default null
|
||||||
*/
|
*/
|
||||||
alignmentAxis?: number | null;
|
alignmentAxis?: number | null;
|
||||||
};
|
};
|
||||||
|
|
||||||
export { Padding }
|
export { Padding }
|
||||||
|
|
||||||
export { Placement }
|
export { Placement }
|
||||||
|
|
||||||
export declare interface Platform {
|
export declare interface Platform {
|
||||||
getElementRects: (args: {
|
getElementRects: (args: {
|
||||||
reference: ReferenceElement;
|
reference: ReferenceElement;
|
||||||
floating: FloatingElement;
|
floating: FloatingElement;
|
||||||
strategy: Strategy;
|
strategy: Strategy;
|
||||||
}) => Promisable<ElementRects>;
|
}) => Promisable<ElementRects>;
|
||||||
getClippingRect: (args: {
|
getClippingRect: (args: {
|
||||||
element: Element;
|
element: Element;
|
||||||
boundary: Boundary;
|
boundary: Boundary;
|
||||||
rootBoundary: RootBoundary;
|
rootBoundary: RootBoundary;
|
||||||
strategy: Strategy;
|
strategy: Strategy;
|
||||||
}) => Promisable<Rect>;
|
}) => Promisable<Rect>;
|
||||||
getDimensions: (element: Element) => Promisable<Dimensions>;
|
getDimensions: (element: Element) => Promisable<Dimensions>;
|
||||||
convertOffsetParentRelativeRectToViewportRelativeRect: (args: {
|
convertOffsetParentRelativeRectToViewportRelativeRect: (args: {
|
||||||
elements?: Elements;
|
elements?: Elements;
|
||||||
rect: Rect;
|
rect: Rect;
|
||||||
offsetParent: Element;
|
offsetParent: Element;
|
||||||
strategy: Strategy;
|
strategy: Strategy;
|
||||||
}) => Promisable<Rect>;
|
}) => Promisable<Rect>;
|
||||||
getOffsetParent: (element: Element, polyfill?: (element: HTMLElement) => Element | null) => Promisable<Element | Window>;
|
getOffsetParent: (element: Element, polyfill?: (element: HTMLElement) => Element | null) => Promisable<Element | Window>;
|
||||||
isElement: (value: unknown) => Promisable<boolean>;
|
isElement: (value: unknown) => Promisable<boolean>;
|
||||||
getDocumentElement: (element: Element) => Promisable<HTMLElement>;
|
getDocumentElement: (element: Element) => Promisable<HTMLElement>;
|
||||||
getClientRects: (element: Element) => Promisable<Array<ClientRectObject>>;
|
getClientRects: (element: Element) => Promisable<Array<ClientRectObject>>;
|
||||||
isRTL: (element: Element) => Promisable<boolean>;
|
isRTL: (element: Element) => Promisable<boolean>;
|
||||||
getScale: (element: HTMLElement) => Promisable<{
|
getScale: (element: HTMLElement) => Promisable<{
|
||||||
x: number;
|
x: number;
|
||||||
y: number;
|
y: number;
|
||||||
}>;
|
}>;
|
||||||
}
|
}
|
||||||
|
|
||||||
export declare const platform: Platform;
|
export declare const platform: Platform;
|
||||||
|
|
||||||
declare type Prettify<T> = {
|
declare type Prettify<T> = {
|
||||||
[K in keyof T]: T[K];
|
[K in keyof T]: T[K];
|
||||||
} & {};
|
} & {};
|
||||||
|
|
||||||
declare type Promisable<T> = T | Promise<T>;
|
declare type Promisable<T> = T | Promise<T>;
|
||||||
|
|
||||||
export { Rect }
|
export { Rect }
|
||||||
|
|
||||||
export declare type ReferenceElement = Element | VirtualElement;
|
export declare type ReferenceElement = Element | VirtualElement;
|
||||||
|
|
||||||
export { RootBoundary }
|
export { RootBoundary }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Optimizes the visibility of the floating element by shifting it in order to
|
* Optimizes the visibility of the floating element by shifting it in order to
|
||||||
* keep it in view when it will overflow the clipping boundary.
|
* keep it in view when it will overflow the clipping boundary.
|
||||||
* @see https://floating-ui.com/docs/shift
|
* @see https://floating-ui.com/docs/shift
|
||||||
*/
|
*/
|
||||||
export declare const shift: (options?: ShiftOptions | Derivable<ShiftOptions>) => Middleware;
|
export declare const shift: (options?: ShiftOptions | Derivable<ShiftOptions>) => Middleware;
|
||||||
|
|
||||||
export declare type ShiftOptions = Prettify<Omit<ShiftOptions_2, 'boundary'> & DetectOverflowOptions>;
|
export declare type ShiftOptions = Prettify<Omit<ShiftOptions_2, 'boundary'> & DetectOverflowOptions>;
|
||||||
|
|
||||||
export { Side }
|
export { Side }
|
||||||
|
|
||||||
export { SideObject }
|
export { SideObject }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides data that allows you to change the size of the floating element —
|
* Provides data that allows you to change the size of the floating element —
|
||||||
* for instance, prevent it from overflowing the clipping boundary or match the
|
* for instance, prevent it from overflowing the clipping boundary or match the
|
||||||
* width of the reference element.
|
* width of the reference element.
|
||||||
* @see https://floating-ui.com/docs/size
|
* @see https://floating-ui.com/docs/size
|
||||||
*/
|
*/
|
||||||
export declare const size: (options?: SizeOptions | Derivable<SizeOptions>) => Middleware;
|
export declare const size: (options?: SizeOptions | Derivable<SizeOptions>) => Middleware;
|
||||||
|
|
||||||
export declare type SizeOptions = Prettify<Omit<SizeOptions_2, 'apply' | 'boundary'> & DetectOverflowOptions & {
|
export declare type SizeOptions = Prettify<Omit<SizeOptions_2, 'apply' | 'boundary'> & DetectOverflowOptions & {
|
||||||
/**
|
/**
|
||||||
* Function that is called to perform style mutations to the floating element
|
* Function that is called to perform style mutations to the floating element
|
||||||
* to change its size.
|
* to change its size.
|
||||||
* @default undefined
|
* @default undefined
|
||||||
*/
|
*/
|
||||||
apply?(args: MiddlewareState & {
|
apply?(args: MiddlewareState & {
|
||||||
availableWidth: number;
|
availableWidth: number;
|
||||||
availableHeight: number;
|
availableHeight: number;
|
||||||
}): Promisable<void>;
|
}): Promisable<void>;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
export { Strategy }
|
export { Strategy }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Custom positioning reference element.
|
* Custom positioning reference element.
|
||||||
* @see https://floating-ui.com/docs/virtual-elements
|
* @see https://floating-ui.com/docs/virtual-elements
|
||||||
*/
|
*/
|
||||||
export declare interface VirtualElement {
|
export declare interface VirtualElement {
|
||||||
getBoundingClientRect(): ClientRectObject;
|
getBoundingClientRect(): ClientRectObject;
|
||||||
getClientRects?(): Array<ClientRectObject> | DOMRectList;
|
getClientRects?(): Array<ClientRectObject> | DOMRectList;
|
||||||
contextElement?: Element;
|
contextElement?: Element;
|
||||||
}
|
}
|
||||||
|
|
||||||
export { }
|
export { }
|
||||||
|
|
|
||||||
|
|
@ -1,307 +1,307 @@
|
||||||
import { AlignedPlacement } from '@floating-ui/dom';
|
import { AlignedPlacement } from '@floating-ui/dom';
|
||||||
import { Alignment } from '@floating-ui/dom';
|
import { Alignment } from '@floating-ui/dom';
|
||||||
import { AutoPlacementOptions } from '@floating-ui/dom';
|
import { AutoPlacementOptions } from '@floating-ui/dom';
|
||||||
import { autoUpdate } from '@floating-ui/dom';
|
import { autoUpdate } from '@floating-ui/dom';
|
||||||
import { AutoUpdateOptions } from '@floating-ui/dom';
|
import { AutoUpdateOptions } from '@floating-ui/dom';
|
||||||
import { Axis } from '@floating-ui/dom';
|
import { Axis } from '@floating-ui/dom';
|
||||||
import { Boundary } from '@floating-ui/dom';
|
import { Boundary } from '@floating-ui/dom';
|
||||||
import { ClientRectObject } from '@floating-ui/dom';
|
import { ClientRectObject } from '@floating-ui/dom';
|
||||||
import { computePosition } from '@floating-ui/dom';
|
import { computePosition } from '@floating-ui/dom';
|
||||||
import { ComputePositionConfig } from '@floating-ui/dom';
|
import { ComputePositionConfig } from '@floating-ui/dom';
|
||||||
import { ComputePositionReturn } from '@floating-ui/dom';
|
import { ComputePositionReturn } from '@floating-ui/dom';
|
||||||
import { Coords } from '@floating-ui/dom';
|
import { Coords } from '@floating-ui/dom';
|
||||||
import { Derivable } from '@floating-ui/dom';
|
import { Derivable } from '@floating-ui/dom';
|
||||||
import { detectOverflow } from '@floating-ui/dom';
|
import { detectOverflow } from '@floating-ui/dom';
|
||||||
import { DetectOverflowOptions } from '@floating-ui/dom';
|
import { DetectOverflowOptions } from '@floating-ui/dom';
|
||||||
import { Dimensions } from '@floating-ui/dom';
|
import { Dimensions } from '@floating-ui/dom';
|
||||||
import { ElementContext } from '@floating-ui/dom';
|
import { ElementContext } from '@floating-ui/dom';
|
||||||
import { ElementRects } from '@floating-ui/dom';
|
import { ElementRects } from '@floating-ui/dom';
|
||||||
import { Elements } from '@floating-ui/dom';
|
import { Elements } from '@floating-ui/dom';
|
||||||
import { FlipOptions } from '@floating-ui/dom';
|
import { FlipOptions } from '@floating-ui/dom';
|
||||||
import { FloatingElement } from '@floating-ui/dom';
|
import { FloatingElement } from '@floating-ui/dom';
|
||||||
import { getOverflowAncestors } from '@floating-ui/dom';
|
import { getOverflowAncestors } from '@floating-ui/dom';
|
||||||
import { HideOptions } from '@floating-ui/dom';
|
import { HideOptions } from '@floating-ui/dom';
|
||||||
import { InlineOptions } from '@floating-ui/dom';
|
import { InlineOptions } from '@floating-ui/dom';
|
||||||
import { Length } from '@floating-ui/dom';
|
import { Length } from '@floating-ui/dom';
|
||||||
import { LimitShiftOptions } from '@floating-ui/dom';
|
import { LimitShiftOptions } from '@floating-ui/dom';
|
||||||
import { Middleware } from '@floating-ui/dom';
|
import { Middleware } from '@floating-ui/dom';
|
||||||
import { MiddlewareArguments } from '@floating-ui/dom';
|
import { MiddlewareArguments } from '@floating-ui/dom';
|
||||||
import { MiddlewareData } from '@floating-ui/dom';
|
import { MiddlewareData } from '@floating-ui/dom';
|
||||||
import { MiddlewareReturn } from '@floating-ui/dom';
|
import { MiddlewareReturn } from '@floating-ui/dom';
|
||||||
import { MiddlewareState } from '@floating-ui/dom';
|
import { MiddlewareState } from '@floating-ui/dom';
|
||||||
import { NodeScroll } from '@floating-ui/dom';
|
import { NodeScroll } from '@floating-ui/dom';
|
||||||
import { OffsetOptions } from '@floating-ui/dom';
|
import { OffsetOptions } from '@floating-ui/dom';
|
||||||
import { Padding } from '@floating-ui/dom';
|
import { Padding } from '@floating-ui/dom';
|
||||||
import { Placement } from '@floating-ui/dom';
|
import { Placement } from '@floating-ui/dom';
|
||||||
import { Platform } from '@floating-ui/dom';
|
import { Platform } from '@floating-ui/dom';
|
||||||
import { platform } from '@floating-ui/dom';
|
import { platform } from '@floating-ui/dom';
|
||||||
import type * as React from 'react';
|
import type * as React from 'react';
|
||||||
import { Rect } from '@floating-ui/dom';
|
import { Rect } from '@floating-ui/dom';
|
||||||
import { ReferenceElement } from '@floating-ui/dom';
|
import { ReferenceElement } from '@floating-ui/dom';
|
||||||
import { RootBoundary } from '@floating-ui/dom';
|
import { RootBoundary } from '@floating-ui/dom';
|
||||||
import { ShiftOptions } from '@floating-ui/dom';
|
import { ShiftOptions } from '@floating-ui/dom';
|
||||||
import { Side } from '@floating-ui/dom';
|
import { Side } from '@floating-ui/dom';
|
||||||
import { SideObject } from '@floating-ui/dom';
|
import { SideObject } from '@floating-ui/dom';
|
||||||
import { SizeOptions } from '@floating-ui/dom';
|
import { SizeOptions } from '@floating-ui/dom';
|
||||||
import { Strategy } from '@floating-ui/dom';
|
import { Strategy } from '@floating-ui/dom';
|
||||||
import { VirtualElement } from '@floating-ui/dom';
|
import { VirtualElement } from '@floating-ui/dom';
|
||||||
|
|
||||||
export { AlignedPlacement }
|
export { AlignedPlacement }
|
||||||
|
|
||||||
export { Alignment }
|
export { Alignment }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides data to position an inner element of the floating element so that it
|
* Provides data to position an inner element of the floating element so that it
|
||||||
* appears centered to the reference element.
|
* appears centered to the reference element.
|
||||||
* This wraps the core `arrow` middleware to allow React refs as the element.
|
* This wraps the core `arrow` middleware to allow React refs as the element.
|
||||||
* @see https://floating-ui.com/docs/arrow
|
* @see https://floating-ui.com/docs/arrow
|
||||||
*/
|
*/
|
||||||
export declare const arrow: (options: ArrowOptions | Derivable<ArrowOptions>, deps?: React.DependencyList) => Middleware;
|
export declare const arrow: (options: ArrowOptions | Derivable<ArrowOptions>, deps?: React.DependencyList) => Middleware;
|
||||||
|
|
||||||
export declare interface ArrowOptions {
|
export declare interface ArrowOptions {
|
||||||
/**
|
/**
|
||||||
* The arrow element to be positioned.
|
* The arrow element to be positioned.
|
||||||
* @default undefined
|
* @default undefined
|
||||||
*/
|
*/
|
||||||
element: React.MutableRefObject<Element | null> | Element | null;
|
element: React.MutableRefObject<Element | null> | Element | null;
|
||||||
/**
|
/**
|
||||||
* The padding between the arrow element and the floating element edges.
|
* The padding between the arrow element and the floating element edges.
|
||||||
* Useful when the floating element has rounded corners.
|
* Useful when the floating element has rounded corners.
|
||||||
* @default 0
|
* @default 0
|
||||||
*/
|
*/
|
||||||
padding?: Padding;
|
padding?: Padding;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Optimizes the visibility of the floating element by choosing the placement
|
* Optimizes the visibility of the floating element by choosing the placement
|
||||||
* that has the most space available automatically, without needing to specify a
|
* that has the most space available automatically, without needing to specify a
|
||||||
* preferred placement. Alternative to `flip`.
|
* preferred placement. Alternative to `flip`.
|
||||||
* @see https://floating-ui.com/docs/autoPlacement
|
* @see https://floating-ui.com/docs/autoPlacement
|
||||||
*/
|
*/
|
||||||
export declare const autoPlacement: (options?: AutoPlacementOptions | Derivable<AutoPlacementOptions>, deps?: React.DependencyList) => Middleware;
|
export declare const autoPlacement: (options?: AutoPlacementOptions | Derivable<AutoPlacementOptions>, deps?: React.DependencyList) => Middleware;
|
||||||
|
|
||||||
export { AutoPlacementOptions }
|
export { AutoPlacementOptions }
|
||||||
|
|
||||||
export { autoUpdate }
|
export { autoUpdate }
|
||||||
|
|
||||||
export { AutoUpdateOptions }
|
export { AutoUpdateOptions }
|
||||||
|
|
||||||
export { Axis }
|
export { Axis }
|
||||||
|
|
||||||
export { Boundary }
|
export { Boundary }
|
||||||
|
|
||||||
export { ClientRectObject }
|
export { ClientRectObject }
|
||||||
|
|
||||||
export { computePosition }
|
export { computePosition }
|
||||||
|
|
||||||
export { ComputePositionConfig }
|
export { ComputePositionConfig }
|
||||||
|
|
||||||
export { ComputePositionReturn }
|
export { ComputePositionReturn }
|
||||||
|
|
||||||
export { Coords }
|
export { Coords }
|
||||||
|
|
||||||
export { Derivable }
|
export { Derivable }
|
||||||
|
|
||||||
export { detectOverflow }
|
export { detectOverflow }
|
||||||
|
|
||||||
export { DetectOverflowOptions }
|
export { DetectOverflowOptions }
|
||||||
|
|
||||||
export { Dimensions }
|
export { Dimensions }
|
||||||
|
|
||||||
export { ElementContext }
|
export { ElementContext }
|
||||||
|
|
||||||
export { ElementRects }
|
export { ElementRects }
|
||||||
|
|
||||||
export { Elements }
|
export { Elements }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Optimizes the visibility of the floating element by flipping the `placement`
|
* Optimizes the visibility of the floating element by flipping the `placement`
|
||||||
* in order to keep it in view when the preferred placement(s) will overflow the
|
* in order to keep it in view when the preferred placement(s) will overflow the
|
||||||
* clipping boundary. Alternative to `autoPlacement`.
|
* clipping boundary. Alternative to `autoPlacement`.
|
||||||
* @see https://floating-ui.com/docs/flip
|
* @see https://floating-ui.com/docs/flip
|
||||||
*/
|
*/
|
||||||
export declare const flip: (options?: FlipOptions | Derivable<FlipOptions>, deps?: React.DependencyList) => Middleware;
|
export declare const flip: (options?: FlipOptions | Derivable<FlipOptions>, deps?: React.DependencyList) => Middleware;
|
||||||
|
|
||||||
export { FlipOptions }
|
export { FlipOptions }
|
||||||
|
|
||||||
export { FloatingElement }
|
export { FloatingElement }
|
||||||
|
|
||||||
export { getOverflowAncestors }
|
export { getOverflowAncestors }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides data to hide the floating element in applicable situations, such as
|
* Provides data to hide the floating element in applicable situations, such as
|
||||||
* when it is not in the same clipping context as the reference element.
|
* when it is not in the same clipping context as the reference element.
|
||||||
* @see https://floating-ui.com/docs/hide
|
* @see https://floating-ui.com/docs/hide
|
||||||
*/
|
*/
|
||||||
export declare const hide: (options?: HideOptions | Derivable<HideOptions>, deps?: React.DependencyList) => Middleware;
|
export declare const hide: (options?: HideOptions | Derivable<HideOptions>, deps?: React.DependencyList) => Middleware;
|
||||||
|
|
||||||
export { HideOptions }
|
export { HideOptions }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides improved positioning for inline reference elements that can span
|
* Provides improved positioning for inline reference elements that can span
|
||||||
* over multiple lines, such as hyperlinks or range selections.
|
* over multiple lines, such as hyperlinks or range selections.
|
||||||
* @see https://floating-ui.com/docs/inline
|
* @see https://floating-ui.com/docs/inline
|
||||||
*/
|
*/
|
||||||
export declare const inline: (options?: InlineOptions | Derivable<InlineOptions>, deps?: React.DependencyList) => Middleware;
|
export declare const inline: (options?: InlineOptions | Derivable<InlineOptions>, deps?: React.DependencyList) => Middleware;
|
||||||
|
|
||||||
export { InlineOptions }
|
export { InlineOptions }
|
||||||
|
|
||||||
export { Length }
|
export { Length }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Built-in `limiter` that will stop `shift()` at a certain point.
|
* Built-in `limiter` that will stop `shift()` at a certain point.
|
||||||
*/
|
*/
|
||||||
export declare const limitShift: (options?: LimitShiftOptions | Derivable<LimitShiftOptions>, deps?: React.DependencyList) => {
|
export declare const limitShift: (options?: LimitShiftOptions | Derivable<LimitShiftOptions>, deps?: React.DependencyList) => {
|
||||||
fn: (state: MiddlewareState) => Coords;
|
fn: (state: MiddlewareState) => Coords;
|
||||||
options: any;
|
options: any;
|
||||||
};
|
};
|
||||||
|
|
||||||
export { Middleware }
|
export { Middleware }
|
||||||
|
|
||||||
export { MiddlewareArguments }
|
export { MiddlewareArguments }
|
||||||
|
|
||||||
export { MiddlewareData }
|
export { MiddlewareData }
|
||||||
|
|
||||||
export { MiddlewareReturn }
|
export { MiddlewareReturn }
|
||||||
|
|
||||||
export { MiddlewareState }
|
export { MiddlewareState }
|
||||||
|
|
||||||
export { NodeScroll }
|
export { NodeScroll }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Modifies the placement by translating the floating element along the
|
* Modifies the placement by translating the floating element along the
|
||||||
* specified axes.
|
* specified axes.
|
||||||
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
||||||
* object may be passed.
|
* object may be passed.
|
||||||
* @see https://floating-ui.com/docs/offset
|
* @see https://floating-ui.com/docs/offset
|
||||||
*/
|
*/
|
||||||
export declare const offset: (options?: OffsetOptions, deps?: React.DependencyList) => Middleware;
|
export declare const offset: (options?: OffsetOptions, deps?: React.DependencyList) => Middleware;
|
||||||
|
|
||||||
export { OffsetOptions }
|
export { OffsetOptions }
|
||||||
|
|
||||||
export { Padding }
|
export { Padding }
|
||||||
|
|
||||||
export { Placement }
|
export { Placement }
|
||||||
|
|
||||||
export { Platform }
|
export { Platform }
|
||||||
|
|
||||||
export { platform }
|
export { platform }
|
||||||
|
|
||||||
declare type Prettify<T> = {
|
declare type Prettify<T> = {
|
||||||
[K in keyof T]: T[K];
|
[K in keyof T]: T[K];
|
||||||
} & {};
|
} & {};
|
||||||
|
|
||||||
export { Rect }
|
export { Rect }
|
||||||
|
|
||||||
export { ReferenceElement }
|
export { ReferenceElement }
|
||||||
|
|
||||||
export declare type ReferenceType = Element | VirtualElement;
|
export declare type ReferenceType = Element | VirtualElement;
|
||||||
|
|
||||||
export { RootBoundary }
|
export { RootBoundary }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Optimizes the visibility of the floating element by shifting it in order to
|
* Optimizes the visibility of the floating element by shifting it in order to
|
||||||
* keep it in view when it will overflow the clipping boundary.
|
* keep it in view when it will overflow the clipping boundary.
|
||||||
* @see https://floating-ui.com/docs/shift
|
* @see https://floating-ui.com/docs/shift
|
||||||
*/
|
*/
|
||||||
export declare const shift: (options?: ShiftOptions | Derivable<ShiftOptions>, deps?: React.DependencyList) => Middleware;
|
export declare const shift: (options?: ShiftOptions | Derivable<ShiftOptions>, deps?: React.DependencyList) => Middleware;
|
||||||
|
|
||||||
export { ShiftOptions }
|
export { ShiftOptions }
|
||||||
|
|
||||||
export { Side }
|
export { Side }
|
||||||
|
|
||||||
export { SideObject }
|
export { SideObject }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides data that allows you to change the size of the floating element —
|
* Provides data that allows you to change the size of the floating element —
|
||||||
* for instance, prevent it from overflowing the clipping boundary or match the
|
* for instance, prevent it from overflowing the clipping boundary or match the
|
||||||
* width of the reference element.
|
* width of the reference element.
|
||||||
* @see https://floating-ui.com/docs/size
|
* @see https://floating-ui.com/docs/size
|
||||||
*/
|
*/
|
||||||
export declare const size: (options?: SizeOptions | Derivable<SizeOptions>, deps?: React.DependencyList) => Middleware;
|
export declare const size: (options?: SizeOptions | Derivable<SizeOptions>, deps?: React.DependencyList) => Middleware;
|
||||||
|
|
||||||
export { SizeOptions }
|
export { SizeOptions }
|
||||||
|
|
||||||
export { Strategy }
|
export { Strategy }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides data to position a floating element.
|
* Provides data to position a floating element.
|
||||||
* @see https://floating-ui.com/docs/useFloating
|
* @see https://floating-ui.com/docs/useFloating
|
||||||
*/
|
*/
|
||||||
export declare function useFloating<RT extends ReferenceType = ReferenceType>(options?: UseFloatingOptions): UseFloatingReturn<RT>;
|
export declare function useFloating<RT extends ReferenceType = ReferenceType>(options?: UseFloatingOptions): UseFloatingReturn<RT>;
|
||||||
|
|
||||||
export declare type UseFloatingData = Prettify<ComputePositionReturn & {
|
export declare type UseFloatingData = Prettify<ComputePositionReturn & {
|
||||||
isPositioned: boolean;
|
isPositioned: boolean;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
export declare type UseFloatingOptions<RT extends ReferenceType = ReferenceType> = Prettify<Partial<ComputePositionConfig> & {
|
export declare type UseFloatingOptions<RT extends ReferenceType = ReferenceType> = Prettify<Partial<ComputePositionConfig> & {
|
||||||
/**
|
/**
|
||||||
* A callback invoked when both the reference and floating elements are
|
* A callback invoked when both the reference and floating elements are
|
||||||
* mounted, and cleaned up when either is unmounted. This is useful for
|
* mounted, and cleaned up when either is unmounted. This is useful for
|
||||||
* setting up event listeners (e.g. pass `autoUpdate`).
|
* setting up event listeners (e.g. pass `autoUpdate`).
|
||||||
*/
|
*/
|
||||||
whileElementsMounted?: (reference: RT, floating: HTMLElement, update: () => void) => () => void;
|
whileElementsMounted?: (reference: RT, floating: HTMLElement, update: () => void) => () => void;
|
||||||
/**
|
/**
|
||||||
* Object containing the reference and floating elements.
|
* Object containing the reference and floating elements.
|
||||||
*/
|
*/
|
||||||
elements?: {
|
elements?: {
|
||||||
reference?: RT | null;
|
reference?: RT | null;
|
||||||
floating?: HTMLElement | null;
|
floating?: HTMLElement | null;
|
||||||
};
|
};
|
||||||
/**
|
/**
|
||||||
* The `open` state of the floating element to synchronize with the
|
* The `open` state of the floating element to synchronize with the
|
||||||
* `isPositioned` value.
|
* `isPositioned` value.
|
||||||
* @default false
|
* @default false
|
||||||
*/
|
*/
|
||||||
open?: boolean;
|
open?: boolean;
|
||||||
/**
|
/**
|
||||||
* Whether to use `transform` for positioning instead of `top` and `left`
|
* Whether to use `transform` for positioning instead of `top` and `left`
|
||||||
* (layout) in the `floatingStyles` object.
|
* (layout) in the `floatingStyles` object.
|
||||||
* @default true
|
* @default true
|
||||||
*/
|
*/
|
||||||
transform?: boolean;
|
transform?: boolean;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
export declare type UseFloatingReturn<RT extends ReferenceType = ReferenceType> = Prettify<UseFloatingData & {
|
export declare type UseFloatingReturn<RT extends ReferenceType = ReferenceType> = Prettify<UseFloatingData & {
|
||||||
/**
|
/**
|
||||||
* Update the position of the floating element, re-rendering the component
|
* Update the position of the floating element, re-rendering the component
|
||||||
* if required.
|
* if required.
|
||||||
*/
|
*/
|
||||||
update: () => void;
|
update: () => void;
|
||||||
/**
|
/**
|
||||||
* Pre-configured positioning styles to apply to the floating element.
|
* Pre-configured positioning styles to apply to the floating element.
|
||||||
*/
|
*/
|
||||||
floatingStyles: React.CSSProperties;
|
floatingStyles: React.CSSProperties;
|
||||||
/**
|
/**
|
||||||
* Object containing the reference and floating refs and reactive setters.
|
* Object containing the reference and floating refs and reactive setters.
|
||||||
*/
|
*/
|
||||||
refs: {
|
refs: {
|
||||||
/**
|
/**
|
||||||
* A React ref to the reference element.
|
* A React ref to the reference element.
|
||||||
*/
|
*/
|
||||||
reference: React.MutableRefObject<RT | null>;
|
reference: React.MutableRefObject<RT | null>;
|
||||||
/**
|
/**
|
||||||
* A React ref to the floating element.
|
* A React ref to the floating element.
|
||||||
*/
|
*/
|
||||||
floating: React.MutableRefObject<HTMLElement | null>;
|
floating: React.MutableRefObject<HTMLElement | null>;
|
||||||
/**
|
/**
|
||||||
* A callback to set the reference element (reactive).
|
* A callback to set the reference element (reactive).
|
||||||
*/
|
*/
|
||||||
setReference: (node: RT | null) => void;
|
setReference: (node: RT | null) => void;
|
||||||
/**
|
/**
|
||||||
* A callback to set the floating element (reactive).
|
* A callback to set the floating element (reactive).
|
||||||
*/
|
*/
|
||||||
setFloating: (node: HTMLElement | null) => void;
|
setFloating: (node: HTMLElement | null) => void;
|
||||||
};
|
};
|
||||||
/**
|
/**
|
||||||
* Object containing the reference and floating elements.
|
* Object containing the reference and floating elements.
|
||||||
*/
|
*/
|
||||||
elements: {
|
elements: {
|
||||||
reference: RT | null;
|
reference: RT | null;
|
||||||
floating: HTMLElement | null;
|
floating: HTMLElement | null;
|
||||||
};
|
};
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
export { VirtualElement }
|
export { VirtualElement }
|
||||||
|
|
||||||
export { }
|
export { }
|
||||||
|
|
|
||||||
|
|
@ -1,307 +1,307 @@
|
||||||
import { AlignedPlacement } from '@floating-ui/dom';
|
import { AlignedPlacement } from '@floating-ui/dom';
|
||||||
import { Alignment } from '@floating-ui/dom';
|
import { Alignment } from '@floating-ui/dom';
|
||||||
import { AutoPlacementOptions } from '@floating-ui/dom';
|
import { AutoPlacementOptions } from '@floating-ui/dom';
|
||||||
import { autoUpdate } from '@floating-ui/dom';
|
import { autoUpdate } from '@floating-ui/dom';
|
||||||
import { AutoUpdateOptions } from '@floating-ui/dom';
|
import { AutoUpdateOptions } from '@floating-ui/dom';
|
||||||
import { Axis } from '@floating-ui/dom';
|
import { Axis } from '@floating-ui/dom';
|
||||||
import { Boundary } from '@floating-ui/dom';
|
import { Boundary } from '@floating-ui/dom';
|
||||||
import { ClientRectObject } from '@floating-ui/dom';
|
import { ClientRectObject } from '@floating-ui/dom';
|
||||||
import { computePosition } from '@floating-ui/dom';
|
import { computePosition } from '@floating-ui/dom';
|
||||||
import { ComputePositionConfig } from '@floating-ui/dom';
|
import { ComputePositionConfig } from '@floating-ui/dom';
|
||||||
import { ComputePositionReturn } from '@floating-ui/dom';
|
import { ComputePositionReturn } from '@floating-ui/dom';
|
||||||
import { Coords } from '@floating-ui/dom';
|
import { Coords } from '@floating-ui/dom';
|
||||||
import { Derivable } from '@floating-ui/dom';
|
import { Derivable } from '@floating-ui/dom';
|
||||||
import { detectOverflow } from '@floating-ui/dom';
|
import { detectOverflow } from '@floating-ui/dom';
|
||||||
import { DetectOverflowOptions } from '@floating-ui/dom';
|
import { DetectOverflowOptions } from '@floating-ui/dom';
|
||||||
import { Dimensions } from '@floating-ui/dom';
|
import { Dimensions } from '@floating-ui/dom';
|
||||||
import { ElementContext } from '@floating-ui/dom';
|
import { ElementContext } from '@floating-ui/dom';
|
||||||
import { ElementRects } from '@floating-ui/dom';
|
import { ElementRects } from '@floating-ui/dom';
|
||||||
import { Elements } from '@floating-ui/dom';
|
import { Elements } from '@floating-ui/dom';
|
||||||
import { FlipOptions } from '@floating-ui/dom';
|
import { FlipOptions } from '@floating-ui/dom';
|
||||||
import { FloatingElement } from '@floating-ui/dom';
|
import { FloatingElement } from '@floating-ui/dom';
|
||||||
import { getOverflowAncestors } from '@floating-ui/dom';
|
import { getOverflowAncestors } from '@floating-ui/dom';
|
||||||
import { HideOptions } from '@floating-ui/dom';
|
import { HideOptions } from '@floating-ui/dom';
|
||||||
import { InlineOptions } from '@floating-ui/dom';
|
import { InlineOptions } from '@floating-ui/dom';
|
||||||
import { Length } from '@floating-ui/dom';
|
import { Length } from '@floating-ui/dom';
|
||||||
import { LimitShiftOptions } from '@floating-ui/dom';
|
import { LimitShiftOptions } from '@floating-ui/dom';
|
||||||
import { Middleware } from '@floating-ui/dom';
|
import { Middleware } from '@floating-ui/dom';
|
||||||
import { MiddlewareArguments } from '@floating-ui/dom';
|
import { MiddlewareArguments } from '@floating-ui/dom';
|
||||||
import { MiddlewareData } from '@floating-ui/dom';
|
import { MiddlewareData } from '@floating-ui/dom';
|
||||||
import { MiddlewareReturn } from '@floating-ui/dom';
|
import { MiddlewareReturn } from '@floating-ui/dom';
|
||||||
import { MiddlewareState } from '@floating-ui/dom';
|
import { MiddlewareState } from '@floating-ui/dom';
|
||||||
import { NodeScroll } from '@floating-ui/dom';
|
import { NodeScroll } from '@floating-ui/dom';
|
||||||
import { OffsetOptions } from '@floating-ui/dom';
|
import { OffsetOptions } from '@floating-ui/dom';
|
||||||
import { Padding } from '@floating-ui/dom';
|
import { Padding } from '@floating-ui/dom';
|
||||||
import { Placement } from '@floating-ui/dom';
|
import { Placement } from '@floating-ui/dom';
|
||||||
import { Platform } from '@floating-ui/dom';
|
import { Platform } from '@floating-ui/dom';
|
||||||
import { platform } from '@floating-ui/dom';
|
import { platform } from '@floating-ui/dom';
|
||||||
import type * as React from 'react';
|
import type * as React from 'react';
|
||||||
import { Rect } from '@floating-ui/dom';
|
import { Rect } from '@floating-ui/dom';
|
||||||
import { ReferenceElement } from '@floating-ui/dom';
|
import { ReferenceElement } from '@floating-ui/dom';
|
||||||
import { RootBoundary } from '@floating-ui/dom';
|
import { RootBoundary } from '@floating-ui/dom';
|
||||||
import { ShiftOptions } from '@floating-ui/dom';
|
import { ShiftOptions } from '@floating-ui/dom';
|
||||||
import { Side } from '@floating-ui/dom';
|
import { Side } from '@floating-ui/dom';
|
||||||
import { SideObject } from '@floating-ui/dom';
|
import { SideObject } from '@floating-ui/dom';
|
||||||
import { SizeOptions } from '@floating-ui/dom';
|
import { SizeOptions } from '@floating-ui/dom';
|
||||||
import { Strategy } from '@floating-ui/dom';
|
import { Strategy } from '@floating-ui/dom';
|
||||||
import { VirtualElement } from '@floating-ui/dom';
|
import { VirtualElement } from '@floating-ui/dom';
|
||||||
|
|
||||||
export { AlignedPlacement }
|
export { AlignedPlacement }
|
||||||
|
|
||||||
export { Alignment }
|
export { Alignment }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides data to position an inner element of the floating element so that it
|
* Provides data to position an inner element of the floating element so that it
|
||||||
* appears centered to the reference element.
|
* appears centered to the reference element.
|
||||||
* This wraps the core `arrow` middleware to allow React refs as the element.
|
* This wraps the core `arrow` middleware to allow React refs as the element.
|
||||||
* @see https://floating-ui.com/docs/arrow
|
* @see https://floating-ui.com/docs/arrow
|
||||||
*/
|
*/
|
||||||
export declare const arrow: (options: ArrowOptions | Derivable<ArrowOptions>, deps?: React.DependencyList) => Middleware;
|
export declare const arrow: (options: ArrowOptions | Derivable<ArrowOptions>, deps?: React.DependencyList) => Middleware;
|
||||||
|
|
||||||
export declare interface ArrowOptions {
|
export declare interface ArrowOptions {
|
||||||
/**
|
/**
|
||||||
* The arrow element to be positioned.
|
* The arrow element to be positioned.
|
||||||
* @default undefined
|
* @default undefined
|
||||||
*/
|
*/
|
||||||
element: React.MutableRefObject<Element | null> | Element | null;
|
element: React.MutableRefObject<Element | null> | Element | null;
|
||||||
/**
|
/**
|
||||||
* The padding between the arrow element and the floating element edges.
|
* The padding between the arrow element and the floating element edges.
|
||||||
* Useful when the floating element has rounded corners.
|
* Useful when the floating element has rounded corners.
|
||||||
* @default 0
|
* @default 0
|
||||||
*/
|
*/
|
||||||
padding?: Padding;
|
padding?: Padding;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Optimizes the visibility of the floating element by choosing the placement
|
* Optimizes the visibility of the floating element by choosing the placement
|
||||||
* that has the most space available automatically, without needing to specify a
|
* that has the most space available automatically, without needing to specify a
|
||||||
* preferred placement. Alternative to `flip`.
|
* preferred placement. Alternative to `flip`.
|
||||||
* @see https://floating-ui.com/docs/autoPlacement
|
* @see https://floating-ui.com/docs/autoPlacement
|
||||||
*/
|
*/
|
||||||
export declare const autoPlacement: (options?: AutoPlacementOptions | Derivable<AutoPlacementOptions>, deps?: React.DependencyList) => Middleware;
|
export declare const autoPlacement: (options?: AutoPlacementOptions | Derivable<AutoPlacementOptions>, deps?: React.DependencyList) => Middleware;
|
||||||
|
|
||||||
export { AutoPlacementOptions }
|
export { AutoPlacementOptions }
|
||||||
|
|
||||||
export { autoUpdate }
|
export { autoUpdate }
|
||||||
|
|
||||||
export { AutoUpdateOptions }
|
export { AutoUpdateOptions }
|
||||||
|
|
||||||
export { Axis }
|
export { Axis }
|
||||||
|
|
||||||
export { Boundary }
|
export { Boundary }
|
||||||
|
|
||||||
export { ClientRectObject }
|
export { ClientRectObject }
|
||||||
|
|
||||||
export { computePosition }
|
export { computePosition }
|
||||||
|
|
||||||
export { ComputePositionConfig }
|
export { ComputePositionConfig }
|
||||||
|
|
||||||
export { ComputePositionReturn }
|
export { ComputePositionReturn }
|
||||||
|
|
||||||
export { Coords }
|
export { Coords }
|
||||||
|
|
||||||
export { Derivable }
|
export { Derivable }
|
||||||
|
|
||||||
export { detectOverflow }
|
export { detectOverflow }
|
||||||
|
|
||||||
export { DetectOverflowOptions }
|
export { DetectOverflowOptions }
|
||||||
|
|
||||||
export { Dimensions }
|
export { Dimensions }
|
||||||
|
|
||||||
export { ElementContext }
|
export { ElementContext }
|
||||||
|
|
||||||
export { ElementRects }
|
export { ElementRects }
|
||||||
|
|
||||||
export { Elements }
|
export { Elements }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Optimizes the visibility of the floating element by flipping the `placement`
|
* Optimizes the visibility of the floating element by flipping the `placement`
|
||||||
* in order to keep it in view when the preferred placement(s) will overflow the
|
* in order to keep it in view when the preferred placement(s) will overflow the
|
||||||
* clipping boundary. Alternative to `autoPlacement`.
|
* clipping boundary. Alternative to `autoPlacement`.
|
||||||
* @see https://floating-ui.com/docs/flip
|
* @see https://floating-ui.com/docs/flip
|
||||||
*/
|
*/
|
||||||
export declare const flip: (options?: FlipOptions | Derivable<FlipOptions>, deps?: React.DependencyList) => Middleware;
|
export declare const flip: (options?: FlipOptions | Derivable<FlipOptions>, deps?: React.DependencyList) => Middleware;
|
||||||
|
|
||||||
export { FlipOptions }
|
export { FlipOptions }
|
||||||
|
|
||||||
export { FloatingElement }
|
export { FloatingElement }
|
||||||
|
|
||||||
export { getOverflowAncestors }
|
export { getOverflowAncestors }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides data to hide the floating element in applicable situations, such as
|
* Provides data to hide the floating element in applicable situations, such as
|
||||||
* when it is not in the same clipping context as the reference element.
|
* when it is not in the same clipping context as the reference element.
|
||||||
* @see https://floating-ui.com/docs/hide
|
* @see https://floating-ui.com/docs/hide
|
||||||
*/
|
*/
|
||||||
export declare const hide: (options?: HideOptions | Derivable<HideOptions>, deps?: React.DependencyList) => Middleware;
|
export declare const hide: (options?: HideOptions | Derivable<HideOptions>, deps?: React.DependencyList) => Middleware;
|
||||||
|
|
||||||
export { HideOptions }
|
export { HideOptions }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides improved positioning for inline reference elements that can span
|
* Provides improved positioning for inline reference elements that can span
|
||||||
* over multiple lines, such as hyperlinks or range selections.
|
* over multiple lines, such as hyperlinks or range selections.
|
||||||
* @see https://floating-ui.com/docs/inline
|
* @see https://floating-ui.com/docs/inline
|
||||||
*/
|
*/
|
||||||
export declare const inline: (options?: InlineOptions | Derivable<InlineOptions>, deps?: React.DependencyList) => Middleware;
|
export declare const inline: (options?: InlineOptions | Derivable<InlineOptions>, deps?: React.DependencyList) => Middleware;
|
||||||
|
|
||||||
export { InlineOptions }
|
export { InlineOptions }
|
||||||
|
|
||||||
export { Length }
|
export { Length }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Built-in `limiter` that will stop `shift()` at a certain point.
|
* Built-in `limiter` that will stop `shift()` at a certain point.
|
||||||
*/
|
*/
|
||||||
export declare const limitShift: (options?: LimitShiftOptions | Derivable<LimitShiftOptions>, deps?: React.DependencyList) => {
|
export declare const limitShift: (options?: LimitShiftOptions | Derivable<LimitShiftOptions>, deps?: React.DependencyList) => {
|
||||||
fn: (state: MiddlewareState) => Coords;
|
fn: (state: MiddlewareState) => Coords;
|
||||||
options: any;
|
options: any;
|
||||||
};
|
};
|
||||||
|
|
||||||
export { Middleware }
|
export { Middleware }
|
||||||
|
|
||||||
export { MiddlewareArguments }
|
export { MiddlewareArguments }
|
||||||
|
|
||||||
export { MiddlewareData }
|
export { MiddlewareData }
|
||||||
|
|
||||||
export { MiddlewareReturn }
|
export { MiddlewareReturn }
|
||||||
|
|
||||||
export { MiddlewareState }
|
export { MiddlewareState }
|
||||||
|
|
||||||
export { NodeScroll }
|
export { NodeScroll }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Modifies the placement by translating the floating element along the
|
* Modifies the placement by translating the floating element along the
|
||||||
* specified axes.
|
* specified axes.
|
||||||
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
* A number (shorthand for `mainAxis` or distance), or an axes configuration
|
||||||
* object may be passed.
|
* object may be passed.
|
||||||
* @see https://floating-ui.com/docs/offset
|
* @see https://floating-ui.com/docs/offset
|
||||||
*/
|
*/
|
||||||
export declare const offset: (options?: OffsetOptions, deps?: React.DependencyList) => Middleware;
|
export declare const offset: (options?: OffsetOptions, deps?: React.DependencyList) => Middleware;
|
||||||
|
|
||||||
export { OffsetOptions }
|
export { OffsetOptions }
|
||||||
|
|
||||||
export { Padding }
|
export { Padding }
|
||||||
|
|
||||||
export { Placement }
|
export { Placement }
|
||||||
|
|
||||||
export { Platform }
|
export { Platform }
|
||||||
|
|
||||||
export { platform }
|
export { platform }
|
||||||
|
|
||||||
declare type Prettify<T> = {
|
declare type Prettify<T> = {
|
||||||
[K in keyof T]: T[K];
|
[K in keyof T]: T[K];
|
||||||
} & {};
|
} & {};
|
||||||
|
|
||||||
export { Rect }
|
export { Rect }
|
||||||
|
|
||||||
export { ReferenceElement }
|
export { ReferenceElement }
|
||||||
|
|
||||||
export declare type ReferenceType = Element | VirtualElement;
|
export declare type ReferenceType = Element | VirtualElement;
|
||||||
|
|
||||||
export { RootBoundary }
|
export { RootBoundary }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Optimizes the visibility of the floating element by shifting it in order to
|
* Optimizes the visibility of the floating element by shifting it in order to
|
||||||
* keep it in view when it will overflow the clipping boundary.
|
* keep it in view when it will overflow the clipping boundary.
|
||||||
* @see https://floating-ui.com/docs/shift
|
* @see https://floating-ui.com/docs/shift
|
||||||
*/
|
*/
|
||||||
export declare const shift: (options?: ShiftOptions | Derivable<ShiftOptions>, deps?: React.DependencyList) => Middleware;
|
export declare const shift: (options?: ShiftOptions | Derivable<ShiftOptions>, deps?: React.DependencyList) => Middleware;
|
||||||
|
|
||||||
export { ShiftOptions }
|
export { ShiftOptions }
|
||||||
|
|
||||||
export { Side }
|
export { Side }
|
||||||
|
|
||||||
export { SideObject }
|
export { SideObject }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides data that allows you to change the size of the floating element —
|
* Provides data that allows you to change the size of the floating element —
|
||||||
* for instance, prevent it from overflowing the clipping boundary or match the
|
* for instance, prevent it from overflowing the clipping boundary or match the
|
||||||
* width of the reference element.
|
* width of the reference element.
|
||||||
* @see https://floating-ui.com/docs/size
|
* @see https://floating-ui.com/docs/size
|
||||||
*/
|
*/
|
||||||
export declare const size: (options?: SizeOptions | Derivable<SizeOptions>, deps?: React.DependencyList) => Middleware;
|
export declare const size: (options?: SizeOptions | Derivable<SizeOptions>, deps?: React.DependencyList) => Middleware;
|
||||||
|
|
||||||
export { SizeOptions }
|
export { SizeOptions }
|
||||||
|
|
||||||
export { Strategy }
|
export { Strategy }
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Provides data to position a floating element.
|
* Provides data to position a floating element.
|
||||||
* @see https://floating-ui.com/docs/useFloating
|
* @see https://floating-ui.com/docs/useFloating
|
||||||
*/
|
*/
|
||||||
export declare function useFloating<RT extends ReferenceType = ReferenceType>(options?: UseFloatingOptions): UseFloatingReturn<RT>;
|
export declare function useFloating<RT extends ReferenceType = ReferenceType>(options?: UseFloatingOptions): UseFloatingReturn<RT>;
|
||||||
|
|
||||||
export declare type UseFloatingData = Prettify<ComputePositionReturn & {
|
export declare type UseFloatingData = Prettify<ComputePositionReturn & {
|
||||||
isPositioned: boolean;
|
isPositioned: boolean;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
export declare type UseFloatingOptions<RT extends ReferenceType = ReferenceType> = Prettify<Partial<ComputePositionConfig> & {
|
export declare type UseFloatingOptions<RT extends ReferenceType = ReferenceType> = Prettify<Partial<ComputePositionConfig> & {
|
||||||
/**
|
/**
|
||||||
* A callback invoked when both the reference and floating elements are
|
* A callback invoked when both the reference and floating elements are
|
||||||
* mounted, and cleaned up when either is unmounted. This is useful for
|
* mounted, and cleaned up when either is unmounted. This is useful for
|
||||||
* setting up event listeners (e.g. pass `autoUpdate`).
|
* setting up event listeners (e.g. pass `autoUpdate`).
|
||||||
*/
|
*/
|
||||||
whileElementsMounted?: (reference: RT, floating: HTMLElement, update: () => void) => () => void;
|
whileElementsMounted?: (reference: RT, floating: HTMLElement, update: () => void) => () => void;
|
||||||
/**
|
/**
|
||||||
* Object containing the reference and floating elements.
|
* Object containing the reference and floating elements.
|
||||||
*/
|
*/
|
||||||
elements?: {
|
elements?: {
|
||||||
reference?: RT | null;
|
reference?: RT | null;
|
||||||
floating?: HTMLElement | null;
|
floating?: HTMLElement | null;
|
||||||
};
|
};
|
||||||
/**
|
/**
|
||||||
* The `open` state of the floating element to synchronize with the
|
* The `open` state of the floating element to synchronize with the
|
||||||
* `isPositioned` value.
|
* `isPositioned` value.
|
||||||
* @default false
|
* @default false
|
||||||
*/
|
*/
|
||||||
open?: boolean;
|
open?: boolean;
|
||||||
/**
|
/**
|
||||||
* Whether to use `transform` for positioning instead of `top` and `left`
|
* Whether to use `transform` for positioning instead of `top` and `left`
|
||||||
* (layout) in the `floatingStyles` object.
|
* (layout) in the `floatingStyles` object.
|
||||||
* @default true
|
* @default true
|
||||||
*/
|
*/
|
||||||
transform?: boolean;
|
transform?: boolean;
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
export declare type UseFloatingReturn<RT extends ReferenceType = ReferenceType> = Prettify<UseFloatingData & {
|
export declare type UseFloatingReturn<RT extends ReferenceType = ReferenceType> = Prettify<UseFloatingData & {
|
||||||
/**
|
/**
|
||||||
* Update the position of the floating element, re-rendering the component
|
* Update the position of the floating element, re-rendering the component
|
||||||
* if required.
|
* if required.
|
||||||
*/
|
*/
|
||||||
update: () => void;
|
update: () => void;
|
||||||
/**
|
/**
|
||||||
* Pre-configured positioning styles to apply to the floating element.
|
* Pre-configured positioning styles to apply to the floating element.
|
||||||
*/
|
*/
|
||||||
floatingStyles: React.CSSProperties;
|
floatingStyles: React.CSSProperties;
|
||||||
/**
|
/**
|
||||||
* Object containing the reference and floating refs and reactive setters.
|
* Object containing the reference and floating refs and reactive setters.
|
||||||
*/
|
*/
|
||||||
refs: {
|
refs: {
|
||||||
/**
|
/**
|
||||||
* A React ref to the reference element.
|
* A React ref to the reference element.
|
||||||
*/
|
*/
|
||||||
reference: React.MutableRefObject<RT | null>;
|
reference: React.MutableRefObject<RT | null>;
|
||||||
/**
|
/**
|
||||||
* A React ref to the floating element.
|
* A React ref to the floating element.
|
||||||
*/
|
*/
|
||||||
floating: React.MutableRefObject<HTMLElement | null>;
|
floating: React.MutableRefObject<HTMLElement | null>;
|
||||||
/**
|
/**
|
||||||
* A callback to set the reference element (reactive).
|
* A callback to set the reference element (reactive).
|
||||||
*/
|
*/
|
||||||
setReference: (node: RT | null) => void;
|
setReference: (node: RT | null) => void;
|
||||||
/**
|
/**
|
||||||
* A callback to set the floating element (reactive).
|
* A callback to set the floating element (reactive).
|
||||||
*/
|
*/
|
||||||
setFloating: (node: HTMLElement | null) => void;
|
setFloating: (node: HTMLElement | null) => void;
|
||||||
};
|
};
|
||||||
/**
|
/**
|
||||||
* Object containing the reference and floating elements.
|
* Object containing the reference and floating elements.
|
||||||
*/
|
*/
|
||||||
elements: {
|
elements: {
|
||||||
reference: RT | null;
|
reference: RT | null;
|
||||||
floating: HTMLElement | null;
|
floating: HTMLElement | null;
|
||||||
};
|
};
|
||||||
}>;
|
}>;
|
||||||
|
|
||||||
export { VirtualElement }
|
export { VirtualElement }
|
||||||
|
|
||||||
export { }
|
export { }
|
||||||
|
|
|
||||||
|
|
@ -1,103 +1,103 @@
|
||||||
export declare type AlignedPlacement = `${Side}-${Alignment}`;
|
export declare type AlignedPlacement = `${Side}-${Alignment}`;
|
||||||
|
|
||||||
export declare type Alignment = 'start' | 'end';
|
export declare type Alignment = 'start' | 'end';
|
||||||
|
|
||||||
export declare const alignments: Alignment[];
|
export declare const alignments: Alignment[];
|
||||||
|
|
||||||
export declare type Axis = 'x' | 'y';
|
export declare type Axis = 'x' | 'y';
|
||||||
|
|
||||||
export declare function clamp(start: number, value: number, end: number): number;
|
export declare function clamp(start: number, value: number, end: number): number;
|
||||||
|
|
||||||
export declare type ClientRectObject = Prettify<Rect & SideObject>;
|
export declare type ClientRectObject = Prettify<Rect & SideObject>;
|
||||||
|
|
||||||
export declare type Coords = {
|
export declare type Coords = {
|
||||||
[key in Axis]: number;
|
[key in Axis]: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
export declare const createCoords: (v: number) => {
|
export declare const createCoords: (v: number) => {
|
||||||
x: number;
|
x: number;
|
||||||
y: number;
|
y: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
export declare type Dimensions = {
|
export declare type Dimensions = {
|
||||||
[key in Length]: number;
|
[key in Length]: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
export declare interface ElementRects {
|
export declare interface ElementRects {
|
||||||
reference: Rect;
|
reference: Rect;
|
||||||
floating: Rect;
|
floating: Rect;
|
||||||
}
|
}
|
||||||
|
|
||||||
export declare function evaluate<T, P>(value: T | ((param: P) => T), param: P): T;
|
export declare function evaluate<T, P>(value: T | ((param: P) => T), param: P): T;
|
||||||
|
|
||||||
export declare function expandPaddingObject(padding: Partial<SideObject>): SideObject;
|
export declare function expandPaddingObject(padding: Partial<SideObject>): SideObject;
|
||||||
|
|
||||||
export declare const floor: (x: number) => number;
|
export declare const floor: (x: number) => number;
|
||||||
|
|
||||||
export declare function getAlignment(placement: Placement): Alignment | undefined;
|
export declare function getAlignment(placement: Placement): Alignment | undefined;
|
||||||
|
|
||||||
export declare function getAlignmentAxis(placement: Placement): Axis;
|
export declare function getAlignmentAxis(placement: Placement): Axis;
|
||||||
|
|
||||||
export declare function getAlignmentSides(placement: Placement, rects: ElementRects, rtl?: boolean): [Side, Side];
|
export declare function getAlignmentSides(placement: Placement, rects: ElementRects, rtl?: boolean): [Side, Side];
|
||||||
|
|
||||||
export declare function getAxisLength(axis: Axis): Length;
|
export declare function getAxisLength(axis: Axis): Length;
|
||||||
|
|
||||||
export declare function getExpandedPlacements(placement: Placement): Array<Placement>;
|
export declare function getExpandedPlacements(placement: Placement): Array<Placement>;
|
||||||
|
|
||||||
export declare function getOppositeAlignmentPlacement<T extends string>(placement: T): T;
|
export declare function getOppositeAlignmentPlacement<T extends string>(placement: T): T;
|
||||||
|
|
||||||
export declare function getOppositeAxis(axis: Axis): Axis;
|
export declare function getOppositeAxis(axis: Axis): Axis;
|
||||||
|
|
||||||
export declare function getOppositeAxisPlacements(placement: Placement, flipAlignment: boolean, direction: 'none' | Alignment, rtl?: boolean): Placement[];
|
export declare function getOppositeAxisPlacements(placement: Placement, flipAlignment: boolean, direction: 'none' | Alignment, rtl?: boolean): Placement[];
|
||||||
|
|
||||||
export declare function getOppositePlacement<T extends string>(placement: T): T;
|
export declare function getOppositePlacement<T extends string>(placement: T): T;
|
||||||
|
|
||||||
export declare function getPaddingObject(padding: Padding): SideObject;
|
export declare function getPaddingObject(padding: Padding): SideObject;
|
||||||
|
|
||||||
export declare function getSide(placement: Placement): Side;
|
export declare function getSide(placement: Placement): Side;
|
||||||
|
|
||||||
export declare function getSideAxis(placement: Placement): Axis;
|
export declare function getSideAxis(placement: Placement): Axis;
|
||||||
|
|
||||||
export declare type Length = 'width' | 'height';
|
export declare type Length = 'width' | 'height';
|
||||||
|
|
||||||
export declare const max: (...values: number[]) => number;
|
export declare const max: (...values: number[]) => number;
|
||||||
|
|
||||||
export declare const min: (...values: number[]) => number;
|
export declare const min: (...values: number[]) => number;
|
||||||
|
|
||||||
export declare type Padding = number | Prettify<Partial<SideObject>>;
|
export declare type Padding = number | Prettify<Partial<SideObject>>;
|
||||||
|
|
||||||
export declare type Placement = Prettify<Side | AlignedPlacement>;
|
export declare type Placement = Prettify<Side | AlignedPlacement>;
|
||||||
|
|
||||||
export declare const placements: Placement[];
|
export declare const placements: Placement[];
|
||||||
|
|
||||||
declare type Prettify<T> = {
|
declare type Prettify<T> = {
|
||||||
[K in keyof T]: T[K];
|
[K in keyof T]: T[K];
|
||||||
} & {};
|
} & {};
|
||||||
|
|
||||||
export declare type Rect = Prettify<Coords & Dimensions>;
|
export declare type Rect = Prettify<Coords & Dimensions>;
|
||||||
|
|
||||||
export declare function rectToClientRect(rect: Rect): ClientRectObject;
|
export declare function rectToClientRect(rect: Rect): ClientRectObject;
|
||||||
|
|
||||||
export declare const round: (x: number) => number;
|
export declare const round: (x: number) => number;
|
||||||
|
|
||||||
export declare type Side = 'top' | 'right' | 'bottom' | 'left';
|
export declare type Side = 'top' | 'right' | 'bottom' | 'left';
|
||||||
|
|
||||||
export declare type SideObject = {
|
export declare type SideObject = {
|
||||||
[key in Side]: number;
|
[key in Side]: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
export declare const sides: Side[];
|
export declare const sides: Side[];
|
||||||
|
|
||||||
export declare type Strategy = 'absolute' | 'fixed';
|
export declare type Strategy = 'absolute' | 'fixed';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Custom positioning reference element.
|
* Custom positioning reference element.
|
||||||
* @see https://floating-ui.com/docs/virtual-elements
|
* @see https://floating-ui.com/docs/virtual-elements
|
||||||
*/
|
*/
|
||||||
export declare interface VirtualElement {
|
export declare interface VirtualElement {
|
||||||
getBoundingClientRect(): ClientRectObject;
|
getBoundingClientRect(): ClientRectObject;
|
||||||
getClientRects?(): Array<ClientRectObject>;
|
getClientRects?(): Array<ClientRectObject>;
|
||||||
contextElement?: any;
|
contextElement?: any;
|
||||||
}
|
}
|
||||||
|
|
||||||
export { }
|
export { }
|
||||||
|
|
|
||||||
|
|
@ -1,103 +1,103 @@
|
||||||
export declare type AlignedPlacement = `${Side}-${Alignment}`;
|
export declare type AlignedPlacement = `${Side}-${Alignment}`;
|
||||||
|
|
||||||
export declare type Alignment = 'start' | 'end';
|
export declare type Alignment = 'start' | 'end';
|
||||||
|
|
||||||
export declare const alignments: Alignment[];
|
export declare const alignments: Alignment[];
|
||||||
|
|
||||||
export declare type Axis = 'x' | 'y';
|
export declare type Axis = 'x' | 'y';
|
||||||
|
|
||||||
export declare function clamp(start: number, value: number, end: number): number;
|
export declare function clamp(start: number, value: number, end: number): number;
|
||||||
|
|
||||||
export declare type ClientRectObject = Prettify<Rect & SideObject>;
|
export declare type ClientRectObject = Prettify<Rect & SideObject>;
|
||||||
|
|
||||||
export declare type Coords = {
|
export declare type Coords = {
|
||||||
[key in Axis]: number;
|
[key in Axis]: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
export declare const createCoords: (v: number) => {
|
export declare const createCoords: (v: number) => {
|
||||||
x: number;
|
x: number;
|
||||||
y: number;
|
y: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
export declare type Dimensions = {
|
export declare type Dimensions = {
|
||||||
[key in Length]: number;
|
[key in Length]: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
export declare interface ElementRects {
|
export declare interface ElementRects {
|
||||||
reference: Rect;
|
reference: Rect;
|
||||||
floating: Rect;
|
floating: Rect;
|
||||||
}
|
}
|
||||||
|
|
||||||
export declare function evaluate<T, P>(value: T | ((param: P) => T), param: P): T;
|
export declare function evaluate<T, P>(value: T | ((param: P) => T), param: P): T;
|
||||||
|
|
||||||
export declare function expandPaddingObject(padding: Partial<SideObject>): SideObject;
|
export declare function expandPaddingObject(padding: Partial<SideObject>): SideObject;
|
||||||
|
|
||||||
export declare const floor: (x: number) => number;
|
export declare const floor: (x: number) => number;
|
||||||
|
|
||||||
export declare function getAlignment(placement: Placement): Alignment | undefined;
|
export declare function getAlignment(placement: Placement): Alignment | undefined;
|
||||||
|
|
||||||
export declare function getAlignmentAxis(placement: Placement): Axis;
|
export declare function getAlignmentAxis(placement: Placement): Axis;
|
||||||
|
|
||||||
export declare function getAlignmentSides(placement: Placement, rects: ElementRects, rtl?: boolean): [Side, Side];
|
export declare function getAlignmentSides(placement: Placement, rects: ElementRects, rtl?: boolean): [Side, Side];
|
||||||
|
|
||||||
export declare function getAxisLength(axis: Axis): Length;
|
export declare function getAxisLength(axis: Axis): Length;
|
||||||
|
|
||||||
export declare function getExpandedPlacements(placement: Placement): Array<Placement>;
|
export declare function getExpandedPlacements(placement: Placement): Array<Placement>;
|
||||||
|
|
||||||
export declare function getOppositeAlignmentPlacement<T extends string>(placement: T): T;
|
export declare function getOppositeAlignmentPlacement<T extends string>(placement: T): T;
|
||||||
|
|
||||||
export declare function getOppositeAxis(axis: Axis): Axis;
|
export declare function getOppositeAxis(axis: Axis): Axis;
|
||||||
|
|
||||||
export declare function getOppositeAxisPlacements(placement: Placement, flipAlignment: boolean, direction: 'none' | Alignment, rtl?: boolean): Placement[];
|
export declare function getOppositeAxisPlacements(placement: Placement, flipAlignment: boolean, direction: 'none' | Alignment, rtl?: boolean): Placement[];
|
||||||
|
|
||||||
export declare function getOppositePlacement<T extends string>(placement: T): T;
|
export declare function getOppositePlacement<T extends string>(placement: T): T;
|
||||||
|
|
||||||
export declare function getPaddingObject(padding: Padding): SideObject;
|
export declare function getPaddingObject(padding: Padding): SideObject;
|
||||||
|
|
||||||
export declare function getSide(placement: Placement): Side;
|
export declare function getSide(placement: Placement): Side;
|
||||||
|
|
||||||
export declare function getSideAxis(placement: Placement): Axis;
|
export declare function getSideAxis(placement: Placement): Axis;
|
||||||
|
|
||||||
export declare type Length = 'width' | 'height';
|
export declare type Length = 'width' | 'height';
|
||||||
|
|
||||||
export declare const max: (...values: number[]) => number;
|
export declare const max: (...values: number[]) => number;
|
||||||
|
|
||||||
export declare const min: (...values: number[]) => number;
|
export declare const min: (...values: number[]) => number;
|
||||||
|
|
||||||
export declare type Padding = number | Prettify<Partial<SideObject>>;
|
export declare type Padding = number | Prettify<Partial<SideObject>>;
|
||||||
|
|
||||||
export declare type Placement = Prettify<Side | AlignedPlacement>;
|
export declare type Placement = Prettify<Side | AlignedPlacement>;
|
||||||
|
|
||||||
export declare const placements: Placement[];
|
export declare const placements: Placement[];
|
||||||
|
|
||||||
declare type Prettify<T> = {
|
declare type Prettify<T> = {
|
||||||
[K in keyof T]: T[K];
|
[K in keyof T]: T[K];
|
||||||
} & {};
|
} & {};
|
||||||
|
|
||||||
export declare type Rect = Prettify<Coords & Dimensions>;
|
export declare type Rect = Prettify<Coords & Dimensions>;
|
||||||
|
|
||||||
export declare function rectToClientRect(rect: Rect): ClientRectObject;
|
export declare function rectToClientRect(rect: Rect): ClientRectObject;
|
||||||
|
|
||||||
export declare const round: (x: number) => number;
|
export declare const round: (x: number) => number;
|
||||||
|
|
||||||
export declare type Side = 'top' | 'right' | 'bottom' | 'left';
|
export declare type Side = 'top' | 'right' | 'bottom' | 'left';
|
||||||
|
|
||||||
export declare type SideObject = {
|
export declare type SideObject = {
|
||||||
[key in Side]: number;
|
[key in Side]: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
export declare const sides: Side[];
|
export declare const sides: Side[];
|
||||||
|
|
||||||
export declare type Strategy = 'absolute' | 'fixed';
|
export declare type Strategy = 'absolute' | 'fixed';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Custom positioning reference element.
|
* Custom positioning reference element.
|
||||||
* @see https://floating-ui.com/docs/virtual-elements
|
* @see https://floating-ui.com/docs/virtual-elements
|
||||||
*/
|
*/
|
||||||
export declare interface VirtualElement {
|
export declare interface VirtualElement {
|
||||||
getBoundingClientRect(): ClientRectObject;
|
getBoundingClientRect(): ClientRectObject;
|
||||||
getClientRects?(): Array<ClientRectObject>;
|
getClientRects?(): Array<ClientRectObject>;
|
||||||
contextElement?: any;
|
contextElement?: any;
|
||||||
}
|
}
|
||||||
|
|
||||||
export { }
|
export { }
|
||||||
|
|
|
||||||
|
|
@ -1,47 +1,47 @@
|
||||||
declare function getComputedStyle_2(element: Element): CSSStyleDeclaration;
|
declare function getComputedStyle_2(element: Element): CSSStyleDeclaration;
|
||||||
export { getComputedStyle_2 as getComputedStyle }
|
export { getComputedStyle_2 as getComputedStyle }
|
||||||
|
|
||||||
export declare function getContainingBlock(element: Element): HTMLElement | null;
|
export declare function getContainingBlock(element: Element): HTMLElement | null;
|
||||||
|
|
||||||
export declare function getDocumentElement(node: Node | Window): HTMLElement;
|
export declare function getDocumentElement(node: Node | Window): HTMLElement;
|
||||||
|
|
||||||
export declare function getFrameElement(win: Window): Element | null;
|
export declare function getFrameElement(win: Window): Element | null;
|
||||||
|
|
||||||
export declare function getNearestOverflowAncestor(node: Node): HTMLElement;
|
export declare function getNearestOverflowAncestor(node: Node): HTMLElement;
|
||||||
|
|
||||||
export declare function getNodeName(node: Node | Window): string;
|
export declare function getNodeName(node: Node | Window): string;
|
||||||
|
|
||||||
export declare function getNodeScroll(element: Element | Window): {
|
export declare function getNodeScroll(element: Element | Window): {
|
||||||
scrollLeft: number;
|
scrollLeft: number;
|
||||||
scrollTop: number;
|
scrollTop: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
export declare function getOverflowAncestors(node: Node, list?: OverflowAncestors, traverseIframes?: boolean): OverflowAncestors;
|
export declare function getOverflowAncestors(node: Node, list?: OverflowAncestors, traverseIframes?: boolean): OverflowAncestors;
|
||||||
|
|
||||||
export declare function getParentNode(node: Node): Node;
|
export declare function getParentNode(node: Node): Node;
|
||||||
|
|
||||||
export declare function getWindow(node: any): typeof window;
|
export declare function getWindow(node: any): typeof window;
|
||||||
|
|
||||||
export declare function isContainingBlock(elementOrCss: Element | CSSStyleDeclaration): boolean;
|
export declare function isContainingBlock(elementOrCss: Element | CSSStyleDeclaration): boolean;
|
||||||
|
|
||||||
export declare function isElement(value: unknown): value is Element;
|
export declare function isElement(value: unknown): value is Element;
|
||||||
|
|
||||||
export declare function isHTMLElement(value: unknown): value is HTMLElement;
|
export declare function isHTMLElement(value: unknown): value is HTMLElement;
|
||||||
|
|
||||||
export declare function isLastTraversableNode(node: Node): boolean;
|
export declare function isLastTraversableNode(node: Node): boolean;
|
||||||
|
|
||||||
export declare function isNode(value: unknown): value is Node;
|
export declare function isNode(value: unknown): value is Node;
|
||||||
|
|
||||||
export declare function isOverflowElement(element: Element): boolean;
|
export declare function isOverflowElement(element: Element): boolean;
|
||||||
|
|
||||||
export declare function isShadowRoot(value: unknown): value is ShadowRoot;
|
export declare function isShadowRoot(value: unknown): value is ShadowRoot;
|
||||||
|
|
||||||
export declare function isTableElement(element: Element): boolean;
|
export declare function isTableElement(element: Element): boolean;
|
||||||
|
|
||||||
export declare function isTopLayer(element: Element): boolean;
|
export declare function isTopLayer(element: Element): boolean;
|
||||||
|
|
||||||
export declare function isWebKit(): boolean;
|
export declare function isWebKit(): boolean;
|
||||||
|
|
||||||
declare type OverflowAncestors = Array<Element | Window | VisualViewport>;
|
declare type OverflowAncestors = Array<Element | Window | VisualViewport>;
|
||||||
|
|
||||||
export { }
|
export { }
|
||||||
|
|
|
||||||
|
|
@ -1,47 +1,47 @@
|
||||||
declare function getComputedStyle_2(element: Element): CSSStyleDeclaration;
|
declare function getComputedStyle_2(element: Element): CSSStyleDeclaration;
|
||||||
export { getComputedStyle_2 as getComputedStyle }
|
export { getComputedStyle_2 as getComputedStyle }
|
||||||
|
|
||||||
export declare function getContainingBlock(element: Element): HTMLElement | null;
|
export declare function getContainingBlock(element: Element): HTMLElement | null;
|
||||||
|
|
||||||
export declare function getDocumentElement(node: Node | Window): HTMLElement;
|
export declare function getDocumentElement(node: Node | Window): HTMLElement;
|
||||||
|
|
||||||
export declare function getFrameElement(win: Window): Element | null;
|
export declare function getFrameElement(win: Window): Element | null;
|
||||||
|
|
||||||
export declare function getNearestOverflowAncestor(node: Node): HTMLElement;
|
export declare function getNearestOverflowAncestor(node: Node): HTMLElement;
|
||||||
|
|
||||||
export declare function getNodeName(node: Node | Window): string;
|
export declare function getNodeName(node: Node | Window): string;
|
||||||
|
|
||||||
export declare function getNodeScroll(element: Element | Window): {
|
export declare function getNodeScroll(element: Element | Window): {
|
||||||
scrollLeft: number;
|
scrollLeft: number;
|
||||||
scrollTop: number;
|
scrollTop: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
export declare function getOverflowAncestors(node: Node, list?: OverflowAncestors, traverseIframes?: boolean): OverflowAncestors;
|
export declare function getOverflowAncestors(node: Node, list?: OverflowAncestors, traverseIframes?: boolean): OverflowAncestors;
|
||||||
|
|
||||||
export declare function getParentNode(node: Node): Node;
|
export declare function getParentNode(node: Node): Node;
|
||||||
|
|
||||||
export declare function getWindow(node: any): typeof window;
|
export declare function getWindow(node: any): typeof window;
|
||||||
|
|
||||||
export declare function isContainingBlock(elementOrCss: Element | CSSStyleDeclaration): boolean;
|
export declare function isContainingBlock(elementOrCss: Element | CSSStyleDeclaration): boolean;
|
||||||
|
|
||||||
export declare function isElement(value: unknown): value is Element;
|
export declare function isElement(value: unknown): value is Element;
|
||||||
|
|
||||||
export declare function isHTMLElement(value: unknown): value is HTMLElement;
|
export declare function isHTMLElement(value: unknown): value is HTMLElement;
|
||||||
|
|
||||||
export declare function isLastTraversableNode(node: Node): boolean;
|
export declare function isLastTraversableNode(node: Node): boolean;
|
||||||
|
|
||||||
export declare function isNode(value: unknown): value is Node;
|
export declare function isNode(value: unknown): value is Node;
|
||||||
|
|
||||||
export declare function isOverflowElement(element: Element): boolean;
|
export declare function isOverflowElement(element: Element): boolean;
|
||||||
|
|
||||||
export declare function isShadowRoot(value: unknown): value is ShadowRoot;
|
export declare function isShadowRoot(value: unknown): value is ShadowRoot;
|
||||||
|
|
||||||
export declare function isTableElement(element: Element): boolean;
|
export declare function isTableElement(element: Element): boolean;
|
||||||
|
|
||||||
export declare function isTopLayer(element: Element): boolean;
|
export declare function isTopLayer(element: Element): boolean;
|
||||||
|
|
||||||
export declare function isWebKit(): boolean;
|
export declare function isWebKit(): boolean;
|
||||||
|
|
||||||
declare type OverflowAncestors = Array<Element | Window | VisualViewport>;
|
declare type OverflowAncestors = Array<Element | Window | VisualViewport>;
|
||||||
|
|
||||||
export { }
|
export { }
|
||||||
|
|
|
||||||
|
|
@ -1,47 +1,47 @@
|
||||||
declare function getComputedStyle_2(element: Element): CSSStyleDeclaration;
|
declare function getComputedStyle_2(element: Element): CSSStyleDeclaration;
|
||||||
export { getComputedStyle_2 as getComputedStyle }
|
export { getComputedStyle_2 as getComputedStyle }
|
||||||
|
|
||||||
export declare function getContainingBlock(element: Element): HTMLElement | null;
|
export declare function getContainingBlock(element: Element): HTMLElement | null;
|
||||||
|
|
||||||
export declare function getDocumentElement(node: Node | Window): HTMLElement;
|
export declare function getDocumentElement(node: Node | Window): HTMLElement;
|
||||||
|
|
||||||
export declare function getFrameElement(win: Window): Element | null;
|
export declare function getFrameElement(win: Window): Element | null;
|
||||||
|
|
||||||
export declare function getNearestOverflowAncestor(node: Node): HTMLElement;
|
export declare function getNearestOverflowAncestor(node: Node): HTMLElement;
|
||||||
|
|
||||||
export declare function getNodeName(node: Node | Window): string;
|
export declare function getNodeName(node: Node | Window): string;
|
||||||
|
|
||||||
export declare function getNodeScroll(element: Element | Window): {
|
export declare function getNodeScroll(element: Element | Window): {
|
||||||
scrollLeft: number;
|
scrollLeft: number;
|
||||||
scrollTop: number;
|
scrollTop: number;
|
||||||
};
|
};
|
||||||
|
|
||||||
export declare function getOverflowAncestors(node: Node, list?: OverflowAncestors, traverseIframes?: boolean): OverflowAncestors;
|
export declare function getOverflowAncestors(node: Node, list?: OverflowAncestors, traverseIframes?: boolean): OverflowAncestors;
|
||||||
|
|
||||||
export declare function getParentNode(node: Node): Node;
|
export declare function getParentNode(node: Node): Node;
|
||||||
|
|
||||||
export declare function getWindow(node: any): typeof window;
|
export declare function getWindow(node: any): typeof window;
|
||||||
|
|
||||||
export declare function isContainingBlock(elementOrCss: Element | CSSStyleDeclaration): boolean;
|
export declare function isContainingBlock(elementOrCss: Element | CSSStyleDeclaration): boolean;
|
||||||
|
|
||||||
export declare function isElement(value: unknown): value is Element;
|
export declare function isElement(value: unknown): value is Element;
|
||||||
|
|
||||||
export declare function isHTMLElement(value: unknown): value is HTMLElement;
|
export declare function isHTMLElement(value: unknown): value is HTMLElement;
|
||||||
|
|
||||||
export declare function isLastTraversableNode(node: Node): boolean;
|
export declare function isLastTraversableNode(node: Node): boolean;
|
||||||
|
|
||||||
export declare function isNode(value: unknown): value is Node;
|
export declare function isNode(value: unknown): value is Node;
|
||||||
|
|
||||||
export declare function isOverflowElement(element: Element): boolean;
|
export declare function isOverflowElement(element: Element): boolean;
|
||||||
|
|
||||||
export declare function isShadowRoot(value: unknown): value is ShadowRoot;
|
export declare function isShadowRoot(value: unknown): value is ShadowRoot;
|
||||||
|
|
||||||
export declare function isTableElement(element: Element): boolean;
|
export declare function isTableElement(element: Element): boolean;
|
||||||
|
|
||||||
export declare function isTopLayer(element: Element): boolean;
|
export declare function isTopLayer(element: Element): boolean;
|
||||||
|
|
||||||
export declare function isWebKit(): boolean;
|
export declare function isWebKit(): boolean;
|
||||||
|
|
||||||
declare type OverflowAncestors = Array<Element | Window | VisualViewport>;
|
declare type OverflowAncestors = Array<Element | Window | VisualViewport>;
|
||||||
|
|
||||||
export { }
|
export { }
|
||||||
|
|
|
||||||
0
node_modules/@jsr/supabase__supabase-js/.github/workflows/ci.yml
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/.github/workflows/ci.yml
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/.github/workflows/docs.yml
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/.github/workflows/docs.yml
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/.github/workflows/external-test.yml
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/.github/workflows/external-test.yml
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/.github/workflows/preview-release.yml
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/.github/workflows/preview-release.yml
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/.github/workflows/release.yml
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/.github/workflows/release.yml
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/.npmignore
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/.npmignore
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/.prettierignore
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/.prettierignore
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/.prettierrc
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/.prettierrc
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/.releaserc.json
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/.releaserc.json
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/README.md
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/README.md
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/RELEASE.md
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/RELEASE.md
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/_dist/src/SupabaseClient.d.ts
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/_dist/src/SupabaseClient.d.ts
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/_dist/src/SupabaseClient.d.ts.map
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/_dist/src/SupabaseClient.d.ts.map
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/_dist/src/index.d.ts
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/_dist/src/index.d.ts
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/_dist/src/index.d.ts.map
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/_dist/src/index.d.ts.map
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/_dist/src/lib/SupabaseAuthClient.d.ts
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/_dist/src/lib/SupabaseAuthClient.d.ts
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/_dist/src/lib/SupabaseAuthClient.d.ts.map
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/_dist/src/lib/SupabaseAuthClient.d.ts.map
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/_dist/src/lib/types.d.ts
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/_dist/src/lib/types.d.ts
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/_dist/src/lib/types.d.ts.map
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/_dist/src/lib/types.d.ts.map
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/docs/v1/.nojekyll
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/docs/v1/.nojekyll
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/docs/v1/assets/highlight.css
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/docs/v1/assets/highlight.css
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/docs/v1/assets/icons.css
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/docs/v1/assets/icons.css
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/docs/v1/assets/icons.png
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/docs/v1/assets/icons.png
generated
vendored
Normal file → Executable file
|
Before Width: | Height: | Size: 9.4 KiB After Width: | Height: | Size: 9.4 KiB |
0
node_modules/@jsr/supabase__supabase-js/docs/v1/assets/icons@2x.png
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/docs/v1/assets/icons@2x.png
generated
vendored
Normal file → Executable file
|
Before Width: | Height: | Size: 28 KiB After Width: | Height: | Size: 28 KiB |
0
node_modules/@jsr/supabase__supabase-js/docs/v1/assets/main.js
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/docs/v1/assets/main.js
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/docs/v1/assets/search.js
generated
vendored
Normal file → Executable file
0
node_modules/@jsr/supabase__supabase-js/docs/v1/assets/search.js
generated
vendored
Normal file → Executable file
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue