Skip to content

Commit 89f0464

Browse files
authored
Merge branch 'master' into fix-removing-active
2 parents 18809a9 + 1f26639 commit 89f0464

File tree

465 files changed

+60180
-14294
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

465 files changed

+60180
-14294
lines changed

.bowerrc

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

.browserslistrc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
[production]
2+
defaults
3+
> 5% in US
4+
last 2 versions
5+
Firefox ESR
6+
iOS >= 12
7+
8+
[development]
9+
last 1 version

.editorconfig

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
# editorconfig.org
2+
3+
root = true
4+
5+
[*]
6+
charset = utf-8
7+
end_of_line = lf
8+
indent_size = 2
9+
indent_style = space
10+
insert_final_newline = true
11+
trim_trailing_whitespace = true

.github/FUNDING.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# These are supported funding model platforms
2+
3+
github: [risadams]
4+
patreon: # Replace with a single Patreon username
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: # Replace with a single Ko-fi username
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
otechie: # Replace with a single Otechie username
12+
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

.github/dependabot.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# To get started with Dependabot version updates, you'll need to specify which
2+
# package ecosystems to update and where the package manifests are located.
3+
# Please see the documentation for all configuration options:
4+
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
5+
6+
version: 2
7+
updates:
8+
- package-ecosystem: "npm" # See documentation for possible values
9+
directory: "/" # Location of package manifests
10+
schedule:
11+
interval: "daily"
12+
labels:
13+
- "npm"
14+
- "dependencies"
15+
16+
- package-ecosystem: "github-actions"
17+
directory: "/"
18+
schedule:
19+
# Check for updates to GitHub Actions every weekday
20+
interval: "daily"
Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Update Contributors
2+
on:
3+
schedule:
4+
- cron: "0 0 1 * *"
5+
workflow_dispatch:
6+
jobs:
7+
main:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: risadams/contributors-update@v3.1.1
11+
with:
12+
repo: selectize/selectize.js
13+
output: CONTRIBUTORS.md
14+
exclude_bots: true
15+
- name: Commit changes
16+
uses: test-room-7/action-update-file@v1
17+
with:
18+
file-path: CONTRIBUTORS.md
19+
commit-msg: Update Contributors
20+
github-token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/codeql-analysis.yml

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
# For most projects, this workflow file will not need changing; you simply need
2+
# to commit it to your repository.
3+
#
4+
# You may wish to alter this file to override the set of languages analyzed,
5+
# or to provide custom queries or build logic.
6+
#
7+
# ******** NOTE ********
8+
# We have attempted to detect the languages in your repository. Please check
9+
# the `language` matrix defined below to confirm you have the correct set of
10+
# supported CodeQL languages.
11+
#
12+
name: "CodeQL"
13+
14+
on:
15+
push:
16+
branches: [ master ]
17+
pull_request:
18+
# The branches below must be a subset of the branches above
19+
branches: [ master ]
20+
schedule:
21+
- cron: '20 7 * * 0'
22+
23+
jobs:
24+
analyze:
25+
name: Analyze
26+
runs-on: ubuntu-latest
27+
permissions:
28+
actions: read
29+
contents: read
30+
security-events: write
31+
32+
strategy:
33+
fail-fast: false
34+
matrix:
35+
language: [ 'javascript' ]
36+
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
37+
# Learn more:
38+
# https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
39+
40+
steps:
41+
- name: Checkout repository
42+
uses: actions/checkout@v3
43+
44+
# Initializes the CodeQL tools for scanning.
45+
- name: Initialize CodeQL
46+
uses: github/codeql-action/init@v2
47+
with:
48+
languages: ${{ matrix.language }}
49+
# If you wish to specify custom queries, you can do so here or in a config file.
50+
# By default, queries listed here will override any specified in a config file.
51+
# Prefix the list here with "+" to use these queries and those in the config file.
52+
# queries: ./path/to/local/query, your-org/your-repo/queries@main
53+
54+
# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
55+
# If this step fails, then you should remove it and run the build manually (see below)
56+
- name: Autobuild
57+
uses: github/codeql-action/autobuild@v2
58+
59+
# ℹ️ Command-line programs to run using the OS shell.
60+
# 📚 https://git.io/JvXDl
61+
62+
# ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
63+
# and modify them (or add more) to build your code if your project
64+
# uses a compiled language
65+
66+
#- run: |
67+
# make bootstrap
68+
# make release
69+
70+
- name: Perform CodeQL Analysis
71+
uses: github/codeql-action/analyze@v2

.github/workflows/node.js.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3+
4+
name: Node.js CI
5+
6+
on:
7+
workflow_dispatch:
8+
push:
9+
pull_request:
10+
jobs:
11+
build:
12+
runs-on: ubuntu-latest
13+
14+
strategy:
15+
matrix:
16+
node-version: [12.x, 14.x, 16.x, 18.x]
17+
os: [ubuntu-latest, windows-latest, macOS-latest]
18+
19+
steps:
20+
- uses: actions/checkout@v3
21+
- name: Use Node.js ${{ matrix.node-version }}
22+
uses: actions/setup-node@v3
23+
with:
24+
node-version: ${{ matrix.node-version }}
25+
- run: npm ci
26+
- run: npm run build --if-present
27+
- run: npm test

.github/workflows/stale.yml

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: Mark stale issues and pull requests
2+
3+
on:
4+
schedule:
5+
- cron: "30 1 * * *"
6+
7+
jobs:
8+
stale:
9+
10+
runs-on: ubuntu-latest
11+
12+
steps:
13+
- uses: actions/stale@v6
14+
with:
15+
repo-token: ${{ secrets.GITHUB_TOKEN }}
16+
stale-issue-message: 'This issue is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days'
17+
stale-pr-message: 'This pull request is stale because it has been open 90 days with no activity. Remove stale label or comment or this will be closed in 5 days'
18+
stale-issue-label: 'no-issue-activity'
19+
stale-pr-label: 'no-pr-activity'
20+
exempt-issue-labels: 'awaiting-approval,work-in-progress,pending review,discussion'
21+
exempt-pr-labels: 'awaiting-approval,work-in-progress,pending review,discussion'
22+
days-before-stale: 120
23+
days-before-close: 15

.gitignore

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,8 @@
22
.DAV
33
node_modules
44
bower_components
5-
*.log
5+
*.log
6+
.vscode
7+
build
8+
coverage/
9+
_site/

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
fund=false

.travis.yml

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

CHANGELOG.md

Lines changed: 55 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,79 +1,94 @@
11
<!-- Feel free to put either your handle and/or full name, according to
22
your privacy needs -->
33

4-
* Fixed incorrect highlighting of options that were activated, removed
5-
and then re-added in "multiple" mode (#1212 and #1216)
64

7-
*@sustmi*
5+
## v0.14.0 · 02 10 2022
86

9-
## v0.12.4, v0.12.5 · 27 June 2018
7+
- *Breaking change:* Removed the dependencies on MicroPlugin and Sifter - These are now included in the selectize package directly.
8+
9+
- Fixed missing style for dropdown_header plugin [*@fabienwnklr*](https://github.com/fabienwnklr)
10+
- Fixed ([#1818](https://github.com/selectize/selectize.js/issues/1818)) Scroll left when I click on a selectized item and page is scrolled right [*@fabienwnklr*](https://github.com/fabienwnklr)
11+
- Added option to enable setting the first option in the list as active.
12+
13+
*@joshuan92*
14+
15+
## v0.13.0 · 03 11 2020
1016

11-
* Allow the dropdown to reopen on click if it is closed without losing focus
12-
by closeAfterSelect: true
17+
- Support for Bootstrap v4.x.
18+
- Adding SASS styles, LESS styles still available for bootstrap 2.x
19+
- Fixed bug (#851) for placeholder text clipping
20+
- Fixed bug (#870) for remove button plugin closing bootstrap modals
1321

14-
*@fishpercolator*
22+
*@risadams*
1523

24+
## v0.12.4, v0.12.5 · 27 June 2018
25+
26+
- Allow the dropdown to reopen on click if it is closed without losing focus
27+
by closeAfterSelect: true
1628

17-
* Fixed bug making `clearOptions` function. Now it doesn't remove already selected options.
29+
*@fishpercolator*
1830

19-
*(thanks @caseymct - #1079)*
31+
- Fixed bug making `clearOptions` function. Now it doesn't remove already selected options.
2032

21-
* New feature: allow to disable single options or complete optgroups
33+
*(thanks @caseymct - #1079)*
2234

23-
*@zeitiger*
35+
- New feature: allow to disable single options or complete optgroups
36+
37+
*@zeitiger*
2438

2539
## v0.12.3 · 24 August 2016
26-
* Make `label[for]` work after applying Selectize (#755)
2740

28-
*Barrett Sonntag* (@barretts)
41+
- Make `label[for]` work after applying Selectize (#755)
2942

30-
* Output friendly error message when Microplguin is missing (#1137).
31-
Special thanks to @styxxx for proposing the improvement.
43+
*Barrett Sonntag* (@barretts)
3244

33-
* Add local server command `grunt server`.
45+
- Output friendly error message when Microplguin is missing (#1137).
46+
Special thanks to @styxxx for proposing the improvement.
3447

35-
* Stop creating items automatically when text is pasted, only create
36-
them when pasted text contains delimiter.
48+
- Add local server command `grunt server`.
3749

38-
* Fix regression 'Required fields can not be focusable' in Chrome
39-
(#733)
50+
- Stop creating items automatically when text is pasted, only create
51+
them when pasted text contains delimiter.
4052

41-
* Fix detection of Validity API, we had false negatives before.
53+
- Fix regression 'Required fields can not be focusable' in Chrome
54+
(#733)
4255

43-
*Jonathan Allard* (@joallard)
56+
- Fix detection of Validity API, we had false negatives before.
4457

45-
* Fix open keyboard bug under iOS after closing selection (#1127)
58+
*Jonathan Allard* (@joallard)
4659

47-
*@zeitiger*
60+
- Fix open keyboard bug under iOS after closing selection (#1127)
4861

49-
* Fix highlighting more than one character (#1099, #1098)
62+
*@zeitiger*
5063

51-
*@skimi*
64+
- Fix highlighting more than one character (#1099, #1098)
5265

66+
*@skimi*
5367

5468
## v0.12.2 · 23 June 2016
55-
* Fix issue preventing build ("Cannot assign to read only property
56-
'subarray'") because of bug in uglifyjs. (#1072)
5769

58-
*@jaridmargolin*
70+
- Fix issue preventing build ("Cannot assign to read only property
71+
'subarray'") because of bug in uglifyjs. (#1072)
72+
73+
*@jaridmargolin*
5974

60-
* Fix tabbing issue (#877) on IE11. (#997)
75+
- Fix tabbing issue (#877) on IE11. (#997)
6176

62-
*@bwilson-ux*
77+
*@bwilson-ux*
6378

64-
* Fix jQuery initialization for jQuery >= 1.9 (#1045)
79+
- Fix jQuery initialization for jQuery >= 1.9 (#1045)
6580

66-
*@mpokrywka*
81+
*@mpokrywka*
6782

68-
* Make `remove_button` work for single-option usage (#848)
83+
- Make `remove_button` work for single-option usage (#848)
6984

70-
*@ChoppyThing*
85+
*@ChoppyThing*
7186

72-
* Fixed bug that made `allowEmptyOption: true` useless (#739)
87+
- Fixed bug that made `allowEmptyOption: true` useless (#739)
7388

74-
*@mcavalletto*
89+
*@mcavalletto*
7590

76-
* Functions in option `render` can now return a DOM node in addition to
77-
text. (#617)
91+
- Functions in option `render` can now return a DOM node in addition to
92+
text. (#617)
7893

79-
*@topaxi*
94+
*@topaxi*

0 commit comments

Comments
 (0)