avalynx-modal 0.0.1 → 0.0.2
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/README.md
CHANGED
|
@@ -42,8 +42,8 @@ Replace `path/to/avalynx-modal.js` and `path/to/avalynx-modal.css` with the actu
|
|
|
42
42
|
AvalynxModal is also available via [jsDelivr](https://www.jsdelivr.com/). You can include it in your project like this:
|
|
43
43
|
|
|
44
44
|
```html
|
|
45
|
-
<link href="https://cdn.jsdelivr.net/npm/avalynx-modal@0.0.
|
|
46
|
-
<script src="https://cdn.jsdelivr.net/npm/avalynx-modal@0.0.
|
|
45
|
+
<link href="https://cdn.jsdelivr.net/npm/avalynx-modal@0.0.2/dist/css/avalynx-modal.css" rel="stylesheet">
|
|
46
|
+
<script src="https://cdn.jsdelivr.net/npm/avalynx-modal@0.0.2/dist/js/avalynx-modal.js"></script>
|
|
47
47
|
```
|
|
48
48
|
|
|
49
49
|
Make sure to also include Bootstrap's JS/CSS in your project to ensure AvalynxModal displays correctly.
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* AvalynxModal is a simple modal system for web applications with fullscreen support. Based on Bootstrap >=5.3 without any framework dependencies.
|
|
5
5
|
*
|
|
6
|
-
* @version 0.0.
|
|
6
|
+
* @version 0.0.2
|
|
7
7
|
* @license MIT
|
|
8
8
|
* @author https://github.com/avalynx/avalynx-modal/graphs/contributors
|
|
9
9
|
* @website https://github.com/avalynx/
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
background: transparent var(--avalynx-modal-btn-fullscreen-bg) center/2em auto no-repeat;
|
|
25
25
|
}
|
|
26
26
|
|
|
27
|
-
.avalynx-modal .
|
|
27
|
+
.avalynx-modal .modal-fullscreen .avalynx-modal-btn-fullscreen {
|
|
28
28
|
--avalynx-modal-btn-fullscreen-bg: url("data:image/svg+xml,%3c!--!Font%20Awesome%20Free%206.5.2%20by%20%40fontawesome%20-%20https%3a//fontawesome.com%20License%20-%20https%3a//fontawesome.com/license/free%20Copyright%202024%20Fonticons%2c%20Inc.--%3e%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3e%3cpath d='M32 416c-17.7 0-32 14.3-32 32s14.3 32 32 32H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H32z'/%3e%3c/svg%3e");
|
|
29
29
|
background: transparent var(--avalynx-modal-btn-fullscreen-bg) center/2em auto no-repeat;
|
|
30
30
|
}
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* AvalynxModal is a simple modal system for web applications with fullscreen support. Based on Bootstrap >=5.3 without any framework dependencies.
|
|
5
5
|
*
|
|
6
|
-
* @version 0.0.
|
|
6
|
+
* @version 0.0.2
|
|
7
7
|
* @license MIT
|
|
8
8
|
* @author https://github.com/avalynx/avalynx-modal/graphs/contributors
|
|
9
9
|
* @website https://github.com/avalynx/
|
package/dist/js/avalynx-modal.js
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* AvalynxModal is a simple modal system for web applications with fullscreen support. Based on Bootstrap >=5.3 without any framework dependencies.
|
|
5
5
|
*
|
|
6
|
-
* @version 0.0.
|
|
6
|
+
* @version 0.0.2
|
|
7
7
|
* @license MIT
|
|
8
8
|
* @author https://github.com/avalynx/avalynx-modal/graphs/contributors
|
|
9
9
|
* @website https://github.com/avalynx/
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "avalynx-modal",
|
|
3
3
|
"title": "AvalynxModal",
|
|
4
4
|
"description": "AvalynxModal is a simple modal system for web applications with fullscreen support. Based on Bootstrap >=5.3 without any framework dependencies.",
|
|
5
|
-
"version": "0.0.
|
|
5
|
+
"version": "0.0.2",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "dist/js/avalynx-modal.js",
|
|
8
8
|
"module": "dist/js/avalynx-modal.esm.js",
|
|
@@ -36,7 +36,8 @@
|
|
|
36
36
|
"url": "https://github.com/avalynx/avalynx-modal/issues"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
|
-
"test": "jest"
|
|
39
|
+
"test": "jest",
|
|
40
|
+
"build": "shx rm -rf dist; shx mkdir -p dist/js/; shx cp src/js/avalynx-modal.js dist/js/avalynx-modal.js; shx cp src/js/avalynx-modal.js dist/js/avalynx-modal.esm.js; node build.js dist/js/avalynx-modal.esm.js; shx mkdir -p dist/css/; shx cp src/css/avalynx-modal.css dist/css/avalynx-modal.css"
|
|
40
41
|
},
|
|
41
42
|
"dependencies": {
|
|
42
43
|
"bootstrap": ">=5.3"
|
|
@@ -47,6 +48,8 @@
|
|
|
47
48
|
"babel-jest": "^29",
|
|
48
49
|
"jest": "^29",
|
|
49
50
|
"jest-environment-jsdom": "^29",
|
|
50
|
-
"@testing-library/jest-dom": "^6"
|
|
51
|
+
"@testing-library/jest-dom": "^6",
|
|
52
|
+
"shelljs": "^0",
|
|
53
|
+
"shx": "^0"
|
|
51
54
|
}
|
|
52
55
|
}
|