Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty field on blur if user is not allowed to create new items #2

Open
wants to merge 322 commits into
base: no-reset-on-blur
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
322 commits
Select commit Hold shift + click to select a range
feefac9
Merge pull request #798 from xwizard/selectize-unclick-fix
aaronroberson Jan 27, 2016
46dbfa3
Fixes #1408
iuriikhrystiuk Jan 28, 2016
c553c43
Merge pull request #1410 from iuriikhrystiuk/master
aaronroberson Jan 28, 2016
85401e0
chore(release): bump to 0.14.2
aaronroberson Jan 28, 2016
935411c
chore(gulp): add --tags arg to git push
aaronroberson Jan 28, 2016
88aebde
Merge pull request #167 from PeterDaveHello/patch-1
aaronroberson Jan 30, 2016
fab0722
docs(CONTRIBUTING): fix a typo
prayagverma Feb 6, 2016
0e85670
fix: make compatible with Angular 1.5 and non-cached templates
Narretz Feb 12, 2016
b1c4fdc
Merge pull request #1430 from Narretz/fix-1.5
aaronroberson Feb 12, 2016
6a99b08
fix: Allow setting a ngClass on <ui-select> element
Feb 17, 2016
457be42
Merge branch 'master' of https://github.com/loose11/ui-select into lo…
aaronroberson Feb 18, 2016
6c52e41
fix(track by): fix "track by"
aaronroberson Feb 18, 2016
81b0f03
fix(commonjs): remove CSS require
aaronroberson Feb 18, 2016
36f782d
chore(release): bump package version and update changelog
aaronroberson Feb 18, 2016
5f2d229
chore(package): add style to package.json
aaronroberson Feb 18, 2016
0e4552d
chore(uiSelectController): use _findIndex instead of polyfill
graingert Feb 10, 2016
10e7b8e
chore(release): bump package version and update changelog
aaronroberson Feb 18, 2016
2fb6452
Merge pull request #1447 from Magador/master
aaronroberson Feb 18, 2016
49166a9
Merge pull request #1424 from pra85/patch-1
aaronroberson Feb 18, 2016
423a817
chore(release): bump package version and update changelog
aaronroberson Feb 18, 2016
ced1cc0
fix(uiSelectMultipleDirective): fix track by error
aaronroberson Feb 18, 2016
b41f433
chore(release): bump package version and update changelog
aaronroberson Feb 18, 2016
1502a58
Merge pull request #1301 from homerjam/patch-3
aaronroberson Feb 18, 2016
1f25ec5
Merge branch 'paste' of https://github.com/atomx/ui-select into atomx…
aaronroberson Feb 18, 2016
1ad6f60
fix(paste): add paste support
aaronroberson Feb 18, 2016
870dfb1
chore(release): bump package version and update changelog
aaronroberson Feb 18, 2016
ca78e5c
Merge branch 'Josh68-IE8-fix-patch' of https://github.com/Josh68/ui-s…
aaronroberson Feb 18, 2016
ee65677
fix(IE): selects not working on IE8
aaronroberson Feb 18, 2016
3fd8ea4
chore(release): bump package version and update changelog
aaronroberson Feb 18, 2016
5283c71
fix(dropdown): appendToBody focus on dropdown
Oct 26, 2015
4d31e8c
Merge branch 'master' of https://github.com/mareczek/ui-select into m…
aaronroberson Feb 18, 2016
8bca6f4
Merge branch 'mareczek-master'
aaronroberson Feb 18, 2016
3b1496c
chore(release): bump package version and update changelog
aaronroberson Feb 18, 2016
00c719c
test(uiSelectDirective): Add test when merging ngClass attributes on …
Feb 19, 2016
ce24981
fix($window): change input size on window resize
Feb 23, 2016
92cf870
chore(release): bump package version and update changelog
Feb 23, 2016
7e34af4
Prevent error when used with angular-animate <1.4 (Fixes #1415)
jharting Feb 24, 2016
1f030e2
docs(CHANGELOG): Cleanup CHANGELOG, correct Github diff links
drcapulet Feb 25, 2016
811caaf
Fix angular.element.cache memory leak
Dec 22, 2015
24f2193
This is an update to the original fixes proposed in #647 without dist…
Mar 2, 2016
0ddaad2
Merge pull request #1473 from ravishivt/hotfix/647
aaronroberson Mar 4, 2016
3295bc9
fix(parser) allow track by without filter
Mar 5, 2016
9af47d8
chore(release): bump package version and update changelog
Mar 6, 2016
9230b43
Merge pull request #1477 from user378230/fix/parser
aaronroberson Mar 6, 2016
abf16f9
Merge remote-tracking branch 'angular-ui/master'
excentris Mar 7, 2016
302e80f
feat: provide a way to skip the focusser
excentris Mar 13, 2016
0271988
chore(release): bump package version and update changelog
excentris Mar 13, 2016
d5e30fb
fix: corrects out of scope variable
excentris Mar 13, 2016
e65995f
Updated choices.tpl.html to properly hide and show dropdown
kedrzu Mar 14, 2016
96632ff
Merge pull request #1456 from jharting/1415
wesleycho Mar 15, 2016
f5b76cf
Merge pull request #1489 from kedrzu/master
aaronroberson Mar 15, 2016
4ee3d4e
Merge pull request #1487 from excentris/configure-skip-focusser
aaronroberson Mar 15, 2016
c79f0c8
chore(bump): add bower.json to bump
aaronroberson Mar 15, 2016
435d321
chore(contributing): update contributing document
aaronroberson Mar 15, 2016
f3f122a
chore(release): bump package version and update changelog
aaronroberson Mar 15, 2016
a494b88
Merge branch 'alexc-changelog' of https://github.com/drcapulet/ui-sel…
aaronroberson Mar 15, 2016
7cec385
Merge branch 'drcapulet-alexc-changelog'
aaronroberson Mar 15, 2016
c6eb055
docs(changelog): clean up changelog and contributing post merge
aaronroberson Mar 15, 2016
cb75ecf
Merge pull request #1448 from Magador/master
aaronroberson Mar 15, 2016
fccc29a
fix(uiSelectMultipleDirective): add $isEmpty handler
Mar 16, 2016
161cff5
Merge pull request #1492 from kmccullough/multipleIsEmpty
aaronroberson Mar 16, 2016
3833c9f
chore(contributing): update contributing doc and issue template
deeg Mar 16, 2016
b0a4a3d
Fix drag-drop bug for IE
HDinger Mar 18, 2016
8c1530f
Fix(templates): Autocomplete=false Does not work in Edge
Mar 18, 2016
eea696b
fix the PR #1208 which had broken the multiple selection ordered by g…
Mar 18, 2016
03293ff
fix(uiSelectMultipleDirective): refresh choices upon selection change
mshibuya Mar 19, 2016
ccfc808
Update demo.js
teobais Mar 20, 2016
dfa0969
Merge pull request #1509 from toubou91/patch-1
user378230 Mar 20, 2016
6444d6b
fix(uiSelectCtrl): correcting input focus
patrickhousley Mar 23, 2016
ae51cea
Merge pull request #1505 from MattiJarvinen-BA/master
user378230 Mar 23, 2016
86fc336
Merge pull request #1494 from deeg/fix-contributing
aaronroberson Mar 23, 2016
9e6b8ac
Merge pull request #1503 from HDinger/fix/drag-drop-IE
aaronroberson Mar 23, 2016
68eccac
Merge pull request #1506 from jurismarches/master
aaronroberson Mar 23, 2016
1a80bf1
Merge pull request #945 from yagoferrer/master
aaronroberson Mar 23, 2016
8b79674
Merge pull request #1508 from mshibuya/refresh-choices-on-selection-c…
aaronroberson Mar 23, 2016
f0cf04d
Revert "chore(release): bump package version and update changelog"
Mar 23, 2016
581903c
Removing dist files
Mar 23, 2016
9b4421d
Merge pull request #1454 from jordan-lewis/master
aaronroberson Mar 23, 2016
5ae151a
chore(release): bump package version and update changelog
aaronroberson Mar 23, 2016
7f30bcd
chore(gulp): fix gulp push to include --follow-tags arg
aaronroberson Mar 23, 2016
926f462
perf(uiSelectCtrl): moving activate events out of $timeout
patrickhousley Mar 23, 2016
0b16d14
refactor(uiSelectChoices) remove setActiveItem refs
Mar 25, 2016
fcd1eb4
New feature: Allow displaying information when there is no record found.
khanhto Jun 13, 2015
c8d47cc
Merge pull request #1523 from user378230/refactor-ui-choices
user378230 Mar 27, 2016
2cc07dc
Merge pull request #1517 from patrickhousley/issue-1253
user378230 Mar 27, 2016
8111ad1
fix(uiSelectMultiple) support data-multiple attribute
Mar 23, 2016
04eb3f6
Merge pull request #1519 from user378230/fix-data-attrs
user378230 Mar 28, 2016
3a4d5b4
Merge pull request #1365 from fastmonkeys/fix-angular-element-cache-m…
user378230 Mar 28, 2016
29e95f5
chore(bower) update package name
MichaelJCole Apr 1, 2015
01a01da
Merge pull request #1532 from user378230/fix-bower-package
user378230 Mar 28, 2016
5f87457
Merge pull request #1011 from khanhto/master
aaronroberson Mar 28, 2016
ce6a554
Merge pull request #883 from piebe/fix-metakeys
user378230 Mar 28, 2016
115ebf4
feat(perf): debounce resize callback
wesleycho Mar 29, 2016
2b4a9ea
perf(tagging multiple): transform tagging item only once when filtering
lukaw3d Jul 11, 2015
2f14045
fix(tagging multiple): hide tagging item if null returned
lukaw3d Mar 27, 2016
80be85b
fix(tagging groupBy): fix group-by to work with tagging
lukaw3d Mar 28, 2016
7963684
fix(demo-tagging): error in Object Tags for input "a"
lukaw3d Jul 10, 2015
50d7e0d
Modify gulp tasks to generate sourcemaps for min.css and min.js
anilanar Mar 28, 2016
0d47821
Merge pull request #1081 from lukaw3d/fix-tagging
user378230 Mar 29, 2016
569d012
docs(examples): add type="button"
gregurco Apr 2, 2015
852f874
test(tagging): add test for preserving model
Asimov4 Mar 13, 2015
444aeec
Merge pull request #1238 from anilanar/gulp-sourcemaps
aaronroberson Mar 29, 2016
331b256
Remove identically duplicated test
mchapman Dec 6, 2015
b6219d2
fix(uiSelectChoices) broken id interpolation
Mar 28, 2016
5a42bef
Merge pull request #1533 from user378230/fix-id-attr
user378230 Mar 29, 2016
a4a010d
Merge pull request #1536 from wesleycho/feat/optimize-resize
user378230 Mar 29, 2016
95692e7
fix: properly gc on destruction
wesleycho Mar 30, 2016
3a8e373
chore(bower): update version
wesleycho Mar 30, 2016
d2f904a
chore(ci): update architecture used
wesleycho Mar 30, 2016
6d4849f
fix(build): fix sourcemap logic
wesleycho Mar 30, 2016
fa6eed4
Merge pull request #1538 from wesleycho/fix/resize-gc
user378230 Mar 30, 2016
80353b3
chore(ci) remove bower dev references
Mar 30, 2016
2525bfa
Merge pull request #1542 from user378230/chore/bower-refs
user378230 Mar 30, 2016
86b7b92
Merge pull request #1541 from wesleycho/fix/sourcemaps
user378230 Mar 31, 2016
2647e0f
Merge pull request #1540 from wesleycho/chore/bower-version
user378230 Mar 31, 2016
6dfe407
chore: normalize line endings
wesleycho Mar 31, 2016
d78ba5f
feat(perf): optimize width resizing
wesleycho Mar 29, 2016
710375d
build(css) fix missing dist/select.css
user378230 Apr 4, 2016
511ed98
docs(*) update examples and automate build
user378230 Mar 31, 2016
349b96e
Merge pull request #1550 from angular-ui/docs/automate-update
user378230 Apr 4, 2016
331f819
fix(tagging): do not remove selected items when invalid
meyerds Dec 15, 2015
06bbd31
fix: ensure highlighted before selecting on tab
jintoppy Jun 19, 2015
4e9ab7e
fix(a11y): prevent list from being focusable
Apr 29, 2015
c0d039b
revert: ensure highlighted before selecting on tab
wesleycho Apr 6, 2016
f5b986b
refactor(uiSelectChoices) only compile template once
user378230 Apr 6, 2016
83132b0
fix: show input when search is disabled
gen4sp Jan 20, 2015
f37bafd
fix: show select element when search is disabled
dometec Apr 16, 2015
4b1ed47
fix(sortable): remove classes properly
homerjam Mar 28, 2016
48cf1ba
fix(autocomplete): change to type="search"
ruipenso Jun 3, 2015
a38fdb9
docs(examples) fix double header/footer wrapping
user378230 Apr 6, 2016
9ddc48e
fix(bootstrap) do not overflow matched item text
just-boris Apr 7, 2016
d7d26ca
revert: fix(bootstrap) do not overflow matched item text
user378230 Apr 7, 2016
fe0c0c1
fix(bootstrap): hide clear button if disabled
Raytray Apr 7, 2016
a574cd4
fix(uiSelectSingleDirective): strictly compare matching value
fiznool Apr 16, 2016
55e82e8
Merge pull request #1563 from fiznool/fix/use-triple-equals-pr
user378230 Apr 16, 2016
d6c14d4
perf: change test in ctrl.isActive
Teegrounet Apr 17, 2016
bd7654d
Merge pull request #1571 from Teegrounet/perf-ctrl-isActive
user378230 Apr 25, 2016
835ebaf
fix (tagging): try all taggingTokens for splitting on paste
torstenrudolf Apr 24, 2016
b7f2afe
Merge pull request #1573 from Slowvoice/master
user378230 Apr 25, 2016
bbaa0b8
chore(npm): Update package name in readme and doc
marcbachmann Apr 27, 2016
152856d
Merge pull request #1582 from marcbachmann/fix-npm-module-name
user378230 Apr 27, 2016
9a40b6f
fix(uiSelectSort): update model on sort completion
homerjam Apr 27, 2016
7c8b3a0
fix(bootstrap): hide dropdown if there are no items to show
May 2, 2016
3fd1e2d
Merge pull request #1589 from nfeldman-at-onshape/master
user378230 May 3, 2016
e758971
Update uiSelectController.js
melnikaite May 4, 2016
4c561ac
fix(select2): hide dropdown if there are no items to show (same as #1…
torstenrudolf May 11, 2016
12c37bc
chore(travis): add npm deploy
aaronroberson May 11, 2016
4e9bf7c
chore(release): bump package version and update changelog
aaronroberson May 11, 2016
2133f82
chore(travis): add email to yml
aaronroberson May 11, 2016
cee24e5
fix(parserResult): Ignore undefined parserResult when using custom tpl
katemihalikova May 16, 2016
e75bf49
Merge pull request #1603 from katemihalikova/fix/parserResult
user378230 May 16, 2016
5ca1657
Merge pull request #1598 from Slowvoice/master
user378230 May 16, 2016
aa90dd8
fix(positioning): wait for animation to complete
darrinholst May 9, 2016
ca4d09e
fix(positioning): stop flicker when closed
darrinholst May 16, 2016
9f8723c
chore(bower): remove bower version number
user378230 May 16, 2016
66a2a5e
chore(release): bump package version and update changelog
user378230 May 16, 2016
9d29307
fix(uiSelectNoChoice): support bootstrap-multiple
turistua May 24, 2016
3ad084f
feat(removeSelected): Implement removeSelected property for multiple …
dondi May 25, 2016
a434a12
933 Fix ellipsis in placeholder and match text
May 27, 2016
5c8cf86
fix: search input width resizing
May 31, 2016
c944307
fix(uiSelectNoChoice): make compatible with Angular 1.5
May 31, 2016
49fe607
chore(css): remove unused background image reference
wuliupo May 31, 2016
8becac3
fix(uiSelectCtrl): Prevent error when using ngAnimate < v1.4
fafnirical May 31, 2016
f39b868
Merge pull request #1622 from dondi/remove-selected
user378230 May 31, 2016
8c4d1bf
Merge pull request #1595 from darrinholst/1593-position-up
aaronroberson May 31, 2016
b6d9d54
Merge pull request #1631 from bogdanalexe90/patch-2
aaronroberson May 31, 2016
faaca57
Merge pull request #1625 from dsalvagni/bugfix/933
aaronroberson May 31, 2016
f5888fb
feat(limit): Change multi-select limit attr (#1632)
cauld May 31, 2016
010a373
add: scope event for refresh (#1620)
Jun 1, 2016
5d0997e
Revert "933 Fix ellipsis in placeholder and match text"
user378230 Jun 9, 2016
cf27a96
Merge pull request #1590 from melnikaite/melnikaite-patch-1
user378230 Jun 9, 2016
7ab5f17
chore(release): bump package version and update changelog
aaronroberson Jun 9, 2016
ec41b61
docs(changelog): correct duplicate version numbers
manbearwiz Jun 16, 2016
668a0f3
fix(tagging): Support paste with tagging enabled and tagging-label="f…
torstenrudolf Jun 24, 2016
d6e0d30
docs(tagging): Fix tagging demo page
patou Jun 24, 2016
9f5d6ec
fix(uiSelectMultiple): Allow duplicates in $select.selected
sh977218 Jun 26, 2016
5336dc5
fix(select2): Up-direction when using global theme
Jun 26, 2016
a7210c4
fix(uiSelectNoChoice): support Selectize theme
gritchou Jun 28, 2016
32b7924
fix(removeSelected): fix incorrect removal of preselected item
dondi Jun 28, 2016
a41a7fc
fix(uiSelectMultiple): $select.refreshItems is not a function
robinComa Jul 5, 2016
e59e008
fix(uiSelectNoChoice): support Select2 theme
Jul 7, 2016
4503295
fix(searchEnabled): watch evaluated attribute value
BrianLenzo Jul 7, 2016
0c29b64
fix(uiSelectMultiple): tolerate null/undefined view value
user378230 Jul 7, 2016
43c1e4d
build(docs): ensure docs are built on new release
user378230 Jul 7, 2016
e179dc6
fix(Selectize): hide input box when selected data is 0
Jefiozie Jul 8, 2016
b95bf9f
fix(isDisabled): do not modify item
user378230 Jul 8, 2016
fcd9bc5
fix(tagging): infite digest loops when name is similar
user378230 Jul 8, 2016
c01d363
fix(isLocked): do not modify item
user378230 Jul 8, 2016
aee241f
Merge pull request #1712 from user378230/fix-is-disabled
user378230 Jul 9, 2016
6ce0741
build(js): fix select.js build order
user378230 Jul 9, 2016
da47374
build(jshint): save store temp compiled file
user378230 Jul 9, 2016
d1994fb
chore(release): bump package version and update changelog
user378230 Jul 10, 2016
1770038
perf(repeatParserService): track groups by name
alexbrad Jul 15, 2016
81c33d0
fix(uiSelect): remove flicker on search change
rpocklin May 9, 2016
3dfde71
fix(uiSelectController): Select by click on non-multiple tagging (bis…
kfedorov Jul 19, 2016
21bcd5e
feat(events): add open-close callback
Den-dp Jul 30, 2016
176182e
fix(bootstrap) Show placeholder on disabled multiple
Jefiozie Jul 30, 2016
b15189d
fix(bootstrap): remove anchor tag in choices
alaingilbert Jul 30, 2016
9d11dd1
fix(isDisabled) Item not re-enabled when no longer disabled
Jefiozie Jul 30, 2016
0abae0b
chore(release): bump package version and update changelog
aaronroberson Aug 7, 2016
be0d301
Fix numerous issues with select enabled (#1717)
user378230 Aug 7, 2016
2dfad24
Fix(resetSearchInput) change search box doesn't clear after selecting…
Jefiozie Aug 7, 2016
01055c5
fix(bootstrap layout): Restrict selected length to ui-select-containe…
burka Aug 7, 2016
5b4f643
chore(release): bump package version and update changelog
aaronroberson Aug 7, 2016
76cf9c3
fix(release): bump version with built files
aaronroberson Aug 9, 2016
919e9c4
docs(demo): fix incorrect ui-select-match
Jefiozie Aug 11, 2016
0bcd70a
fix(resetSearchInput) multiple didn't clear after selecting (#1761)
Jefiozie Aug 16, 2016
238d990
chore(release): bump package version and update changelog
aaronroberson Aug 16, 2016
627e51e
fix(ResetSearchInput) default is set to true, tests edited. (#1773)
Jefiozie Aug 17, 2016
eb7a7e2
chore(release): bump package version and update changelog
aaronroberson Aug 17, 2016
c64dd3a
docs(demos): update multiple select, appendToBody and filters
Jefiozie Aug 17, 2016
6766754
fix(bootstrap): add aria-expanded to the multiple select
david-kirkland Aug 22, 2016
4915527
docs(README): fix angular-sanitize typo
bartolomeu Sep 16, 2016
ff8071d
feat(selectize): add support for multiple selection
gustavohenke Sep 16, 2016
51a0836
Update CHANGELOG.md (#1816)
katemihalikova Oct 19, 2016
e3be4d1
fix: ensure aria-activedescendant is correct
edclements Sep 9, 2016
e902ffc
fix: only apply listbox role when open
edclements Sep 9, 2016
f3194bf
fix(bootstrap): add search role
edclements Sep 9, 2016
7ef10d4
feature(touch): set clickTriggeredSelect to true for touchend events
CMircea Oct 19, 2016
10a60fa
feat(spinner) Added spinner on refresh and select2 (#1779)
Jefiozie Oct 19, 2016
0d81493
Bug fix - Search input isn't blocked (#1822)
nabilnaffar Oct 19, 2016
27b9a17
chore(release): bump package version and update changelog
aaronroberson Oct 19, 2016
0e3dcd2
chore(release): bump package version and update changelog
aaronroberson Oct 19, 2016
89e29d2
chore(deploy): update travis to generate changelog
aaronroberson Oct 19, 2016
ab89b4e
chore(release): bump package version and update changelog
aaronroberson Oct 19, 2016
f90f743
Reverting #1822 (#1832)
Jefiozie Oct 23, 2016
3b00c3f
chore(release): bump package version and update changelog
aaronroberson Oct 24, 2016
10ee076
fix(lockedItems): Properly unlock locked items when lock conditions c…
jasonthomasgray Oct 25, 2016
f25af8f
docs(*): Fix multiple problems with examples
bobisch Oct 25, 2016
be60430
fix(uiSelectCtrl): Reset refreshing flag even if async request errors
Jefiozie Oct 28, 2016
7413321
feat(uiSelectSingle): add option to avoid backspace resetting the model
pierregaste Nov 2, 2016
1ed8346
docs(build): fix travis build/deploy docs
user378230 Nov 3, 2016
040eb7c
docs: load CDN assets over HTTPS
softwareresearchwork Nov 3, 2016
b7ac99a
fix(uiSelectMultiple): Don't call onSelectCallback if limit already r…
Jefiozie Nov 3, 2016
84420c3
fix(#271) if option is set only on activate the refresh function is g…
Jefiozie Nov 3, 2016
d137ded
Instead of new var used the open variable as it is set on activate.
Jefiozie Nov 3, 2016
57f612a
Changed so that attr is removed and watch is checkin select.open
Jefiozie Nov 7, 2016
91e48dd
Reverted: removed broadcast event
Jefiozie Nov 7, 2016
2a8509f
changed watch of search as the initial value should be ignored on load
Jefiozie Nov 7, 2016
a52f0b2
reverted the watch function for the desired use cases.
Jefiozie Nov 8, 2016
d7a5df2
Added test for initial refresh call
Jefiozie Nov 8, 2016
98c179a
removed some whitespace
Jefiozie Nov 8, 2016
7531d29
Revert "Added test for initial refresh call"
Jefiozie Nov 9, 2016
119b072
removed empty line
Jefiozie Nov 9, 2016
7aabdc4
fix(uiSelectChoices): prevent template element from being modified (#…
Nov 21, 2016
531e4b3
fix(uiSelectController) ActiveIndex should skip disabled choises (#1848)
Jefiozie Jan 4, 2017
b549db9
fix(spec): Use exceptionHandler to test errors. (#1879)
pete-otaqui Jan 4, 2017
914f2d8
Merge branch 'master' into 625_refreshOnActive
Jefiozie Jan 16, 2017
3642a1d
Merge pull request #1845 from Jefiozie/625_refreshOnActive
Jefiozie Jan 25, 2017
b123526
Merge branch 'master' of https://github.com/casetext/ui-select into n…
steambros Feb 14, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# This file is for unifying the coding style for different editors and IDEs
# editorconfig.org

root = true

[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

# Tabs in JS unless otherwise specified
[**.js]
indent_style = space
indent_size = 2

[*.md]
trim_trailing_whitespace = false
6 changes: 6 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
*.html eol=lf
*.css eol=lf
*.js eol=lf
*.md eol=lf
*.json eol=lf
*.yml eol=lf
15 changes: 15 additions & 0 deletions .github/ISSUE_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
The issues forum is __NOT__ for support requests. It is for bugs and feature requests only.
Please read https://github.com/angular-ui/ui-select/blob/master/CONTRIBUTING.md and search
existing issues (both open and closed) prior to opening any new issue and ensure you follow the instructions therein.

### Bug description:

### Link to minimally-working plunker that reproduces the issue:

### Version of Angular, UI-Select, and Bootstrap/Select2/Selectize CSS

Angular:

UI-Select:

Bootstrap/Select2/Selectize CSS (if applicable):
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
/bower_components
/node_modules
/temp
/.idea
/.tmp
.DS_Store
*~
40 changes: 37 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,45 @@
language: node_js
node_js:
- "0.10"
- "5.9"
env:
global:
- CXX=g++-4.8
- GH_REF: github.com/angular-ui/ui-select.git
- GH_PAGES_BRANCH: gh-pages
- secure: "PkIhXXwrR5fHh7fH+2WizaY0MmK1l1Dr7PCqs112PkEimVPcntRJeA5pjTwGRwHm+RSkFVtfo38EY/GUwzhLSRTO7WZ+id+vIMGQLgiofqrOwi0nq93esG6qI8Jg5K0GUt8mzg5m9B2tgm2I91RAojEhIukKcbsDsq3hNAUy71Y="

addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8

before_script:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- npm install grunt-cli
- bower install
- npm install --quiet -g gulp

script: "gulp test"

after_success:
- "gulp docs"

deploy:

- provider: "script"
skip_cleanup: true
script: "bash ./deploy-docs.sh"
on:
tags: true
- provider: npm
email: aaronaroberson@gmail.com
api_key:
secure: AUjI1lAZofXXFN2/CH497TN1hqm+fAUXKJCBjxmd0xiSrNUgMZqjg96g5R6OU11+zFRwcuvIWKvBcjiozSbej5zaU2Eh6amrJN+cM4cfLf4ljAdnHPGs4divlFchbqX1ThNQsLfC/dZZCVBo4oOvTz8l2L3LLwOYZkngQ0DoiHE=
on:
tags: true

sudo: false

git:
depth: 10
265 changes: 256 additions & 9 deletions CHANGELOG.md

Large diffs are not rendered by default.

161 changes: 161 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,161 @@
We are excited to have you working on the project and cordially request that you follow the Guidelines:

- [Got a question or problem?](#question)
- [You think you've found a bug?](#bug)
- [Code Style Guidelines](#rules)
- [Commit Message Guidelines](#commit)

## <a name="question"></a> Got a question or problem?

Firstly, please go over our FAQ: https://github.com/angular-ui/ui-select/wiki/FAQs

Please, do not open issues for the general support questions as we want to keep GitHub issues for bug reports and feature requests. You've got much better chances of getting your question answered on [StackOverflow](http://stackoverflow.com/questions/tagged/angular-ui-select) where maintainers are looking at questions tagged with `angular-ui-select`.

StackOverflow is a much better place to ask questions since:
* there are hundreds of people willing to help on StackOverflow
* questions and answers stay available for public viewing so your question / answer might help someone else
* SO voting system assures that the best answers are prominently visible.

To save your and our time we will be systematically closing all the issues that are requests for general support and redirecting people to StackOverflow.

## <a name="bug"></a> You think you've found a bug?

Oh, we are ashamed and want to fix it asap! But before fixing a bug we need to reproduce and confirm it. In order to reproduce bugs we will systematically ask you to provide a _minimal_ reproduce scenario using http://plnkr.co/. Having a live reproduce scenario gives us wealth of important information without going back & forth to you with additional questions like:
* version of AngularJS used
* version of this library that you are using
* 3rd-party libraries used, if any
* and most importantly - a use-case that fails

A minimal reproduce scenario using http://plnkr.co/ allows us to quickly confirm a bug (or point out coding problem) as well as confirm that we are fixing the right problem.

We will be insisting on a minimal reproduce scenario in order to save maintainers time and ultimately be able to fix more bugs. Interestingly, from our experience users often find coding problems themselves while preparing a minimal plunk. We understand that sometimes it might be hard to extract essentials bits of code from a larger code-base but we really need to isolate the problem before we can fix it.

The best part is that you don't need to create plunks from scratch - you can use one from our [demo page](http://plnkr.co/edit/a3KlK8dKH3wwiiksDSn2?p=preview).

Unfortunately we are not able to investigate / fix bugs without a minimal reproduce scenario using http://plnkr.co/, so if we don't hear back from you we are going to close an issue that don't have enough info to be reproduced.

## <a name="rules"></a> Coding Rules
To ensure consistency throughout the source code, keep these rules in mind as you are working:

* All features or bug fixes **must pass all tests** (run `gulp` to jshint, build and test).
* All public API methods **must be documented** with ngdoc, an extended version of jsdoc (we added
support for markdown and templating via @ngdoc tag). To see how we document our APIs, please check
out the existing ngdocs and see [this wiki page][ngDocs].

## <a name="commit"></a> Git Commit Guidelines

We have very precise rules over how our git commit messages can be formatted for maintenance of the changelog and semvar versioning. This leads to **more
readable messages** that are easy to follow when looking through the **project history**. But also,
we use the git commit messages to **generate the change log**.

## Development

### Prepare your environment
* Install [Node.js](http://nodejs.org/) and NPM (should come with)
* Install global dev dependencies: `npm install -g bower gulp`
* Install local dev dependencies: `npm install && bower install` in repository directory

### Development Commands

* `gulp` to jshint, build and test
* `gulp build` to jshint and build
* `gulp test` for one-time test with karma (also build and jshint)
* `gulp watch` to watch src files to jshint, build and test when changed

## Recommended workflow

1. Make changes
2. Run `gulp` or `gulp test` to run Karma tests and ensure they pass.
3. Reset all `dist/*` files
4. Commit changes using the commit message conventions below.
5. Push
6. Create PR

### Commit Message Format
Each commit message consists of a **header**, a **body** and a **footer**. The header has a special
format that includes a **type**, a **scope** and a **subject**:

```
<type>(<scope>): <subject>
<BLANK LINE>
<body>
<BLANK LINE>
<footer>
```

The **header** is mandatory and the **scope** of the header is optional.

Any line of the commit message cannot be longer 100 characters! This allows the message to be easier
to read on GitHub as well as in various git tools.

### Revert
If the commit reverts a previous commit, it should begin with `revert: `, followed by the header of the reverted commit. In the body it should say: `This reverts commit <hash>.`, where the hash is the SHA of the commit being reverted.

### Type
Must be one of the following:

* **feat**: A new feature
* **fix**: A bug fix
* **docs**: Documentation only changes
* **style**: Changes that do not affect the meaning of the code (white-space, formatting, missing
semi-colons, etc)
* **refactor**: A code change that neither fixes a bug nor adds a feature
* **perf**: A code change that improves performance
* **test**: Adding missing tests
* **chore**: Changes to the build process or auxiliary tools and libraries such as documentation
generation

### Scope
The scope could be anything specifying place of the commit change. For example `$location`,
`$browser`, `$compile`, `$rootScope`, `ngHref`, `ngClick`, `ngView`, etc...

### Subject
The subject contains succinct description of the change:

* use the imperative, present tense: "change" not "changed" nor "changes"
* don't capitalize first letter
* no dot (.) at the end

### Body
Just as in the **subject**, use the imperative, present tense: "change" not "changed" nor "changes".
The body should include the motivation for the change and contrast this with previous behavior.

### Footer
The footer should contain any information about **Breaking Changes** and is also the place to
reference github issues that this commit **Closes**.

**Breaking Changes** should start with the word `BREAKING CHANGE:` with a space or two newlines. The rest of the commit message is then used for this.

#### Examples

Appears under "Features" header, pencil subheader:

```
feat(pencil): add 'graphiteWidth' option
```

Appears under "Bug Fixes" header, graphite subheader, with a link to issue #GSNP-28:

```
fix(graphite): stop graphite breaking when width < 0.1

Closes #123
```

Appears under "Performance Improvements" header, and under "Breaking Changes" with the breaking change explanation:

```
perf(pencil): remove graphiteWidth option

BREAKING CHANGE: The graphiteWidth option has been removed. The default graphite width of 10mm is always used for performance reason.
```

The following commit and commit `667ecc1` do not appear in the changelog if they are under the same release. If not, the revert commit appears under the "Reverts" header.

```
revert: feat(pencil): add 'graphiteWidth' option

This reverts commit 667ecc1654a317a13331b17617d973392f415f02.
```

A detailed explanation can be found in this [document][https://docs.google.com/document/d/1QrDFcIiPjSLDn3EL15IJygNPiHORgU1_OOAqWjiDU5Y/edit#].
39 changes: 25 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,46 +1,57 @@
# AngularJS ui-select [![Build Status](https://travis-ci.org/angular-ui/ui-select.svg?branch=master)](https://travis-ci.org/angular-ui/ui-select)
# AngularJS ui-select [![Build Status](https://travis-ci.org/angular-ui/ui-select.svg?branch=master)](https://travis-ci.org/angular-ui/ui-select) [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/angular-ui/ui-select?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)

[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/angular-ui/ui-select?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
AngularJS-native version of [Select2](http://ivaynberg.github.io/select2/) and [Selectize](http://brianreavis.github.io/selectize.js/). [http://angular-ui.github.io/ui-select/](http://angular-ui.github.io/ui-select/)

AngularJS-native version of [Select2](http://ivaynberg.github.io/select2/) and [Selectize](http://brianreavis.github.io/selectize.js/).
[Getting Started](https://github.com/angular-ui/ui-select/wiki/Getting-Started)

- [Demo](http://plnkr.co/edit/a3KlK8dKH3wwiiksDSn2?p=preview)
- [Demo Multiselect](http://plnkr.co/edit/juqoNOt1z1Gb349XabQ2?p=preview)
- [Examples](https://github.com/angular-ui/ui-select/blob/master/examples)
- [Examples](http://angular-ui.github.io/ui-select/#examples)
- [Examples Source](./docs/examples)
- [Documentation](https://github.com/angular-ui/ui-select/wiki)

## Last Changes
## Latest Changes

- Check [CHANGELOG.md](/CHANGELOG.md)

## Features

- Search, Select, and Multi-select
- Themes: Bootstrap, Select2 and Selectize
- Search, Select, Multi-select and Tagging
- Multiple Themes: Bootstrap, Select2 and Selectize
- Keyboard support
- jQuery not required (except for old browsers)
- No jQuery required (except for old browsers)
- Small code base: 4.57KB min/gzipped vs 20KB for select2

For the roadmap, check [issue #3](https://github.com/angular-ui/ui-select/issues/3) and the [Wiki page](https://github.com/angular-ui/ui-select/wiki/Roadmap).

## Installation Methods

### npm
```
$ npm install ui-select
```
### bower
```
$ bower install angular-ui-select
```

## Development

### Prepare your environment
* Install [Node.js](http://nodejs.org/) and NPM (should come with)
* Install global dev dependencies: `npm install -g bower gulp`
* Install local dev dependencies: `npm install && bower install` in repository directory
* Install global dev dependencies: `npm install -g gulp`
* Install local dev dependencies: `npm install` in repository directory

### Development Commands

* `gulp` to jshint, build and test
* `gulp build` to jshint and build
* `gulp test` for one-time test with karma (also build and jshint)
* `gulp watch` to watch src files to jshin, build and test when changed
* `gulp watch` to watch src files to jshint, build and test when changed
* `gulp docs` build docs and examples

## Contributing

- Check [CONTRIBUTING.md](/CONTRIBUTING.md)
- Run the tests
- Try the [examples](https://github.com/angular-ui/ui-select/blob/master/examples)
- Try the [examples](./docs/examples)

When issuing a pull request, please exclude changes from the "dist" folder to avoid merge conflicts.
8 changes: 5 additions & 3 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
{
"name": "ui-select",
"version": "0.13.2",
"name": "angular-ui-select",
"homepage": "https://github.com/angular-ui/ui-select",
"authors": [
"AngularUI"
],
"description": "AngularJS ui-select",
"main": ["dist/select.js", "dist/select.css"],
"main": [
"dist/select.js",
"dist/select.css"
],
"license": "MIT",
"ignore": [
"**/.*",
Expand Down
29 changes: 29 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
{
"name": "components/ui-select",
"description": "AngularJS UI Select",
"keywords": ["angular", "angular-ui", "select", "select2", "angularjs"],
"type": "component",
"homepage": "https://github.com/angular-ui/ui-select",
"license": "MIT",
"support": {
"issues": "https://github.com/angular-ui/ui-select/issues",
"wiki": "https://github.com/angular-ui/ui-select/wiki",
"source": "https://github.com/angular-ui/ui-select"
},
"require": {
"robloach/component-installer": "*"
},
"extra": {
"component": {
"scripts": [
"dist/select.js"
],
"files": [
"dist/select.js",
"dist/select.css",
"dist/select.min.js",
"dist/select.min.css"
]
}
}
}
Loading