@octanejs/floating-ui 0.1.51 → 0.1.53

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/UPSTREAM.md CHANGED
@@ -19,7 +19,7 @@ reviewed patches in `audit/upstream-patches/`.
19
19
 
20
20
  Both runtime lanes register the same 307 upstream cases. The pristine lane has
21
21
  301 passes and six upstream-declared skips. The adapted lane crosswalks the
22
- same 301 executed identities: 272 are compatible passes and 29 use Vitest's
22
+ same 301 executed identities: 276 are compatible passes and 25 use Vitest's
23
23
  `fails` modifier as executable negative controls for documented Octane
24
24
  divergences. The same six upstream skips remain explicit non-evidence. See
25
25
  `audit/runtime-crosswalk.json`, `audit/expected-failures.json`, and
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@octanejs/floating-ui",
3
- "version": "0.1.51",
3
+ "version": "0.1.53",
4
4
  "license": "MIT",
5
5
  "type": "module",
6
6
  "sideEffects": false,
@@ -63,7 +63,7 @@
63
63
  "@testing-library/user-event": "14.6.1",
64
64
  "@types/react": "18.3.19",
65
65
  "@types/react-dom": "18.3.1",
66
- "@tsrx/react": "^0.2.63",
66
+ "@tsrx/react": "^0.3.0",
67
67
  "@vitest/browser": "4.1.10",
68
68
  "@floating-ui/react": "0.27.19",
69
69
  "@floating-ui/react-dom": "2.1.8",
@@ -80,8 +80,8 @@
80
80
  "vite": "^8.1.5",
81
81
  "vitest": "3.0.9",
82
82
  "vitest-browser-react": "0.1.1",
83
- "@octanejs/testing-library": "0.1.49",
84
- "octane": "0.2.0"
83
+ "@octanejs/testing-library": "0.1.51",
84
+ "octane": "0.2.12"
85
85
  },
86
86
  "scripts": {
87
87
  "build:cjs": "node ../../scripts/build-package-commonjs.mjs",
@@ -7,24 +7,15 @@
7
7
  import { isShadowRoot, isHTMLElement } from '@floating-ui/utils/dom';
8
8
  import { floor } from '@floating-ui/utils';
9
9
  import { tabbable, type FocusableElement } from 'tabbable';
10
- import { useCallback, useLayoutEffect, useRef } from 'octane';
11
- import type { Octane } from 'octane/jsx-runtime';
10
+ import { useCallback, useLayoutEffect, useRef, type CSSProperties } from 'octane';
12
11
  import type { Dimensions } from '@floating-ui/dom';
13
12
 
14
13
  import { subSlot } from '../internal';
15
14
  import type { Delay, MutableRefObject } from '../types';
16
15
 
17
- export { getDeepestNode, getNodeAncestors, getNodeChildren } from './nodes';
16
+ export type { CSSProperties } from 'octane';
18
17
 
19
- /**
20
- * The OBJECT form of octane's `style` prop — the port's analog of
21
- * `React.CSSProperties` (octane's `style` additionally accepts a plain string;
22
- * helpers that merge/inspect style objects require this form).
23
- */
24
- export type CSSProperties = Exclude<
25
- Octane.HTMLAttributes<HTMLElement>['style'],
26
- string | undefined
27
- >;
18
+ export { getDeepestNode, getNodeAncestors, getNodeChildren } from './nodes';
28
19
 
29
20
  /** Which list items are disabled (mirrors upstream's unexported `DisabledIndices`). */
30
21
  export type DisabledIndices = Array<number> | ((index: number) => boolean);