Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Scroll to highlighted element when list container height is fixed (#17025)HEADorigin/gh-pagesorigin/HEADgh-pages | Faris Ansari | 2016-12-12 | 1 | -0/+3 |
| | |||||
* | Position Github star | Lea Verou | 2016-10-03 | 1 | -1/+1 |
| | |||||
* | Add github star button | Lea Verou | 2016-10-03 | 1 | -0/+1 |
| | |||||
* | Don't match if trimmed input is empty string (fix for #16934) | Vladislav Zarakovsky | 2016-09-26 | 2 | -1/+9 |
|\ | |||||
| * | add test | David Knaack | 2016-09-26 | 1 | -0/+8 |
| | | |||||
| * | Fix for #16934 | David Knaack | 2016-09-23 | 1 | -1/+1 |
|/ | |||||
* | Feature: Sourcemaps (#16963) | Marco Biedermann | 2016-09-08 | 6 | -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 Schennink | 2016-09-08 | 7 | -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-pages | Lea Verou | 2016-08-27 | 1 | -1/+5 |
|\ | | | | | Change getter for `opened` property to use instance variable | ||||
| * | Change getter for opened to use instance variable | Mrparkers | 2016-08-08 | 1 | -1/+5 |
| | | |||||
* | | Merge pull request #16930 from dhoko/fix/selectNextPrevious | Lea Verou | 2016-08-24 | 4 | -16/+16 |
|\ \ | |/ |/| | Loop around options using: next or previous | ||||
| * | Loop around options ~ remove tmp var | dhoko | 2016-08-23 | 1 | -2/+1 |
| | | |||||
| * | Loop around options using for next or previous | dhoko | 2016-08-16 | 4 | -16/+17 |
|/ | |||||
* | 1.1.1v1.1.1 | Vladislav Zarakovsky | 2016-06-25 | 1 | -1/+1 |
| | |||||
* | Update changelog | Vladislav Zarakovsky | 2016-06-25 | 1 | -0/+8 |
| | |||||
* | Merge pull request #16900 from jimf/document-event-params | Lea Verou | 2016-06-25 | 1 | -3/+3 |
|\ | | | | | Add docs for event params | ||||
| * | Add docs for event params | Jim Fitzpatrick | 2016-06-21 | 1 | -3/+3 |
| | | | | | | | | | | Add documentation for the parameters passed to `awesomplete-highlight`, `awesomplete-select`, and `awesomplete-selectcomplete` event listeners. | ||||
* | | Automatic npm release on tagged commits | Vladislav Zarakovsky | 2016-06-25 | 1 | -0/+8 |
| | | |||||
* | | Consistent quotes style | Vladislav Zarakovsky | 2016-06-24 | 8 | -16/+17 |
| | | |||||
* | | Merge pull request #16899 from jimf/emit-close-reason | Lea Verou | 2016-06-22 | 8 | -16/+32 |
|\ \ | | | | | | | Emit close reason with awesomplete-close events | ||||
| * | | Emit close reason with awesomplete-close events | Jim Fitzpatrick | 2016-06-22 | 8 | -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-close | Lea Verou | 2016-06-22 | 2 | -0/+12 |
|\ \ | |/ |/| | Return early from close if not open | ||||
| * | Return early from close if not open | Jim Fitzpatrick | 2016-06-21 | 2 | -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 calls | Vladislav Zarakovsky | 2016-06-02 | 1 | -3/+3 |
| | |||||
* | Add npm badge | Vladislav Zarakovsky | 2016-03-16 | 1 | -0/+1 |
| | |||||
* | Update changelogv1.1.0 | Vladislav Zarakovsky | 2016-03-16 | 1 | -1/+1 |
| | |||||
* | Bump version to 1.1.0 | Vladislav Zarakovsky | 2016-03-16 | 1 | -1/+1 |
| | |||||
* | Add minified version | Vladislav Zarakovsky | 2016-03-16 | 1 | -9/+11 |
| | |||||
* | Merge pull request #16872 from vlazar/fix/awesomplete-highlight | Lea Verou | 2016-03-16 | 1 | -4/+4 |
|\ | | | | | Fire awesomplete-highlight event only if some item was really highlighted | ||||
| * | Fire awesomplete-highlight event only if some item was really highlighted | Vladislav Zarakovsky | 2016-03-16 | 1 | -4/+4 |
| | | |||||
* | | Add changelog | Vladislav Zarakovsky | 2016-03-16 | 1 | -0/+14 |
|/ | |||||
* | Merge pull request #16867 from ↵ | Vladislav Zarakovsky | 2016-03-13 | 3 | -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 Zarakovsky | 2016-03-13 | 3 | -6/+20 |
| | | | | | | | | events | ||||
* | | Simplify email example. | Vladislav Zarakovsky | 2016-03-12 | 1 | -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.text | Vladislav Zarakovsky | 2016-03-12 | 2 | -2/+0 |
| | | | | Agreed in https://github.com/LeaVerou/awesomplete/issues/16821#issuecomment-185901377 | ||||
* | Merge pull request #16866 from vlazar/feature/separate-label-value | Vladislav Zarakovsky | 2016-03-12 | 7 | -26/+143 |
|\ | | | | | Separate label/value | ||||
| * | Support list with separate label/value via <datalist> or <ul> | Vladislav Zarakovsky | 2016-03-12 | 2 | -9/+41 |
| | | |||||
| * | Separate label/value for each suggestion on the list. | Vladislav Zarakovsky | 2016-03-12 | 6 | -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-pages | Lea Verou | 2016-03-09 | 1 | -1/+0 |
|\ | | | | | Removed version in bower.json | ||||
| * | Merge pull request #1 from electerious/bower-version | Tobias Reich | 2016-03-09 | 1 | -1/+0 |
| |\ |/ / | | | Removed version in bower.json | ||||
| * | Removed version in bower.json | Tobias Reich | 2016-03-09 | 1 | -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-file | Lea Verou | 2016-02-18 | 2 | -53/+52 |
|\ | | | | | Extract CONTRIBUTING.md to utilize a new GitHub feature | ||||
| * | Extract CONTRIBUTING.md to utilize a new GitHub feature | Vladislav Zarakovsky | 2016-02-18 | 2 | -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 Zarakovsky | 2016-02-17 | 2 | -3/+3 |
| | | | | This reverts commit 1f86aaf981910686e11ffea47c24c8838a17d7d8. | ||||
* | Fix typo in test | Vladislav Zarakovsky | 2016-02-17 | 1 | -1/+1 |
| | |||||
* | Changed event property name: origin -> originalTarget | Vladislav Zarakovsky | 2016-02-07 | 2 | -3/+3 |
| | |||||
* | Merge pull request #16835 from ↵ | Vladislav Zarakovsky | 2016-02-05 | 2 | -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 API | Vladislav Zarakovsky | 2016-02-05 | 1 | -10/+10 |
| | | |||||
| * | Add item data to awesomplete-select event | Vladislav Zarakovsky | 2016-02-01 | 2 | -4/+12 |
| | | |||||
* | | Fix docs formatting. Spaces -> tabs. | Vladislav Zarakovsky | 2016-02-02 | 1 | -40/+31 |
| | | |||||
* | | Merge pull request #16839 from smargh/pr/toggle | Vladislav Zarakovsky | 2016-02-01 | 1 | -13/+15 |
|\ \ | | | | | | | Fix combobox button styling in Firefox | ||||
| * | | Fix tabs in styles.css | Stephen Margheim | 2016-01-31 | 1 | -11/+11 |
| | | | |||||
| * | | Add vertical-align and height props to combobox btn css | Stephen Margheim | 2016-01-31 | 1 | -2/+4 |
| | | | |||||
* | | | Remove extra awesomplete script tag in docs | Vladislav Zarakovsky | 2016-01-31 | 1 | -1/+0 |
| | | | |||||
* | | | Merge pull request #16837 from pra85/patch-1 | Vladislav Zarakovsky | 2016-01-31 | 1 | -1/+1 |
|\ \ \ | |_|/ |/| | | Fix typo in Readme.md | ||||
| * | | Fix typo in Readme.md | Prayag Verma | 2016-01-31 | 1 | -1/+1 |
|/ / | | | | | Spelling mistake - `Continious` > `Continuous` | ||||
* | | Merge pull request #16834 from vlazar/feature/item-and-replace-tests | Vladislav Zarakovsky | 2016-01-30 | 3 | -4/+65 |
|\ \ | | | | | | | Tests for Awesomplete.ITEM and Awesomplete.REPLACE | ||||
| * | | Tests for Awesomplete.ITEM and Awesomplete.REPLACE | Vladislav Zarakovsky | 2016-01-30 | 3 | -4/+65 |
|/ / | |||||
* | | Merge pull request #16830 from ↵ | Lea Verou | 2016-01-29 | 1 | -10/+14 |
|\ \ | | | | | | | | | | | | | vlazar/feature/add-item-and-replace-static-properties Expose item & replace as static properties. | ||||
| * | | Expose item & replace as static properties. | Vladislav Zarakovsky | 2016-01-29 | 1 | -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-configure | Lea Verou | 2016-01-28 | 1 | -9/+9 |
|\ \ | | | | | | | Pass instance to configure instead of call(this) | ||||
| * | | Pass instance to configure instead of call(this) | Vladislav Zarakovsky | 2016-01-28 | 1 | -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-coverage | Vladislav Zarakovsky | 2016-01-28 | 21 | -258/+114 |
|\ \ | | | | | | | Big tests cleanup | ||||
| * | | Big tests cleanup | Vladislav Zarakovsky | 2016-01-28 | 21 | -258/+114 |
|/ / | |||||
* | | Merge pull request #16827 from vlazar/feature/simplify-prevent-default | Lea Verou | 2016-01-25 | 1 | -8/+3 |
|\ \ | | | | | | | Use dispatchEvent return value to get defaultPrevented | ||||
| * | | Use dispatchEvent return value to get defaultPrevented | Vladislav Zarakovsky | 2016-01-25 | 1 | -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-opened | Vladislav Zarakovsky | 2016-01-25 | 1 | -1/+1 |
|\ \ | | | | | | | Simplify opened getter | ||||
| * | | Simplify opened getter | Vladislav Zarakovsky | 2016-01-25 | 1 | -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-select | Vladislav Zarakovsky | 2016-01-23 | 2 | -5/+5 |
|\ \ | | | | | | | Pass origin element to awesomplete-select instead of event. Fixes #16818 | ||||
| * | | Pass origin element to awesomplete-select instead of event | Vladislav Zarakovsky | 2016-01-23 | 2 | -5/+5 |
|/ / | |||||
* | | Merge pull request #16784 from smargh/pr/toggle | Lea Verou | 2016-01-20 | 2 | -18/+61 |
|\ \ | |/ | | | Add combobox advanced example | ||||
| * | Add #combobox scope to new CSS class styles | Stephen Margheim | 2016-01-20 | 1 | -3/+3 |
| | | |||||
| * | Add a couple CSS classes for combobox styling | Stephen Margheim | 2016-01-19 | 1 | -18/+39 |
| | | |||||
| * | Add combobox example section | Stephen Margheim | 2016-01-19 | 1 | -0/+22 |
| | | |||||
| * | Remove toggle api method | Stephen Margheim | 2016-01-19 | 1 | -13/+0 |
| | | |||||
| * | Merge branch 'gh-pages' of https://github.com/LeaVerou/awesomplete into ↵ | Stephen Margheim | 2016-01-19 | 47 | -88/+2215 |
| |\ | |/ |/| | | | pr/toggle | ||||
* | | Merge pull request #16813 from vlazar/fix/input-loses-focus-on-select-with-mouse | Lea Verou | 2016-01-13 | 3 | -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/1768 | Vladislav Zarakovsky | 2016-01-08 | 1 | -3/+3 |
| | | | |||||
| * | | Fix #16808. Input loses focus if item selected with mouse. | Vladislav Zarakovsky | 2016-01-08 | 2 | -1/+3 |
|/ / | |||||
* | | Merge pull request #16811 from vlazar/feature/replace-make-with-gulp | Lea Verou | 2016-01-05 | 5 | -27/+36 |
|\ \ | | | | | | | Replace make with gulp | ||||
| * | | Add minified version | Vladislav Zarakovsky | 2016-01-03 | 1 | -7/+7 |
| | | | |||||
| * | | Replace make with gulp for minification | Vladislav Zarakovsky | 2016-01-03 | 4 | -20/+29 |
|/ / | |||||
* | | Merge pull request #16810 from vlazar/fix/code-climate-ratings | Lea Verou | 2016-01-03 | 2 | -0/+2 |
|\ \ | | | | | | | Fix code climate ratings | ||||
| * | | Tell eslint about valid globals | Vladislav Zarakovsky | 2016-01-02 | 1 | -0/+1 |
| | | | |||||
| * | | Remove prism.js files from Code Climate checks | Vladislav Zarakovsky | 2016-01-02 | 1 | -0/+1 |
|/ / | |||||
* | | Merge pull request #16792 from vlazar/features/code-climate | Lea Verou | 2016-01-02 | 7 | -3/+283 |
|\ \ | | | | | | | Code Climate | ||||
| * \ | Merge remote-tracking branch 'upstream/gh-pages' into features/code-climate | Vladislav Zarakovsky | 2015-12-30 | 2 | -6/+7 |
| |\ \ | |||||
| * | | | Post merge fix | Vladislav Zarakovsky | 2015-12-28 | 1 | -1/+1 |
| | | | | |||||
| * | | | Merge remote-tracking branch 'upstream/gh-pages' into features/code-climate | Vladislav Zarakovsky | 2015-12-28 | 34 | -22/+1599 |
| |\ \ \ | |||||
| * | | | | Turn on smart-tabs for eslint | Vladislav Zarakovsky | 2015-11-29 | 1 | -1/+1 |
| | | | | | |||||
| * | | | | Add eslint recommended config | Vladislav Zarakovsky | 2015-11-29 | 1 | -0/+253 |
| | | | | | |||||
| * | | | | Also exclude minified files from analysis | Vladislav Zarakovsky | 2015-11-29 | 1 | -0/+1 |
| | | | | | |||||
| * | | | | Add Code Climate badges | Vladislav Zarakovsky | 2015-11-29 | 1 | -0/+2 |
| | | | | | |||||
| * | | | | Send code coverage to Code Climate on Travis CI build | Vladislav Zarakovsky | 2015-11-29 | 1 | -0/+7 |
| | | | | | |||||
| * | | | | Generate code coverage | Vladislav Zarakovsky | 2015-11-29 | 3 | -3/+8 |
| | | | | | |||||
| * | | | | Add Code Climate Platform config | Vladislav Zarakovsky | 2015-11-29 | 1 | -0/+12 |
| | | | | | |||||
* | | | | | Merge pull request #16807 from TxHawks/fix/load-prism-locally | Lea Verou | 2016-01-02 | 3 | -2/+148 |
|\ \ \ \ \ | |_|_|/ / |/| | | | | Fix: load Prism files from local sources | ||||
| * | | | | Fix: load Prism files from local sources | TxHawks | 2015-12-30 | 3 | -2/+148 |
|/ / / / | | | | | | | | | | | | | Closes #16801 | ||||
* | | | | Merge pull request #16804 from vlazar/fix/tests-for-new-feature | Lea Verou | 2015-12-28 | 2 | -6/+7 |
|\ \ \ \ | |_|/ / |/| | | | Fix tests for new feature | ||||
| * | | | Fix tests for new feature | Vladislav Zarakovsky | 2015-12-28 | 2 | -6/+7 |
|/ / / |