@financial-times/o-autocomplete
Advanced tools
Comparing version 1.6.0 to 1.6.1
# Changelog | ||
### [1.6.1](https://www.github.com/Financial-Times/origami/compare/o-autocomplete-v1.6.0...o-autocomplete-v1.6.1) (2022-01-13) | ||
### Bug Fixes | ||
* expand all uses of docs to documentation ([26f8d9d](https://www.github.com/Financial-Times/origami/commit/26f8d9d8cbbe3e78902d8c3951b37e08150a77bd)) | ||
## [1.6.0](https://www.github.com/Financial-Times/origami/compare/o-autocomplete-v1.5.0...o-autocomplete-v1.6.0) (2021-12-09) | ||
@@ -4,0 +11,0 @@ |
import Autocomplete from '../../../main.js'; | ||
import {data} from './data.js'; | ||
import oForms from '@financial-times/o-forms'; | ||
oForms.init(); | ||
/** | ||
@@ -5,0 +6,0 @@ * @typedef {object} CustomOption |
import '../../../main.js'; | ||
import {debounce} from '@financial-times/o-utils'; | ||
import oForms from '@financial-times/o-forms'; | ||
oForms.init(); | ||
/** | ||
@@ -295,3 +297,3 @@ * @typedef {Function} PopulateOptions | ||
window.customSuggestions = window.Origami['o-utils'].debounce(customSuggestions, 100); | ||
window.customSuggestions = debounce(customSuggestions, 100); | ||
@@ -298,0 +300,0 @@ document.addEventListener('DOMContentLoaded', function() { |
import '../../../main.js'; | ||
import oForms from '@financial-times/o-forms'; | ||
oForms.init(); | ||
/** | ||
@@ -4,0 +5,0 @@ * @typedef {Function} PopulateOptions |
import '../../../main.js'; | ||
import oForms from '@financial-times/o-forms'; | ||
document.addEventListener('DOMContentLoaded', function() { | ||
oForms.init(); | ||
document.dispatchEvent(new CustomEvent('o.DOMContentLoaded')); | ||
}); |
@@ -24,8 +24,3 @@ { | ||
"sass": "demos/src/shared.scss", | ||
"documentClasses": "", | ||
"dependencies": [ | ||
"o-forms@^9.0.0", | ||
"o-normalise@^3.0.0", | ||
"o-utils@^2.0.0" | ||
] | ||
"documentClasses": "" | ||
}, | ||
@@ -32,0 +27,0 @@ "demos": [ |
{ | ||
"name": "@financial-times/o-autocomplete", | ||
"version": "1.6.0", | ||
"version": "1.6.1", | ||
"description": "An origami component for autocomplete inputs", | ||
@@ -37,3 +37,3 @@ "keywords": [ | ||
"@financial-times/o-loading": "^5.0.0", | ||
"@financial-times/o-normalise": "^3.0.0", | ||
"@financial-times/o-normalise": "^3.2.0", | ||
"@financial-times/o-spacing": "^3.0.0", | ||
@@ -43,2 +43,7 @@ "@financial-times/o-typography": "^7.0.1", | ||
}, | ||
"devDependencies": { | ||
"@financial-times/o-forms": "^9.2.0", | ||
"@financial-times/o-normalise": "^3.2.0", | ||
"@financial-times/o-utils": "^2.1.0" | ||
}, | ||
"dependencies": { | ||
@@ -45,0 +50,0 @@ "@financial-times/accessible-autocomplete": "^2.1.2" |
@@ -25,3 +25,3 @@ # o-autocomplete | ||
Check out [how to include Origami components in your project](https://origami.ft.com/docs/components/#including-origami-components-in-your-project) to get started with `o-autocomplete`. | ||
Check out [how to include Origami components in your project](https://origami.ft.com/documentation/components/#including-origami-components-in-your-project) to get started with `o-autocomplete`. | ||
@@ -28,0 +28,0 @@ ## Markup |
Sorry, the diff of this file is not supported yet
116297
3210
3