@cocreate/selection 1.6.11 → 1.6.13
Sign up to get free protection for your applications and to get access to all the features.
- package/.github/FUNDING.yml +3 -3
- package/.github/workflows/automated.yml +95 -95
- package/.github/workflows/manual.yml +44 -44
- package/CHANGELOG.md +931 -916
- package/CONTRIBUTING.md +96 -96
- package/CoCreate.config.js +26 -26
- package/LICENSE +683 -683
- package/README.md +98 -98
- package/demo/index.html +20 -20
- package/docs/index.html +278 -278
- package/package.json +4 -4
- package/release.config.js +21 -21
- package/src/index.js +448 -448
- package/webpack.config.js +84 -84
package/README.md
CHANGED
@@ -1,99 +1,99 @@
|
|
1
|
-
# CoCreate-selection
|
2
|
-
|
3
|
-
A simple selection component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API. Take it for a spin in our [playground!](https://cocreate.app/docs/selection)
|
4
|
-
|
5
|
-
![min file size in bytes](https://img.badgesize.io/https://cdn.cocreate.app/selection/latest/CoCreate-selection.min.js?style=flat-square&label=minified&color=orange)
|
6
|
-
![gzip file size in bytes](https://img.badgesize.io/https://cdn.cocreate.app/selection/latest/CoCreate-selection.min.js?compression=gzip&style=flat-square&label=gzip&color=yellow)
|
7
|
-
![brotlifile size in bytes](https://img.badgesize.io/https://cdn.cocreate.app/selection/latest/CoCreate-selection.min.js?compression=brotli&style=flat-square&label=brotli)
|
8
|
-
![GitHub latest release](https://img.shields.io/github/v/release/CoCreate-app/CoCreate-selection?style=flat-square)
|
9
|
-
![GitHub contributors](https://img.shields.io/github/contributors/CoCreate-app/CoCreate-metrics-server?style=flat-square)
|
10
|
-
![License](https://img.shields.io/static/v1?style=flat-square&label=license&message=AGPL-3.0&color=green)
|
11
|
-
![GitHub](https://img.shields.io/static/v1?style=flat-square&label=&message=Hiring&color=blueviolet)
|
12
|
-
|
13
|
-
|
14
|
-
![CoCreate-selection](https://cdn.cocreate.app/docs/CoCreate-selection.gif)
|
15
|
-
|
16
|
-
## [Docs & Demo](https://cocreate.app/docs/selection)
|
17
|
-
|
18
|
-
For a complete guide and working demo refer to the [doumentation](https://cocreate.app/docs/selection)
|
19
|
-
|
20
|
-
## CDN
|
21
|
-
|
22
|
-
```html
|
23
|
-
<script src="https://cdn.cocreate.app/selection/latest/CoCreate-selection.min.js"></script>
|
24
|
-
```
|
25
|
-
|
26
|
-
```html
|
27
|
-
<script src="https://cdn.cocreate.app/selection/latest/CoCreate-selection.min.css"></script>
|
28
|
-
```
|
29
|
-
|
30
|
-
## NPM
|
31
|
-
|
32
|
-
```shell
|
33
|
-
$ npm i @cocreate/selection
|
34
|
-
```
|
35
|
-
|
36
|
-
## yarn
|
37
|
-
|
38
|
-
```shell
|
39
|
-
$ yarn install @cocreate/selection
|
40
|
-
```
|
41
|
-
|
42
|
-
# Table of Contents
|
43
|
-
|
44
|
-
- [Table of Contents](#table-of-contents)
|
45
|
-
- [Announcements](#announcements)
|
46
|
-
- [Roadmap](#roadmap)
|
47
|
-
- [How to Contribute](#how-to-contribute)
|
48
|
-
- [About](#about)
|
49
|
-
- [License](#license)
|
50
|
-
|
51
|
-
<a name="announcements"></a>
|
52
|
-
|
53
|
-
# Announcements
|
54
|
-
|
55
|
-
All updates to this library are documented in our [CHANGELOG](https://github.com/CoCreate-app/CoCreate-selection/blob/master/CHANGELOG.md) and [releases](https://github.com/CoCreate-app/CoCreate-selection/releases). You may also subscribe to email for releases and breaking changes.
|
56
|
-
|
57
|
-
<a name="roadmap"></a>
|
58
|
-
|
59
|
-
# Roadmap
|
60
|
-
|
61
|
-
If you are interested in the future direction of this project, please take a look at our open [issues](https://github.com/CoCreate-app/CoCreate-selection/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-selection/pulls). We would love to hear your feedback.
|
62
|
-
|
63
|
-
<a name="about"></a>
|
64
|
-
|
65
|
-
# About
|
66
|
-
|
67
|
-
CoCreate-selection is guided and supported by the CoCreate Developer Experience Team.
|
68
|
-
|
69
|
-
Please Email the Developer Experience Team [here](mailto:develop@cocreate.app) in case of any queries.
|
70
|
-
|
71
|
-
CoCreate-selection is maintained and funded by CoCreate. The names and logos for CoCreate are trademarks of CoCreate, LLC.
|
72
|
-
|
73
|
-
<a name="contribute"></a>
|
74
|
-
|
75
|
-
# How to Contribute
|
76
|
-
|
77
|
-
We encourage contribution to our libraries (you might even score some nifty swag), please see our [CONTRIBUTING](https://github.com/CoCreate-app/CoCreate-selection/blob/master/CONTRIBUTING.md) guide for details.
|
78
|
-
|
79
|
-
We want this library to be community-driven, and CoCreate led. We need your help to realize this goal. To help make sure we are building the right things in the right order, we ask that you create [issues](https://github.com/CoCreate-app/CoCreate-selection/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-selection/pulls) or merely upvote or comment on existing issues or pull requests.
|
80
|
-
|
81
|
-
We appreciate your continued support, thank you!
|
82
|
-
|
83
|
-
|
84
|
-
<a name="license"></a>
|
85
|
-
# Dual License
|
86
|
-
## Open Source
|
87
|
-
[GNU Affero General Public License version 3 (AGPL-3.0)](https://github.com/CoCreate-app/CoCreate-selection/blob/master/LICENSE)
|
88
|
-
|
89
|
-
## Commercial
|
90
|
-
For-profit companies and individuals intending to use CoCreate-selection for
|
91
|
-
commercial use must purchase a commercial license. This license allows
|
92
|
-
source code modifications, but does not permit redistribution of
|
93
|
-
modifications.
|
94
|
-
|
95
|
-
The commercial license is designed for you to use CoCreate-selection in commercial
|
96
|
-
products and applications, without the provisions of the GPLv3. With the
|
97
|
-
commercial license, your code is kept propietary, to yourself. If you
|
98
|
-
want to use CoCreate-selection to develop commercial sites, themes, projects, and
|
1
|
+
# CoCreate-selection
|
2
|
+
|
3
|
+
A simple selection component in vanilla javascript. Easily configured using HTML5 data-attributes and/or JavaScript API. Take it for a spin in our [playground!](https://cocreate.app/docs/selection)
|
4
|
+
|
5
|
+
![min file size in bytes](https://img.badgesize.io/https://cdn.cocreate.app/selection/latest/CoCreate-selection.min.js?style=flat-square&label=minified&color=orange)
|
6
|
+
![gzip file size in bytes](https://img.badgesize.io/https://cdn.cocreate.app/selection/latest/CoCreate-selection.min.js?compression=gzip&style=flat-square&label=gzip&color=yellow)
|
7
|
+
![brotlifile size in bytes](https://img.badgesize.io/https://cdn.cocreate.app/selection/latest/CoCreate-selection.min.js?compression=brotli&style=flat-square&label=brotli)
|
8
|
+
![GitHub latest release](https://img.shields.io/github/v/release/CoCreate-app/CoCreate-selection?style=flat-square)
|
9
|
+
![GitHub contributors](https://img.shields.io/github/contributors/CoCreate-app/CoCreate-metrics-server?style=flat-square)
|
10
|
+
![License](https://img.shields.io/static/v1?style=flat-square&label=license&message=AGPL-3.0&color=green)
|
11
|
+
![GitHub](https://img.shields.io/static/v1?style=flat-square&label=&message=Hiring&color=blueviolet)
|
12
|
+
|
13
|
+
|
14
|
+
![CoCreate-selection](https://cdn.cocreate.app/docs/CoCreate-selection.gif)
|
15
|
+
|
16
|
+
## [Docs & Demo](https://cocreate.app/docs/selection)
|
17
|
+
|
18
|
+
For a complete guide and working demo refer to the [doumentation](https://cocreate.app/docs/selection)
|
19
|
+
|
20
|
+
## CDN
|
21
|
+
|
22
|
+
```html
|
23
|
+
<script src="https://cdn.cocreate.app/selection/latest/CoCreate-selection.min.js"></script>
|
24
|
+
```
|
25
|
+
|
26
|
+
```html
|
27
|
+
<script src="https://cdn.cocreate.app/selection/latest/CoCreate-selection.min.css"></script>
|
28
|
+
```
|
29
|
+
|
30
|
+
## NPM
|
31
|
+
|
32
|
+
```shell
|
33
|
+
$ npm i @cocreate/selection
|
34
|
+
```
|
35
|
+
|
36
|
+
## yarn
|
37
|
+
|
38
|
+
```shell
|
39
|
+
$ yarn install @cocreate/selection
|
40
|
+
```
|
41
|
+
|
42
|
+
# Table of Contents
|
43
|
+
|
44
|
+
- [Table of Contents](#table-of-contents)
|
45
|
+
- [Announcements](#announcements)
|
46
|
+
- [Roadmap](#roadmap)
|
47
|
+
- [How to Contribute](#how-to-contribute)
|
48
|
+
- [About](#about)
|
49
|
+
- [License](#license)
|
50
|
+
|
51
|
+
<a name="announcements"></a>
|
52
|
+
|
53
|
+
# Announcements
|
54
|
+
|
55
|
+
All updates to this library are documented in our [CHANGELOG](https://github.com/CoCreate-app/CoCreate-selection/blob/master/CHANGELOG.md) and [releases](https://github.com/CoCreate-app/CoCreate-selection/releases). You may also subscribe to email for releases and breaking changes.
|
56
|
+
|
57
|
+
<a name="roadmap"></a>
|
58
|
+
|
59
|
+
# Roadmap
|
60
|
+
|
61
|
+
If you are interested in the future direction of this project, please take a look at our open [issues](https://github.com/CoCreate-app/CoCreate-selection/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-selection/pulls). We would love to hear your feedback.
|
62
|
+
|
63
|
+
<a name="about"></a>
|
64
|
+
|
65
|
+
# About
|
66
|
+
|
67
|
+
CoCreate-selection is guided and supported by the CoCreate Developer Experience Team.
|
68
|
+
|
69
|
+
Please Email the Developer Experience Team [here](mailto:develop@cocreate.app) in case of any queries.
|
70
|
+
|
71
|
+
CoCreate-selection is maintained and funded by CoCreate. The names and logos for CoCreate are trademarks of CoCreate, LLC.
|
72
|
+
|
73
|
+
<a name="contribute"></a>
|
74
|
+
|
75
|
+
# How to Contribute
|
76
|
+
|
77
|
+
We encourage contribution to our libraries (you might even score some nifty swag), please see our [CONTRIBUTING](https://github.com/CoCreate-app/CoCreate-selection/blob/master/CONTRIBUTING.md) guide for details.
|
78
|
+
|
79
|
+
We want this library to be community-driven, and CoCreate led. We need your help to realize this goal. To help make sure we are building the right things in the right order, we ask that you create [issues](https://github.com/CoCreate-app/CoCreate-selection/issues) and [pull requests](https://github.com/CoCreate-app/CoCreate-selection/pulls) or merely upvote or comment on existing issues or pull requests.
|
80
|
+
|
81
|
+
We appreciate your continued support, thank you!
|
82
|
+
|
83
|
+
|
84
|
+
<a name="license"></a>
|
85
|
+
# Dual License
|
86
|
+
## Open Source
|
87
|
+
[GNU Affero General Public License version 3 (AGPL-3.0)](https://github.com/CoCreate-app/CoCreate-selection/blob/master/LICENSE)
|
88
|
+
|
89
|
+
## Commercial
|
90
|
+
For-profit companies and individuals intending to use CoCreate-selection for
|
91
|
+
commercial use must purchase a commercial license. This license allows
|
92
|
+
source code modifications, but does not permit redistribution of
|
93
|
+
modifications.
|
94
|
+
|
95
|
+
The commercial license is designed for you to use CoCreate-selection in commercial
|
96
|
+
products and applications, without the provisions of the GPLv3. With the
|
97
|
+
commercial license, your code is kept propietary, to yourself. If you
|
98
|
+
want to use CoCreate-selection to develop commercial sites, themes, projects, and
|
99
99
|
applications, the commercial license is the appropriate license.
|
package/demo/index.html
CHANGED
@@ -1,20 +1,20 @@
|
|
1
|
-
<!DOCTYPE html>
|
2
|
-
<html lang="en">
|
3
|
-
<head>
|
4
|
-
<meta charset="utf-8" />
|
5
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
7
|
-
<link
|
8
|
-
rel="icon"
|
9
|
-
href="https://cdn.cocreate.app/favicon.ico"
|
10
|
-
type="image/ico"
|
11
|
-
sizes="16x16" />
|
12
|
-
<title>selection | CoCreateJS</title>
|
13
|
-
<link rel="manifest" href="/manifest.webmanifest" />
|
14
|
-
</head>
|
15
|
-
|
16
|
-
<body>
|
17
|
-
<!--<script src="https://cdn.cocreate.app/selection/latest/CoCreate-selection.min.js"></script>-->
|
18
|
-
<script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>
|
19
|
-
</body>
|
20
|
-
</html>
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="en">
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8" />
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
7
|
+
<link
|
8
|
+
rel="icon"
|
9
|
+
href="https://cdn.cocreate.app/favicon.ico"
|
10
|
+
type="image/ico"
|
11
|
+
sizes="16x16" />
|
12
|
+
<title>selection | CoCreateJS</title>
|
13
|
+
<link rel="manifest" href="/manifest.webmanifest" />
|
14
|
+
</head>
|
15
|
+
|
16
|
+
<body>
|
17
|
+
<!--<script src="https://cdn.cocreate.app/selection/latest/CoCreate-selection.min.js"></script>-->
|
18
|
+
<script src="https://cdn.cocreate.app/latest/CoCreate.min.js"></script>
|
19
|
+
</body>
|
20
|
+
</html>
|