Skip to content

Commit ca3c2da

Browse files
committed
Replace popperjs with floating-ui
1 parent 1bba2de commit ca3c2da

13 files changed

Lines changed: 123 additions & 37 deletions

@floating-ui/core/CHANGES.htm

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<p>
2+
See the
3+
<a href="https://github.com/floating-ui/floating-ui/releases"
4+
>Floating UI changelog</a
5+
>
6+
</p>

@floating-ui/core/LICENSE.htm

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<p>
2+
Floating UI is licensed under the
3+
<a
4+
href="https://github.com/floating-ui/floating-ui/blob/v<~=version~>/LICENSE"
5+
>MIT license</a
6+
>.
7+
</p>

@floating-ui/core/dnn-library.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"files": [
3+
"node_modules/@floating-ui/core/dist/floating-ui.core.umd.min.js"
4+
],
5+
"resources": [
6+
"node_modules/@floating-ui/core/dist/*.js",
7+
"node_modules/@floating-ui/core/dist/*.mjs"
8+
]
9+
}
Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<dotnetnuke type="Package" version="5.0">
22
<packages>
3-
<package name="popper" type="JavaScript_Library" version="<~=version~>">
4-
<friendlyName>Popper</friendlyName>
3+
<package name="floating-ui.core" type="JavaScript_Library" version="<~=version~>">
4+
<friendlyName>Floating UI Core</friendlyName>
55
<description>
6-
<![CDATA[Tooltip & Popover Positioning Engine]]>
6+
<![CDATA[This is the platform-agnostic core of Floating UI, exposing the main computePosition function but no platform interface logic.]]>
77
</description>
88
<owner>
99
<name>Engage Software</name>
@@ -18,24 +18,24 @@
1818
<components>
1919
<component type="JavaScript_Library">
2020
<javaScriptLibrary>
21-
<libraryName>popper</libraryName>
22-
<fileName>popper.min.js</fileName>
21+
<libraryName>floating-ui.core</libraryName>
22+
<fileName>floating-ui.core.umd.min.js</fileName>
2323
<preferredScriptLocation>BodyBottom</preferredScriptLocation>
24-
<objectName>Popper</objectName>
25-
<cdnUrl>https://cdn.jsdelivr.net/npm/@popperjs/core@<~=version~>/dist/umd/popper.min.js</cdnUrl>
24+
<objectName>FloatingUICore</objectName>
25+
<cdnUrl>https://cdn.jsdelivr.net/npm/@floating-ui/core@<~=version~>/dist/floating-ui.core.umd.min.js</cdnUrl>
2626
</javaScriptLibrary>
2727
</component>
2828
<component type="JavaScriptFile">
2929
<jsfiles>
30-
<libraryFolderName>popper</libraryFolderName>
30+
<libraryFolderName>floating-ui.core</libraryFolderName>
3131
<jsfile>
32-
<name>popper.min.js</name>
32+
<name>floating-ui.core.umd.min.js</name>
3333
</jsfile>
3434
</jsfiles>
3535
</component>
3636
<component type="ResourceFile">
3737
<resourceFiles>
38-
<basePath>Resources\Libraries\popper\<~=versionFolder~></basePath>
38+
<basePath>Resources\Libraries\floating-ui.core\<~=versionFolder~></basePath>
3939
<resourceFile>
4040
<name>Resources.zip</name>
4141
</resourceFile>

@floating-ui/dom/CHANGES.htm

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<p>
2+
See the
3+
<a href="https://github.com/floating-ui/floating-ui/releases"
4+
>Floating UI changelog</a
5+
>
6+
</p>

@floating-ui/dom/LICENSE.htm

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
<p>
2+
Floating UI is licensed under the
3+
<a
4+
href="https://github.com/floating-ui/floating-ui/blob/v<~=version~>/LICENSE"
5+
>MIT license</a
6+
>.
7+
</p>

@floating-ui/dom/dnn-library.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"files": ["node_modules/@floating-ui/dom/dist/floating-ui.dom.umd.min.js"],
3+
"resources": [
4+
"node_modules/@floating-ui/dom/dist/*.js",
5+
"node_modules/@floating-ui/dom/dist/*.mjs"
6+
]
7+
}
Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
<dotnetnuke type="Package" version="5.0">
2+
<packages>
3+
<package name="floating-ui.dom" type="JavaScript_Library" version="<~=version~>">
4+
<friendlyName>Floating UI DOM</friendlyName>
5+
<description>
6+
<![CDATA[This is the library to use Floating UI on the web, wrapping @floating-ui/core with DOM interface logic.]]>
7+
</description>
8+
<owner>
9+
<name>Engage Software</name>
10+
<organization>Engage Software</organization>
11+
<url>https://engagesoftware.com/</url>
12+
<email>support@engagesoftware.com</email>
13+
</owner>
14+
<license src="LICENSE.htm" />
15+
<releaseNotes src="CHANGES.htm" />
16+
<azureCompatible>true</azureCompatible>
17+
<dependencies>
18+
<dependency type="managedPackage" version="<~=version~>">floating-ui.core</dependency>
19+
</dependencies>
20+
<components>
21+
<component type="JavaScript_Library">
22+
<javaScriptLibrary>
23+
<libraryName>floating-ui.dom</libraryName>
24+
<fileName>floating-ui.dom.umd.min.js</fileName>
25+
<preferredScriptLocation>BodyBottom</preferredScriptLocation>
26+
<objectName>FloatingUIDOM</objectName>
27+
<cdnUrl>https://cdn.jsdelivr.net/npm/@floating-ui/dom@<~=version~>/dist/floating-ui.dom.umd.min.js</cdnUrl>
28+
</javaScriptLibrary>
29+
</component>
30+
<component type="JavaScriptFile">
31+
<jsfiles>
32+
<libraryFolderName>floating-ui.dom</libraryFolderName>
33+
<jsfile>
34+
<name>floating-ui.dom.umd.min.js</name>
35+
</jsfile>
36+
</jsfiles>
37+
</component>
38+
<component type="ResourceFile">
39+
<resourceFiles>
40+
<basePath>Resources\Libraries\floating-ui.dom\<~=versionFolder~></basePath>
41+
<resourceFile>
42+
<name>Resources.zip</name>
43+
</resourceFile>
44+
</resourceFiles>
45+
</component>
46+
</components>
47+
</package>
48+
</packages>
49+
</dotnetnuke>

@popperjs/core/CHANGES.htm

Lines changed: 0 additions & 7 deletions
This file was deleted.

@popperjs/core/LICENSE.htm

Lines changed: 0 additions & 7 deletions
This file was deleted.

0 commit comments

Comments
 (0)