summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Scroll to highlighted element when list container height is fixed (#17025)HEADorigin/gh-pagesorigin/HEADgh-pagesFaris Ansari2016-12-121-0/+3
|
* Position Github starLea Verou2016-10-031-1/+1
|
* Add github star buttonLea Verou2016-10-031-0/+1
|
* Don't match if trimmed input is empty string (fix for #16934)Vladislav Zarakovsky2016-09-262-1/+9
|\
| * add testDavid Knaack2016-09-261-0/+8
| |
| * Fix for #16934David Knaack2016-09-231-1/+1
|/
* Feature: Sourcemaps (#16963)Marco Biedermann2016-09-086-18/+15
| | | | | | * add "gulp-sourcemaps" to create a CSS sourcemap * replace "gulp-closure-compiler-service" with "gulp-uglify"
* Split styles into a less opinionated base stylesheet and a theme stylesheet ↵Rik Schennink2016-09-087-36/+162
| | | | | | | | | | | | | | | | and merge with Gulp (#16940) * add slash to explicitly ignore directories (https://git-scm.com/docs/gitignore) * Split the stylesheet into a base and theme file * Add gulp-concat which is used to merge the base and theme styles to create awesomplete.css * Add resulting awesomplete.css file * Correct gulp-dest target to match minify target * Update docs to reflect awesomplete.css is a generated file.
* Merge pull request #16929 from Mrparkers/gh-pagesLea Verou2016-08-271-1/+5
|\ | | | | Change getter for `opened` property to use instance variable
| * Change getter for opened to use instance variableMrparkers2016-08-081-1/+5
| |
* | Merge pull request #16930 from dhoko/fix/selectNextPreviousLea Verou2016-08-244-16/+16
|\ \ | |/ |/| Loop around options using: next or previous
| * Loop around options ~ remove tmp vardhoko2016-08-231-2/+1
| |
| * Loop around options using for next or previousdhoko2016-08-164-16/+17
|/
* 1.1.1v1.1.1Vladislav Zarakovsky2016-06-251-1/+1
|
* Update changelogVladislav Zarakovsky2016-06-251-0/+8
|
* Merge pull request #16900 from jimf/document-event-paramsLea Verou2016-06-251-3/+3
|\ | | | | Add docs for event params
| * Add docs for event paramsJim Fitzpatrick2016-06-211-3/+3
| | | | | | | | | | Add documentation for the parameters passed to `awesomplete-highlight`, `awesomplete-select`, and `awesomplete-selectcomplete` event listeners.
* | Automatic npm release on tagged commitsVladislav Zarakovsky2016-06-251-0/+8
| |
* | Consistent quotes styleVladislav Zarakovsky2016-06-248-16/+17
| |
* | Merge pull request #16899 from jimf/emit-close-reasonLea Verou2016-06-228-16/+32
|\ \ | | | | | | Emit close reason with awesomplete-close events
| * | Emit close reason with awesomplete-close eventsJim Fitzpatrick2016-06-228-16/+32
|/ / | | | | | | | | | | | | | | | | Emit a reason when firing `awesomplete-close` events to provide transparency to attached event listeners regarding the circumstance in which the close was triggered. Reasons include `blur`, `esc`, `submit`, `select`, and `nomatches`. Closes #16897
* | Merge pull request #16898 from jimf/idempotent-closeLea Verou2016-06-222-0/+12
|\ \ | |/ |/| Return early from close if not open
| * Return early from close if not openJim Fitzpatrick2016-06-212-0/+12
|/ | | | | | | If the popup is already in a closed state, return early from `Awesomplete.prototype.close` so as to guarantee that when `awesomplete-close` events get triggered, the popup *was* actually closed.
* Removed confusing/unnecessary callsVladislav Zarakovsky2016-06-021-3/+3
|
* Add npm badgeVladislav Zarakovsky2016-03-161-0/+1
|
* Update changelogv1.1.0Vladislav Zarakovsky2016-03-161-1/+1
|
* Bump version to 1.1.0Vladislav Zarakovsky2016-03-161-1/+1
|
* Add minified versionVladislav Zarakovsky2016-03-161-9/+11
|
* Merge pull request #16872 from vlazar/fix/awesomplete-highlightLea Verou2016-03-161-4/+4
|\ | | | | Fire awesomplete-highlight event only if some item was really highlighted
| * Fire awesomplete-highlight event only if some item was really highlightedVladislav Zarakovsky2016-03-161-4/+4
| |
* | Add changelogVladislav Zarakovsky2016-03-161-0/+14
|/
* Merge pull request #16867 from ↵Vladislav Zarakovsky2016-03-133-6/+20
|\ | | | | | | | | vlazar/feature/awesomplete-selectcomplete-event-properties Pass suggestion item to awesomplete-selectcomplete and awesomplete-highlight events
| * Pass suggestion item to awesomplete-selectcomplete and awesomplete-highlight ↵Vladislav Zarakovsky2016-03-133-6/+20
| | | | | | | | events
* | Simplify email example.Vladislav Zarakovsky2016-03-121-2/+2
|/ | | | | There is no need to repeat "@" symbol for the list of domains, since "@" can be easily added to suggestion item in data function.
* Remove redundant evt.data, it's same at evt.textVladislav Zarakovsky2016-03-122-2/+0
| | | | Agreed in https://github.com/LeaVerou/awesomplete/issues/16821#issuecomment-185901377
* Merge pull request #16866 from vlazar/feature/separate-label-valueVladislav Zarakovsky2016-03-127-26/+143
|\ | | | | Separate label/value
| * Support list with separate label/value via <datalist> or <ul>Vladislav Zarakovsky2016-03-122-9/+41
| |
| * Separate label/value for each suggestion on the list.Vladislav Zarakovsky2016-03-126-18/+103
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | | It is now possible to show a suggestion label in completer, but insert a suggestion value into the input instead. In addition to String as before, each list item now can also be: - a `{ label, value }` Object - a `[ label, value ]` Array To show full country name in completer, but insert country code into the input you can use these items: - `{ label: "United States", value: "US" }` - `[ "United States", "US" ]` Despite this data format change, old code will continue to work as before. This is taken care by `Suggestion()`. It uses `label` property automatically when string is expected anywhere in the API. One known issue is that accessing suggestion's characters by index won't work with old API. It's easy to fix though. Instead of `item[idx]` use `item.value[idx]` or `item.label[idx]` directly. In addition to default support for String/Object/Array items, we also add `data` method, which can be used to support any additional custom item formats and to generate data dynamically, as in changed Email example. The only thing you need to do in this case is to return item in any of String/Array/Object formats supported by default.
* Merge pull request #16863 from electerious/gh-pagesLea Verou2016-03-091-1/+0
|\ | | | | Removed version in bower.json
| * Merge pull request #1 from electerious/bower-versionTobias Reich2016-03-091-1/+0
| |\ |/ / | | Removed version in bower.json
| * Removed version in bower.jsonTobias Reich2016-03-091-1/+0
|/ | | | | | | Specifying the version in the bower.json is [deprecated](https://github.com/bower/spec/blob/master/json.md#version). Use git tags instead*. This field is ignored by Bower. * Please add more tags. There's currently only one tag (v1.0.0) which refers to a version from Apr 23, 2015. Installing awesomplete with `bower install https://github.com/LeaVerou/awesomplete.git#gh-pages` case of the missing git tags is a bad idea. It always downloads the current branch which may change anytime. Could case a lot of problems when you change the API of awesomplete.
* Merge pull request #16857 from vlazar/docs/contributing-section-as-separate-fileLea Verou2016-02-182-53/+52
|\ | | | | Extract CONTRIBUTING.md to utilize a new GitHub feature
| * Extract CONTRIBUTING.md to utilize a new GitHub featureVladislav Zarakovsky2016-02-182-53/+52
|/ | | | | | | Setting guidelines for repository contributors https://help.github.com/articles/setting-guidelines-for-repository-contributors/ > To help your project contributors do good work, you can add a file with contribution guidelines to the root of your project's repository. Then, whenever someone opens a pull request or creates an issue, they will see a link to that file.
* Revert "Changed event property name: origin -> originalTarget"Vladislav Zarakovsky2016-02-172-3/+3
| | | | This reverts commit 1f86aaf981910686e11ffea47c24c8838a17d7d8.
* Fix typo in testVladislav Zarakovsky2016-02-171-1/+1
|
* Changed event property name: origin -> originalTargetVladislav Zarakovsky2016-02-072-3/+3
|
* Merge pull request #16835 from ↵Vladislav Zarakovsky2016-02-052-5/+13
|\ | | | | | | | | vlazar/feature/add-item-data-to-awesomplete-select-event Add item data to awesomplete-select event
| * Expose this.suggestions and $.siblingIndex as public APIVladislav Zarakovsky2016-02-051-10/+10
| |
| * Add item data to awesomplete-select eventVladislav Zarakovsky2016-02-012-4/+12
| |
* | Fix docs formatting. Spaces -> tabs.Vladislav Zarakovsky2016-02-021-40/+31
| |
* | Merge pull request #16839 from smargh/pr/toggleVladislav Zarakovsky2016-02-011-13/+15
|\ \ | | | | | | Fix combobox button styling in Firefox
| * | Fix tabs in styles.cssStephen Margheim2016-01-311-11/+11
| | |
| * | Add vertical-align and height props to combobox btn cssStephen Margheim2016-01-311-2/+4
| | |
* | | Remove extra awesomplete script tag in docsVladislav Zarakovsky2016-01-311-1/+0
| | |
* | | Merge pull request #16837 from pra85/patch-1Vladislav Zarakovsky2016-01-311-1/+1
|\ \ \ | |_|/ |/| | Fix typo in Readme.md
| * | Fix typo in Readme.mdPrayag Verma2016-01-311-1/+1
|/ / | | | | Spelling mistake - `Continious` > `Continuous`
* | Merge pull request #16834 from vlazar/feature/item-and-replace-testsVladislav Zarakovsky2016-01-303-4/+65
|\ \ | | | | | | Tests for Awesomplete.ITEM and Awesomplete.REPLACE
| * | Tests for Awesomplete.ITEM and Awesomplete.REPLACEVladislav Zarakovsky2016-01-303-4/+65
|/ /
* | Merge pull request #16830 from ↵Lea Verou2016-01-291-10/+14
|\ \ | | | | | | | | | | | | vlazar/feature/add-item-and-replace-static-properties Expose item & replace as static properties.
| * | Expose item & replace as static properties.Vladislav Zarakovsky2016-01-291-10/+14
|/ / | | | | | | | | Makes it possible to configure these properties globally. Simplifies tests. We can test static properties in isolation.
* | Merge pull request #16829 from vlazar/feature/simplify-configureLea Verou2016-01-281-9/+9
|\ \ | | | | | | Pass instance to configure instead of call(this)
| * | Pass instance to configure instead of call(this)Vladislav Zarakovsky2016-01-281-9/+9
|/ / | | | | | | | | | | | | Why use configure.call(this, defaults, o) if we could just do configure(this, defaults, o)? This also reduces minified code size.
* | Merge pull request #16828 from vlazar/feature/improve-code-coverageVladislav Zarakovsky2016-01-2821-258/+114
|\ \ | | | | | | Big tests cleanup
| * | Big tests cleanupVladislav Zarakovsky2016-01-2821-258/+114
|/ /
* | Merge pull request #16827 from vlazar/feature/simplify-prevent-defaultLea Verou2016-01-251-8/+3
|\ \ | | | | | | Use dispatchEvent return value to get defaultPrevented
| * | Use dispatchEvent return value to get defaultPreventedVladislav Zarakovsky2016-01-251-8/+3
|/ / | | | | | | | | | | | | | | | | | | | | Standard `element.dispatchEvent` already provides infromation of wether event was prevented or not. From MDN: The return value is false if at least one of the event handlers which handled this event called Event.preventDefault(). Otherwise it returns true. Instead of implementing our own `preventDefault()` use existing.
* | Merge pull request #16826 from vlazar/feature/simplify-openedVladislav Zarakovsky2016-01-251-1/+1
|\ \ | | | | | | Simplify opened getter
| * | Simplify opened getterVladislav Zarakovsky2016-01-251-1/+1
|/ / | | | | | | | | We can skip this.ul since it's always exist. And element.hasAttribute works great for boolean attrs.
* | Merge pull request #16823 from vlazar/feature/pass-origin-to-awesomplete-selectVladislav Zarakovsky2016-01-232-5/+5
|\ \ | | | | | | Pass origin element to awesomplete-select instead of event. Fixes #16818
| * | Pass origin element to awesomplete-select instead of eventVladislav Zarakovsky2016-01-232-5/+5
|/ /
* | Merge pull request #16784 from smargh/pr/toggleLea Verou2016-01-202-18/+61
|\ \ | |/ | | Add combobox advanced example
| * Add #combobox scope to new CSS class stylesStephen Margheim2016-01-201-3/+3
| |
| * Add a couple CSS classes for combobox stylingStephen Margheim2016-01-191-18/+39
| |
| * Add combobox example sectionStephen Margheim2016-01-191-0/+22
| |
| * Remove toggle api methodStephen Margheim2016-01-191-13/+0
| |
| * Merge branch 'gh-pages' of https://github.com/LeaVerou/awesomplete into ↵Stephen Margheim2016-01-1947-88/+2215
| |\ | |/ |/| | | pr/toggle
* | Merge pull request #16813 from vlazar/fix/input-loses-focus-on-select-with-mouseLea Verou2016-01-133-4/+6
|\ \ | | | | | | Fix #16808. Input loses focus if item selected with mouse.
| * | Update karma and deps. See bug https://github.com/karma-runner/karma/issues/1768Vladislav Zarakovsky2016-01-081-3/+3
| | |
| * | Fix #16808. Input loses focus if item selected with mouse.Vladislav Zarakovsky2016-01-082-1/+3
|/ /
* | Merge pull request #16811 from vlazar/feature/replace-make-with-gulpLea Verou2016-01-055-27/+36
|\ \ | | | | | | Replace make with gulp
| * | Add minified versionVladislav Zarakovsky2016-01-031-7/+7
| | |
| * | Replace make with gulp for minificationVladislav Zarakovsky2016-01-034-20/+29
|/ /
* | Merge pull request #16810 from vlazar/fix/code-climate-ratingsLea Verou2016-01-032-0/+2
|\ \ | | | | | | Fix code climate ratings
| * | Tell eslint about valid globalsVladislav Zarakovsky2016-01-021-0/+1
| | |
| * | Remove prism.js files from Code Climate checksVladislav Zarakovsky2016-01-021-0/+1
|/ /
* | Merge pull request #16792 from vlazar/features/code-climateLea Verou2016-01-027-3/+283
|\ \ | | | | | | Code Climate
| * \ Merge remote-tracking branch 'upstream/gh-pages' into features/code-climateVladislav Zarakovsky2015-12-302-6/+7
| |\ \
| * | | Post merge fixVladislav Zarakovsky2015-12-281-1/+1
| | | |
| * | | Merge remote-tracking branch 'upstream/gh-pages' into features/code-climateVladislav Zarakovsky2015-12-2834-22/+1599
| |\ \ \
| * | | | Turn on smart-tabs for eslintVladislav Zarakovsky2015-11-291-1/+1
| | | | |
| * | | | Add eslint recommended configVladislav Zarakovsky2015-11-291-0/+253
| | | | |
| * | | | Also exclude minified files from analysisVladislav Zarakovsky2015-11-291-0/+1
| | | | |
| * | | | Add Code Climate badgesVladislav Zarakovsky2015-11-291-0/+2
| | | | |
| * | | | Send code coverage to Code Climate on Travis CI buildVladislav Zarakovsky2015-11-291-0/+7
| | | | |
| * | | | Generate code coverageVladislav Zarakovsky2015-11-293-3/+8
| | | | |
| * | | | Add Code Climate Platform configVladislav Zarakovsky2015-11-291-0/+12
| | | | |
* | | | | Merge pull request #16807 from TxHawks/fix/load-prism-locallyLea Verou2016-01-023-2/+148
|\ \ \ \ \ | |_|_|/ / |/| | | | Fix: load Prism files from local sources
| * | | | Fix: load Prism files from local sourcesTxHawks2015-12-303-2/+148
|/ / / / | | | | | | | | | | | | Closes #16801
* | | | Merge pull request #16804 from vlazar/fix/tests-for-new-featureLea Verou2015-12-282-6/+7
|\ \ \ \ | |_|/ / |/| | | Fix tests for new feature
| * | | Fix tests for new featureVladislav Zarakovsky2015-12-282-6/+7
|/ / /