@warp-ds/core
Advanced tools
Comparing version 1.1.4 to 1.1.5
@@ -95,7 +95,7 @@ import { computePosition, flip, offset, arrow, autoUpdate, hide } from '@floating-ui/dom'; | ||
middleware: [ | ||
offset({ mainAxis: state?.distance ?? 8, crossAxis: state?.skidding ?? 0 }), | ||
offset({ mainAxis: state?.distance ?? 8, crossAxis: state?.skidding ?? 0 }), // offers flexibility over how to place the attentionEl towards its targetEl both on the x and y axis (horizontally and vertically). | ||
state?.flip && | ||
flip({ | ||
// when flip is set to true it will move the attentionEl's placement to its opposite side or to the preferred placements if fallbackPlacements has a value | ||
crossAxis: state?.crossAxis, | ||
crossAxis: state?.crossAxis, // checks overflow to trigger a flip. When disabled, it will ignore overflow | ||
fallbackPlacements: state?.fallbackPlacements, | ||
@@ -102,0 +102,0 @@ }), |
@@ -5,3 +5,3 @@ { | ||
"description": "Shared business logic for JS implementations of Warp Design System", | ||
"version": "1.1.4", | ||
"version": "1.1.5", | ||
"type": "module", | ||
@@ -28,3 +28,3 @@ "exports": { | ||
"peerDependencies": { | ||
"@floating-ui/dom": "1.6.3" | ||
"@floating-ui/dom": "1.6.x" | ||
}, | ||
@@ -42,12 +42,11 @@ "scripts": { | ||
"devDependencies": { | ||
"@semantic-release/changelog": "^6.0.3", | ||
"@semantic-release/git": "^10.0.1", | ||
"@typescript-eslint/eslint-plugin": "^6.19.0", | ||
"@typescript-eslint/parser": "^6.19.0", | ||
"@semantic-release/changelog": "6.0.3", | ||
"@semantic-release/git": "10.0.1", | ||
"@typescript-eslint/eslint-plugin": "7.15.0", | ||
"@typescript-eslint/parser": "7.15.0", | ||
"@warp-ds/eslint-config": "1.0.5", | ||
"cz-conventional-changelog": "^3.3.0", | ||
"eslint": "8.57.0", | ||
"prettier": "3.2.5", | ||
"semantic-release": "^22.0.7", | ||
"typescript": "^4.7.4" | ||
"cz-conventional-changelog": "3.3.0", | ||
"prettier": "3.3.2", | ||
"semantic-release": "24.0.0", | ||
"typescript": "5.5.3" | ||
}, | ||
@@ -54,0 +53,0 @@ "publishConfig": { |
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
30773
9