@aria-ui/overlay
Advanced tools
Comparing version 0.0.7 to 0.0.8
@@ -1,5 +0,5 @@ | ||
// src/overlay-anchor-element.gen.ts | ||
// src/overlay-anchor.element.gen.ts | ||
import { BaseElement } from "@aria-ui/core"; | ||
// src/overlay-anchor-state.ts | ||
// src/overlay-anchor.state.ts | ||
import { useEffect } from "@aria-ui/core"; | ||
@@ -14,3 +14,3 @@ | ||
// src/overlay-anchor-state.ts | ||
// src/overlay-anchor.state.ts | ||
function useOverlayAnchor(element) { | ||
@@ -23,3 +23,3 @@ const reference = referenceContext.consume(element); | ||
// src/overlay-anchor-element.gen.ts | ||
// src/overlay-anchor.element.gen.ts | ||
var OverlayAnchorElement = class extends BaseElement { | ||
@@ -32,14 +32,14 @@ constructor() { | ||
// src/overlay-positioner-element.gen.ts | ||
// src/overlay-positioner.element.gen.ts | ||
import { BaseElement as BaseElement2 } from "@aria-ui/core"; | ||
// src/overlay-positioner-state.ts | ||
// src/overlay-positioner.state.ts | ||
import { | ||
mapValues, | ||
useEffect as useEffect2, | ||
assignProps, | ||
mapSignals, | ||
mapValues, | ||
useEffect as useEffect2 | ||
mapSignals | ||
} from "@aria-ui/core"; | ||
// src/overlay-positioner-props.ts | ||
// src/overlay-positioner.props.ts | ||
var defaultOverlayPositionerProps = Object.freeze({ | ||
@@ -208,6 +208,5 @@ strategy: "absolute", | ||
// src/overlay-positioner-state.ts | ||
// src/overlay-positioner.state.ts | ||
function useOverlayPositioner(element, props) { | ||
const mergedProps = assignProps(defaultOverlayPositionerProps, props); | ||
const state = mapSignals(mergedProps); | ||
const state = mapSignals(assignProps(defaultOverlayPositionerProps, props)); | ||
const reference = referenceContext.consume(element); | ||
@@ -231,3 +230,3 @@ useEffect2(element, () => { | ||
// src/overlay-positioner-element.gen.ts | ||
// src/overlay-positioner.element.gen.ts | ||
var OverlayPositionerElement = class extends BaseElement2 { | ||
@@ -384,6 +383,6 @@ constructor(props) { | ||
// src/overlay-root-element.gen.ts | ||
// src/overlay-root.element.gen.ts | ||
import { BaseElement as BaseElement3 } from "@aria-ui/core"; | ||
// src/overlay-root-state.ts | ||
// src/overlay-root.state.ts | ||
import { createSignal } from "@aria-ui/core"; | ||
@@ -395,3 +394,3 @@ function useOverlayRoot(element) { | ||
// src/overlay-root-element.gen.ts | ||
// src/overlay-root.element.gen.ts | ||
var OverlayRootElement = class extends BaseElement3 { | ||
@@ -398,0 +397,0 @@ constructor() { |
{ | ||
"name": "@aria-ui/overlay", | ||
"type": "module", | ||
"version": "0.0.7", | ||
"version": "0.0.8", | ||
"private": false, | ||
@@ -12,5 +12,5 @@ "sideEffects": false, | ||
"dependencies": { | ||
"@aria-ui/core": "^0.0.8", | ||
"@aria-ui/core": "^0.0.9", | ||
"@floating-ui/dom": "^1.6.3", | ||
"@zag-js/dom-query": "^0.38.0" | ||
"@zag-js/dom-query": "^0.41.0" | ||
}, | ||
@@ -17,0 +17,0 @@ "devDependencies": { |
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
23236
620
+ Added@aria-ui/core@0.0.9(transitive)
+ Added@zag-js/dom-query@0.41.0(transitive)
- Removed@aria-ui/core@0.0.8(transitive)
- Removed@zag-js/dom-query@0.38.1(transitive)
Updated@aria-ui/core@^0.0.9
Updated@zag-js/dom-query@^0.41.0