Skip to content

Commit 233aadb

Browse files
committed
Update AvalynxLoader to version 1.0.0
Bumped AvalynxLoader version to 1.0.0 across all references, including README, package.json, examples, and documentation. Removed changelog, introduced Symfony AssetComposer example, and ensured all files reflect the new version for distribution readiness.
1 parent 7fbfabf commit 233aadb

File tree

8 files changed

+19
-16
lines changed

8 files changed

+19
-16
lines changed

CHANGELOG.md

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

README.md

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Replace `path/to/avalynx-loader.js` with the actual path to the file in your pro
4141
AvalynxLoader is also available via [jsDelivr](https://www.jsdelivr.com/). You can include it in your project like this:
4242

4343
```html
44-
<script src="https://cdn.jsdelivr.net/npm/avalynx-loader@0.0.3/dist/js/avalynx-loader.min.js"></script>
44+
<script src="https://cdn.jsdelivr.net/npm/avalynx-loader@1.0.0/dist/js/avalynx-loader.min.js"></script>
4545
```
4646

4747
## Installation via NPM ([Link](https://www.npmjs.com/package/avalynx-loader))
@@ -72,6 +72,16 @@ import { AvalynxLoader } from 'avalynx-loader';
7272

7373
Make sure to also include Bootstrap's JS/CSS in your project to ensure AvalynxLoader displays correctly.
7474

75+
## Installation via Symfony AssetComposer
76+
77+
More information about the Symfony AssetComposer Bundle can be found [here](https://github.com/jbsnewmedia/asset-composer-bundle).
78+
79+
```twig
80+
{% do addAssetComposer('avalynx/avalynx-loader/dist/js/avalynx-loader.js') %}
81+
```
82+
83+
Make sure to also include Bootstrap's JS/CSS in your project to ensure AvalynxLoader displays correctly.
84+
7585
## Installation via Composer ([Link](https://packagist.org/packages/avalynx/avalynx-loader))
7686

7787
AvalynxLoader is also available as a Composer package. You can add it to your project with the following command:

dist/js/avalynx-loader.esm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* AvalynxLoader is a lightweight JavaScript library designed to provide a loading overlay for DOM elements. Based on Bootstrap >=5.3 without any framework dependencies.
55
*
6-
* @version 0.0.2
6+
* @version 1.0.0
77
* @license MIT
88
* @author https://github.com/avalynx/avalynx-loader/graphs/contributors
99
* @website https://github.com/avalynx/

dist/js/avalynx-loader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* AvalynxLoader is a lightweight JavaScript library designed to provide a loading overlay for DOM elements. Based on Bootstrap >=5.3 without any framework dependencies.
55
*
6-
* @version 0.0.2
6+
* @version 1.0.0
77
* @license MIT
88
* @author https://github.com/avalynx/avalynx-loader/graphs/contributors
99
* @website https://github.com/avalynx/

examples/loader-for-2-elements.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/styles/stackoverflow-light.min.css" id="hljsTheme">
1717
<script>hljs.highlightAll();</script>
1818

19-
<!-- AvalynxLoader 0.0.3 -->
20-
<script src="https://cdn.jsdelivr.net/npm/avalynx-loader@0.0.3/dist/js/avalynx-loader.min.js"></script>
19+
<!-- AvalynxLoader 1.0.0 -->
20+
<script src="https://cdn.jsdelivr.net/npm/avalynx-loader@1.0.0/dist/js/avalynx-loader.min.js"></script>
2121

2222
<!-- Example helper -->
2323
<link href="./css/helper.css" rel="stylesheet">

examples/loader-for-3-elements-with-load-button.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@
1616
<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/highlightjs/[email protected]/build/styles/stackoverflow-light.min.css" id="hljsTheme">
1717
<script>hljs.highlightAll();</script>
1818

19-
<!-- AvalynxLoader 0.0.3 -->
20-
<script src="https://cdn.jsdelivr.net/npm/avalynx-loader@0.0.3/dist/js/avalynx-loader.min.js"></script>
19+
<!-- AvalynxLoader 1.0.0 -->
20+
<script src="https://cdn.jsdelivr.net/npm/avalynx-loader@1.0.0/dist/js/avalynx-loader.min.js"></script>
2121

2222
<!-- Example helper -->
2323
<link href="./css/helper.css" rel="stylesheet">

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "avalynx-loader",
33
"title": "AvalynxLoader",
44
"description": "AvalynxLoader is a lightweight JavaScript library designed to provide a loading overlay for DOM elements. Based on Bootstrap >=5.3 without any framework dependencies.",
5-
"version": "0.0.3",
5+
"version": "1.0.0",
66
"license": "MIT",
77
"main": "dist/js/avalynx-loader.js",
88
"module": "dist/js/avalynx-loader.esm.js",

src/js/avalynx-loader.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* AvalynxLoader is a lightweight JavaScript library designed to provide a loading overlay for DOM elements. Based on Bootstrap >=5.3 without any framework dependencies.
55
*
6-
* @version 0.0.3
6+
* @version 1.0.0
77
* @license MIT
88
* @author https://github.com/avalynx/avalynx-loader/graphs/contributors
99
* @website https://github.com/avalynx/

0 commit comments

Comments
 (0)