File tree Expand file tree Collapse file tree 5 files changed +30
-3
lines changed
Expand file tree Collapse file tree 5 files changed +30
-3
lines changed Original file line number Diff line number Diff line change 1+ /*
2+ * This is a recreation of the @floating-ui/dom package.
3+ * Published under the MIT license.
4+ * @see https://github.com/floating-ui/floating-ui/blob/master/LICENSE
5+ */
6+
17import {
28 getSideAxis ,
39 getAlignmentAxis ,
Original file line number Diff line number Diff line change 1+ /*
2+ * This is a recreation of the @floating-ui/dom package.
3+ * Published under the MIT license.
4+ * @see https://github.com/floating-ui/floating-ui/blob/master/LICENSE
5+ */
6+
17import type {
28 Rect ,
39 Strategy ,
Original file line number Diff line number Diff line change 1- // All type definitions for floating UI functionality
2- // Types extracted from floating-utils.ts and floating-core.ts
1+ /*
2+ * This is a recreation of the @floating-ui/dom package.
3+ * Published under the MIT license.
4+ * @see https://github.com/floating-ui/floating-ui/blob/master/LICENSE
5+ */
36
47// Basic type definitions
58export type Alignment = 'start' | 'end' ;
Original file line number Diff line number Diff line change 1+ /*
2+ * This is a recreation of the @floating-ui/dom package.
3+ * Published under the MIT license.
4+ * @see https://github.com/floating-ui/floating-ui/blob/master/LICENSE
5+ */
6+
7+
18/**
29 * Checks if the current environment has a window object.
310 */
Original file line number Diff line number Diff line change 1- // Utility functions moved from @floating -ui/utils
1+ /*
2+ * This is a recreation of the @floating-ui/dom package.
3+ * Published under the MIT license.
4+ * @see https://github.com/floating-ui/floating-ui/blob/master/LICENSE
5+ */
6+
27// This file contains all the utility functions that were previously imported from @floating -ui/utils
38
49import type {
You can’t perform that action at this time.
0 commit comments