@floating-ui/core
Advanced tools
Comparing version 1.5.2 to 1.5.3
@@ -62,3 +62,3 @@ import { getSideAxis, getAlignmentAxis, getAxisLength, getSide, getAlignment, evaluate, getPaddingObject, rectToClientRect, min, clamp, placements, getAlignmentSides, getOppositeAlignmentPlacement, getOppositePlacement, getExpandedPlacements, getOppositeAxisPlacements, sides, max, getOppositeAxis } from '@floating-ui/utils'; | ||
* Computes the `x` and `y` coordinates that will place the floating element | ||
* next to a reference element when it is given a certain positioning strategy. | ||
* next to a given reference element. | ||
* | ||
@@ -718,2 +718,3 @@ * This export does not have any `platform` interface logic. You will need to | ||
// Derivable. | ||
async function convertValueToCoords(state, options) { | ||
@@ -720,0 +721,0 @@ const { |
@@ -7,2 +7,7 @@ (function (global, factory) { | ||
/** | ||
* Custom positioning reference element. | ||
* @see https://floating-ui.com/docs/virtual-elements | ||
*/ | ||
const sides = ['top', 'right', 'bottom', 'left']; | ||
@@ -183,3 +188,3 @@ const alignments = ['start', 'end']; | ||
* Computes the `x` and `y` coordinates that will place the floating element | ||
* next to a reference element when it is given a certain positioning strategy. | ||
* next to a given reference element. | ||
* | ||
@@ -839,2 +844,3 @@ * This export does not have any `platform` interface logic. You will need to | ||
// Derivable. | ||
async function convertValueToCoords(state, options) { | ||
@@ -841,0 +847,0 @@ const { |
{ | ||
"name": "@floating-ui/core", | ||
"version": "1.5.2", | ||
"version": "1.5.3", | ||
"description": "Positioning library for floating elements: tooltips, popovers, dropdowns, and more", | ||
@@ -11,3 +11,3 @@ "publishConfig": { | ||
"unpkg": "./dist/floating-ui.core.umd.min.js", | ||
"types": "./src/types.d.ts", | ||
"types": "./dist/floating-ui.core.d.ts", | ||
"exports": { | ||
@@ -17,6 +17,6 @@ "./package.json": "./package.json", | ||
"import": { | ||
"types": "./src/types.d.ts", | ||
"types": "./dist/floating-ui.core.d.mts", | ||
"default": "./dist/floating-ui.core.mjs" | ||
}, | ||
"types": "./src/types.d.ts", | ||
"types": "./dist/floating-ui.core.d.ts", | ||
"module": "./dist/floating-ui.core.esm.js", | ||
@@ -28,11 +28,4 @@ "default": "./dist/floating-ui.core.umd.js" | ||
"files": [ | ||
"dist/", | ||
"**/*.d.ts", | ||
"**/*.d.mts" | ||
"dist" | ||
], | ||
"scripts": { | ||
"test": "vitest --globals", | ||
"dev": "rollup -c -w", | ||
"build": "NODE_ENV=build rollup -c" | ||
}, | ||
"author": "atomiks", | ||
@@ -56,4 +49,18 @@ "license": "MIT", | ||
"dependencies": { | ||
"@floating-ui/utils": "^0.1.3" | ||
"@floating-ui/utils": "^0.2.0" | ||
}, | ||
"devDependencies": { | ||
"config": "0.0.0" | ||
}, | ||
"scripts": { | ||
"test": "vitest run", | ||
"test:watch": "vitest watch", | ||
"lint": "eslint .", | ||
"clean": "rimraf dist out-tsc", | ||
"dev": "rollup -c -w", | ||
"build": "rollup -c", | ||
"build:api": "build-api --tsc tsconfig.lib.json", | ||
"publint": "publint", | ||
"typecheck": "tsc -b" | ||
} | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
207835
1
11
4808
+ Added@floating-ui/utils@0.2.7(transitive)
- Removed@floating-ui/utils@0.1.6(transitive)
Updated@floating-ui/utils@^0.2.0