@coderevivehq/selectize 0.15.3 → 0.15.4

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
@@ -1,21 +1,61 @@
1
- # selectize.js
1
+ <p align="center">
2
+ <img src="https://raw.githubusercontent.com/coderevivehq/selectize.js/master/docs/static/img/selectize-coderevive.png" alt="Selectize.js revived and maintained by CodeReviveHQ" width="460">
3
+ </p>
2
4
 
3
- ![Selectize.js](docs/static/img/selectize-wordmark.png)
5
+ <h1 align="center">selectize.js</h1>
4
6
 
5
- This is the CodeReviveHQ maintained fork of [Selectize](https://github.com/selectize/selectize.js).
7
+ <p align="center">
8
+ A maintained fork of Selectize from <a href="https://github.com/coderevivehq">CodeReviveHQ</a>.
9
+ </p>
6
10
 
7
- [![NPM version](https://img.shields.io/npm/v/@coderevivehq/selectize.svg?style=flat)](https://www.npmjs.com/package/@coderevivehq/selectize)
8
- [![CDNJS version](http://img.shields.io/cdnjs/v/selectize.js.svg?style=flat)](https://cdnjs.com/libraries/selectize.js)
9
- \
10
- [![Node.js CI](https://github.com/coderevivehq/selectize.js/actions/workflows/node.js.yml/badge.svg)](https://github.com/coderevivehq/selectize.js/actions/workflows/node.js.yml)
11
- \
12
- [![Discussion & Help](https://img.shields.io/badge/Discuss-Keybase-cc004c?style=flat)](https://keybase.io/team/selectize)
11
+ <p align="center">
12
+ <a href="https://www.npmjs.com/package/@coderevivehq/selectize"><img alt="npm version" src="https://img.shields.io/npm/v/@coderevivehq/selectize?style=flat-square"></a>
13
+ <a href="https://www.npmjs.com/package/@coderevivehq/selectize"><img alt="npm downloads" src="https://img.shields.io/npm/dm/@coderevivehq/selectize?style=flat-square"></a>
14
+ <a href="https://github.com/coderevivehq/selectize.js/actions/workflows/node.js.yml"><img alt="build status" src="https://github.com/coderevivehq/selectize.js/actions/workflows/node.js.yml/badge.svg"></a>
15
+ <a href="https://github.com/coderevivehq/selectize.js/releases"><img alt="latest release" src="https://img.shields.io/github/v/release/coderevivehq/selectize.js?style=flat-square"></a>
16
+ <a href="LICENSE"><img alt="Apache 2.0 license" src="https://img.shields.io/github/license/coderevivehq/selectize.js?style=flat-square"></a>
17
+ </p>
13
18
 
14
- Selectize is an extensible [jQuery](http://jquery.com/)-based custom `<select>`; UI control. It's useful for tagging, contact lists, country selectors, and so on. The goal is to provide a solid & usable experience with a clean and powerful API.
19
+ ## Maintained by CodeReviveHQ
15
20
 
16
- - [Demos](https://selectize.dev/docs/demos)
17
- - [Changelog](https://github.com/coderevivehq/selectize.js/releases)
21
+ This fork keeps Selectize available as `@coderevivehq/selectize`.
22
+
23
+ Security patches are our highest priority. We also review bug reports, feature requests, and suggestions from the community.
24
+
25
+ Selectize is an extensible [jQuery](https://jquery.com/) custom select control. It supports tagging, autocomplete, contact lists, country selectors, and other rich input experiences.
26
+
27
+ The project is based on the original [Selectize](https://github.com/selectize/selectize.js) repository. We are grateful to its authors and contributors.
28
+
29
+ ## Quick links
30
+
31
+ - [Install from npm](https://www.npmjs.com/package/@coderevivehq/selectize)
32
+ - [Browse files on jsDelivr](https://cdn.jsdelivr.net/npm/@coderevivehq/selectize@latest/)
33
+ - [Releases and changelog](https://github.com/coderevivehq/selectize.js/releases)
34
+ - [Report a bug or request a feature](https://github.com/coderevivehq/selectize.js/issues)
18
35
  - [Documentation](https://selectize.dev/docs/api)
36
+ - [Demos](https://selectize.dev/docs/demos)
37
+
38
+ ## Installation
39
+
40
+ ```sh
41
+ npm install @coderevivehq/selectize
42
+ ```
43
+
44
+ ## CDN
45
+
46
+ jsDelivr serves the latest files published in the CodeReviveHQ npm package. These links update automatically when a new version is published.
47
+
48
+ ```html
49
+ <link
50
+ rel="stylesheet"
51
+ href="https://cdn.jsdelivr.net/npm/@coderevivehq/selectize@latest/dist/css/selectize.default.css"
52
+ >
53
+
54
+ <script src="https://cdn.jsdelivr.net/npm/jquery@3.7.1/dist/jquery.min.js"></script>
55
+ <script src="https://cdn.jsdelivr.net/npm/@coderevivehq/selectize@latest/dist/js/selectize.min.js"></script>
56
+ ```
57
+
58
+ For reproducible production builds, replace `latest` with a specific release number.
19
59
 
20
60
  ## Features
21
61
 
@@ -38,20 +78,16 @@ Selectize is an extensible [jQuery](http://jquery.com/)-based custom `<select>`;
38
78
  - **Touch Support**
39
79
  Plays nice with iOS 5+ devices.
40
80
 
41
- ### Dependencies
81
+ ## Dependencies
42
82
 
43
83
  - [jquery](https://github.com/jquery/jquery) (1.7 and greater), as [peer dependency](https://nodejs.org/en/blog/npm/peer-dependencies/)
44
84
  - **Note:** it is installed automatically in development, or in projects using NPM 1 or 2. When using NPM from version 3 on, just a warning is thrown and the user needs to manually install an explicit version in their own project (e.g. `npm install --save jquery@3.5.1`).
45
85
 
46
- **Optional:**
86
+ Optional:
47
87
 
48
88
  - [jquery-ui](https://github.com/jquery/jquery-ui) (required by `drag_drop` plugin)
49
89
 
50
- ### Installation
51
-
52
- Selectize can be installed via NPM `npm install @coderevivehq/selectize`
53
-
54
- #### Installing Manually
90
+ ## Manual installation
55
91
 
56
92
  All pre-built files needed to use Selectize can be found in the
57
93
  ["dist"](dist/) folder.
@@ -61,22 +97,20 @@ If you're looking to get started with minimal fuss, include
61
97
  dependencies – also available un-minified for debugging, just remove the
62
98
  `.min` part) and `css/selectize.default.css`.
63
99
 
64
- Selectize is available at [cdnjs](https://cdnjs.com/libraries/selectize.js).
65
-
66
100
  - [**js/**](dist/js)
67
- - [selectize.js](dist/js/selectize.js) With dependencies, minus jquery
68
- - [selectize.min.js](dist/js/selectize.min.js) With dependencies, minus jquery
69
- - [**scss/**](dist/scss) Sass source files for customization (Bootstrap 3+ compatible)
70
- - [**less/**](dist/less) Less source files for customization (Bootstrap 2/3 compatible)
101
+ - [selectize.js](dist/js/selectize.js): With dependencies, except jQuery
102
+ - [selectize.min.js](dist/js/selectize.min.js): With dependencies, except jQuery
103
+ - [**scss/**](dist/scss): Sass source files for customization
104
+ - [**less/**](dist/less): Less source files for customization
71
105
  - [**css/**](dist/css)
72
- - [selectize.css](dist/css/selectize.css) Core styles
73
- - [selectize.default.css](dist/css/selectize.default.css) Default theme (with core styles)
106
+ - [selectize.css](dist/css/selectize.css): Core styles
107
+ - [selectize.default.css](dist/css/selectize.default.css): Default theme with core styles
74
108
  - [selectize.bootstrap2.css](dist/css/selectize.bootstrap2.css) - Bootstrap 2 theme
75
109
  - [selectize.bootstrap3.css](dist/css/selectize.bootstrap3.css) - Bootstrap 3 theme
76
110
  - [selectize.bootstrap4.css](dist/css/selectize.bootstrap4.css) - Bootstrap 4 theme
77
111
  - [selectize.bootstrap5.css](dist/css/selectize.bootstrap5.css) - Bootstrap 5 theme
78
112
 
79
- ### Usage
113
+ ## Usage
80
114
 
81
115
  ```js
82
116
  $("select").selectize(options);
@@ -84,49 +118,28 @@ $("select").selectize(options);
84
118
 
85
119
  The available options are [documented here](https://selectize.dev/docs/api).
86
120
 
87
- ### Contributing
88
-
89
- When issuing a pull request:
90
-
91
- - please **do not include/commit changes in the `dist/` or `lib/` folders** to avoid
92
- merge conflicts. A good way to include the right files is to use
93
- `git gui` or `git add` when committing to select the files you want to
94
- add to your commit.
95
-
96
- - please **include tests** with your feature so that we're not tempted to
97
- break it in the future!
98
-
99
- Add an entry to the top of the CHANGELOG, and update the documentation
100
- in `docs/` as needed. (Refactors and documentation changes don't need a
101
- changelog entry.)
102
-
103
- Squash your commits together in one or a few complete, logical commits,
104
- with a concise and descriptive message. One commit means one
105
- feature/bugfix/thing that has changed, or a diff bringing the code one
106
- step forward to a better, working state.
121
+ ## Contributing
107
122
 
108
- Once your commit is nice and clean, and you want to _discard the other
109
- changes_, you can use `git checkout .` (that will erase changes to
110
- tracked files) and `git clean [-i/--interactive]` (to erase untracked
111
- files). **However, be careful with those commands, as their function
112
- is to erase things/changes.**
123
+ Contributions are welcome. Every change is reviewed through a pull request.
113
124
 
114
- However, be careful not to add the `dist/` files in your commit, as
115
- Grunt automatically regenerates the files in `dist/` as the source is
116
- changed.
125
+ 1. Open an issue before starting a large change.
126
+ 2. Keep each pull request focused on one fix or feature.
127
+ 3. Add tests for behavior changes.
128
+ 4. Update the documentation when behavior changes.
129
+ 5. Add a changelog entry for user-facing changes.
117
130
 
118
- #### Tests
131
+ ### Tests
119
132
 
120
133
  Please ensure all the tests pass:
121
134
 
122
135
  ```sh
123
- npm test # defaults to ChromHeadless
136
+ npm test # defaults to ChromeHeadless
124
137
  BROWSERS=Firefox npm test
125
138
  BROWSERS=Firefox,Chrome npm test
126
139
  BROWSERS=Firefox,Chrome,Safari npm test
127
140
  ```
128
141
 
129
- #### Local environment
142
+ ### Local development
130
143
 
131
144
  To run Selectize locally:
132
145
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Selectize (v0.15.3)
2
+ * Selectize (v0.15.4)
3
3
  * https://selectize.dev
4
4
  *
5
5
  * Copyright (c) 2013-2015 Brian Reavis & contributors
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Selectize (v0.15.3)
2
+ * Selectize (v0.15.4)
3
3
  * https://selectize.dev
4
4
  *
5
5
  * Copyright (c) 2013-2015 Brian Reavis & contributors
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Selectize (v0.15.3)
2
+ * Selectize (v0.15.4)
3
3
  * https://selectize.dev
4
4
  *
5
5
  * Copyright (c) 2013-2015 Brian Reavis & contributors
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Selectize (v0.15.3)
2
+ * Selectize (v0.15.4)
3
3
  * https://selectize.dev
4
4
  *
5
5
  * Copyright (c) 2013-2015 Brian Reavis & contributors
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Selectize (v0.15.3)
2
+ * Selectize (v0.15.4)
3
3
  * https://selectize.dev
4
4
  *
5
5
  * Copyright (c) 2013-2015 Brian Reavis & contributors
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Selectize (v0.15.3)
2
+ * Selectize (v0.15.4)
3
3
  * https://selectize.dev
4
4
  *
5
5
  * Copyright (c) 2013-2015 Brian Reavis & contributors
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Selectize (v0.15.3)
2
+ * Selectize (v0.15.4)
3
3
  * https://selectize.dev
4
4
  *
5
5
  * Copyright (c) 2013-2015 Brian Reavis & contributors
@@ -1,5 +1,5 @@
1
1
  /**
2
- * Selectize (v0.15.3)
2
+ * Selectize (v0.15.4)
3
3
  * https://selectize.dev
4
4
  *
5
5
  * Copyright (c) 2013-2015 Brian Reavis & contributors
package/package.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "main": "dist/js/selectize.js",
15
15
  "browser": "dist/js/selectize.js",
16
16
  "description": "Community-maintained fork of Selectize, a jQuery-based custom select UI control.",
17
- "version": "0.15.3",
17
+ "version": "0.15.4",
18
18
  "author": "Brian Reavis <brian@thirdroute.com>",
19
19
  "contributors": [
20
20
  "Ris Adams <selectize@risadams.com>"
@@ -70,7 +70,7 @@
70
70
  "karma-safari-launcher": "^1.0.0",
71
71
  "lazypipe": "^1.0.2",
72
72
  "less": "4.1.3",
73
- "mocha": "10.8.2",
73
+ "mocha": "12.0.0",
74
74
  "popper.js": "1.16.1",
75
75
  "sass": "1.58.1"
76
76
  },