Skip to content

Commit 038fd90

Browse files
committed
0.0.2
1 parent 0c6f817 commit 038fd90

11 files changed

Lines changed: 41 additions & 24 deletions

README.md

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,18 +41,18 @@ Then, include AvalynxDataTable:
4141

4242
Replace `path/to/avalynx-datatable.js` and `path/to/avalynx-datatable.css` with the actual path to the files in your project.
4343

44-
## Installation via jsDelivr
44+
## Installation via jsDelivr ([Link](https://cdn.jsdelivr.net/npm/avalynx-datatable/))
4545

4646
AvalynxDataTable is also available via [jsDelivr](https://www.jsdelivr.com/). You can include it in your project like this:
4747

4848
```html
49-
<link href="https://cdn.jsdelivr.net/npm/avalynx-datatable/dist/avalynx-datatable.css" rel="stylesheet">
50-
<script src="https://cdn.jsdelivr.net/npm/avalynx-datatable/dist/avalynx-datatable.js"></script>
49+
<link href="https://cdn.jsdelivr.net/npm/avalynx-datatable@0.0.2/dist/css/avalynx-datatable.min.css" rel="stylesheet">
50+
<script src="https://cdn.jsdelivr.net/npm/avalynx-datatable@0.0.2/dist/js/avalynx-datatable.min.js"></script>
5151
```
5252

5353
Make sure to also include Bootstrap's JS/CSS in your project to ensure AvalynxDataTable displays correctly.
5454

55-
## Installation via NPM
55+
## Installation via NPM ([Link](https://www.npmjs.com/package/avalynx-datatable))
5656

5757
AvalynxDataTable is also available as a npm package. You can add it to your project with the following command:
5858

@@ -84,6 +84,23 @@ import 'avalynx-datatable/dist/css/avalynx-datatable.min.css';
8484

8585
Make sure to also include Bootstrap's JS/CSS in your project to ensure AvalynxDataTable displays correctly.
8686

87+
## Installation via Composer ([Link](https://packagist.org/packages/avalynx/avalynx-datatable))
88+
89+
AvalynxDataTable is also available as a Composer package. You can add it to your project with the following command:
90+
91+
```bash
92+
composer require avalynx/avalynx-datatable
93+
```
94+
95+
After installing, you can import AvalynxDataTable into your HTML file like this:
96+
97+
```html
98+
<link href="vendor/avalynx/avalynx-datatable/dist/css/avalynx-datatable.css" rel="stylesheet">
99+
<script src="vendor/avalynx/avalynx-datatable/dist/js/avalynx-datatable.js"></script>
100+
```
101+
102+
Make sure to also include Bootstrap's JS/CSS in your project to ensure AvalynxDataTable displays correctly.
103+
87104
## Usage
88105

89106
To create a datatable, simply instantiate a new `AvalynxDataTable` object with the desired options:

dist/css/avalynx-datatable.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A simple, lightweight, and customizable data table for the web. Based on Bootstrap >=5.3 without any framework dependencies.
55
*
6-
* @version 0.0.1
6+
* @version 0.0.2
77
* @license MIT
88
* @author https://github.com/avalynx/avalynx-datatable/graphs/contributors
99
* @website https://github.com/avalynx/
@@ -62,4 +62,4 @@
6262
.avalynx-datatable-table td.avalynx-datatable-sorting-asc:before,
6363
.avalynx-datatable-table td.avalynx-datatable-sorting-desc:after {
6464
opacity: .7;
65-
}
65+
}

dist/js/avalynx-datatable.esm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A simple, lightweight, and customizable data table for the web. Based on Bootstrap >=5.3 without any framework dependencies.
55
*
6-
* @version 0.0.1
6+
* @version 0.0.2
77
* @license MIT
88
* @author https://github.com/avalynx/avalynx-datatable/graphs/contributors
99
* @website https://github.com/avalynx/

dist/js/avalynx-datatable.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A simple, lightweight, and customizable data table for the web. Based on Bootstrap >=5.3 without any framework dependencies.
55
*
6-
* @version 0.0.1
6+
* @version 0.0.2
77
* @license MIT
88
* @author https://github.com/avalynx/avalynx-datatable/graphs/contributors
99
* @website https://github.com/avalynx/

examples/datatable-multiple-instances.html

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

19-
<!-- AvalynxDatatable 0.0.1 -->
20-
<link href="../dist/css/avalynx-datatable.css" rel="stylesheet">
21-
<script src="../dist/js/avalynx-datatable.js"></script>
19+
<!-- AvalynxDatatable 0.0.2 -->
20+
<link href="https://cdn.jsdelivr.net/npm/avalynx-datatable@0.0.2/dist/css/avalynx-datatable.min.css" rel="stylesheet">
21+
<script src="https://cdn.jsdelivr.net/npm/avalynx-datatable@0.0.2/dist/js/avalynx-datatable.min.js"></script>
2222

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

examples/datatable-slow-response.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717
<script>hljs.highlightAll();</script>
1818

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

22-
<!-- AvalynxDatatable 0.0.1 -->
23-
<link href="../dist/css/avalynx-datatable.css" rel="stylesheet">
24-
<script src="../dist/js/avalynx-datatable.js"></script>
22+
<!-- AvalynxDatatable 0.0.2 -->
23+
<link href="https://cdn.jsdelivr.net/npm/avalynx-datatable@0.0.2/dist/css/avalynx-datatable.min.css" rel="stylesheet">
24+
<script src="https://cdn.jsdelivr.net/npm/avalynx-datatable@0.0.2/dist/js/avalynx-datatable.min.js"></script>
2525

2626
<!-- Example helper -->
2727
<link href="./css/helper.css" rel="stylesheet">

examples/datatable.html

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

19-
<!-- AvalynxDatatable 0.0.1 -->
20-
<link href="../dist/css/avalynx-datatable.css" rel="stylesheet">
21-
<script src="../dist/js/avalynx-datatable.js"></script>
19+
<!-- AvalynxDatatable 0.0.2 -->
20+
<link href="https://cdn.jsdelivr.net/npm/avalynx-datatable@0.0.2/dist/css/avalynx-datatable.min.css" rel="stylesheet">
21+
<script src="https://cdn.jsdelivr.net/npm/avalynx-datatable@0.0.2/dist/js/avalynx-datatable.min.js"></script>
2222

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

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "avalynx-datatable",
33
"title": "AvalynxDataTable",
44
"description": "AvalynxDatatable is a simple, lightweight, and customizable datatable for the web. Based on Bootstrap >=5.3 without any framework dependencies.",
5-
"version": "0.0.1",
5+
"version": "0.0.2",
66
"license": "MIT",
77
"main": "dist/js/avalynx-datatable.js",
88
"module": "dist/js/avalynx-datatable.esm.js",
@@ -42,4 +42,4 @@
4242
"bugs": {
4343
"url": "https://github.com/avalynx/avalynx-datatable/issues"
4444
}
45-
}
45+
}

src/css/avalynx-datatable.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A simple, lightweight, and customizable data table for the web. Based on Bootstrap >=5.3 without any framework dependencies.
55
*
6-
* @version 0.0.1
6+
* @version 0.0.2
77
* @license MIT
88
* @author https://github.com/avalynx/avalynx-datatable/graphs/contributors
99
* @website https://github.com/avalynx/
@@ -62,4 +62,4 @@
6262
.avalynx-datatable-table td.avalynx-datatable-sorting-asc:before,
6363
.avalynx-datatable-table td.avalynx-datatable-sorting-desc:after {
6464
opacity: .7;
65-
}
65+
}

src/js/avalynx-datatable.esm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
*
44
* A simple, lightweight, and customizable data table for the web. Based on Bootstrap >=5.3 without any framework dependencies.
55
*
6-
* @version 0.0.1
6+
* @version 0.0.2
77
* @license MIT
88
* @author https://github.com/avalynx/avalynx-datatable/graphs/contributors
99
* @website https://github.com/avalynx/

0 commit comments

Comments
 (0)