Skip to content

Commit 99b121c

Browse files
committed
chore: add license info
1 parent 1d2bc8e commit 99b121c

File tree

5 files changed

+30
-3
lines changed

5 files changed

+30
-3
lines changed

core/pfe-core/functions/floating-core.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
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+
17
import {
28
getSideAxis,
39
getAlignmentAxis,

core/pfe-core/functions/floating-dom.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
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+
17
import type {
28
Rect,
39
Strategy,

core/pfe-core/functions/floating-types.ts

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
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
58
export type Alignment = 'start' | 'end';

core/pfe-core/functions/floating-utils-dom.ts

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
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
*/

core/pfe-core/functions/floating-utils.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
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

49
import type {

0 commit comments

Comments
 (0)