@financial-times/o-autocomplete
Advanced tools
Comparing version 1.3.1 to 1.4.0
# Changelog | ||
## [1.4.0](https://www.github.com/Financial-Times/origami/compare/o-autocomplete-v1.3.2...o-autocomplete-v1.4.0) (2021-11-08) | ||
### Features | ||
* Rename master brand in component origami.json ([f642faf](https://www.github.com/Financial-Times/origami/commit/f642faf0574d84ea8185b56e6090c8015def27e6)) | ||
### [1.3.2](https://www.github.com/Financial-Times/origami/compare/o-autocomplete-v1.3.1...o-autocomplete-v1.3.2) (2021-11-02) | ||
### Bug Fixes | ||
* correct o-autocomplete markup ([f3d73b6](https://www.github.com/Financial-Times/origami/commit/f3d73b623d19bdfb7fac507cd40712d0032648fb)) | ||
* Update `o-brand` in components, replace "master" with "core" ([322617e](https://www.github.com/Financial-Times/origami/commit/322617ea80f30a6825d9c36872e05574b871ea82)) | ||
### [1.3.1](https://www.github.com/Financial-Times/origami/compare/o-autocomplete-v1.3.0...o-autocomplete-v1.3.1) (2021-09-21) | ||
@@ -4,0 +19,0 @@ |
@@ -5,3 +5,3 @@ { | ||
"brands": [ | ||
"master" | ||
"core" | ||
], | ||
@@ -8,0 +8,0 @@ "support": "https://github.com/Financial-Times/origami/issues/new?labels=o-autocomplete,components", |
{ | ||
"name": "@financial-times/o-autocomplete", | ||
"version": "1.3.1", | ||
"version": "1.4.0", | ||
"description": "An origami component for autocomplete inputs", | ||
@@ -23,5 +23,5 @@ "keywords": [ | ||
"scripts": { | ||
"start": "npx serve ./demos/local", | ||
"build": "npm_config_yes=true npx \"origami-build-tools@^11\" install && npm_config_yes=true npx \"origami-build-tools@^11\" demo", | ||
"test": "obt t" | ||
"build": "bash ../../scripts/component/build.bash", | ||
"test": "bash ../../scripts/component/test.bash", | ||
"lint": "bash ../../scripts/component/lint.bash" | ||
}, | ||
@@ -32,2 +32,3 @@ "engines": { | ||
"peerDependencies": { | ||
"@financial-times/math": "^1.0.0", | ||
"@financial-times/o-brand": "^4.0.2", | ||
@@ -34,0 +35,0 @@ "@financial-times/o-colors": "^6.0.1", |
@@ -13,2 +13,4 @@ # o-autocomplete | ||
- [dynamic suggestions function](#dynamic-suggestions-function) | ||
- [mapOptionToSuggestedValue](#mapoptiontosuggestedvalue) | ||
- [onConfirm](#onconfirm) | ||
- [Keyboard Support](#keyboard-support) | ||
@@ -34,3 +36,3 @@ - [When focus is within the text input](#when-focus-is-within-the-text-input) | ||
<label for="my-autocomplete">Select your country</label> | ||
<div data-o-component="o-autocomplete" class="o-autocomplete"> | ||
<span data-o-component="o-autocomplete" class="o-autocomplete"> | ||
<select id="my-autocomplete"> | ||
@@ -41,3 +43,3 @@ <option value="fr">France</option> | ||
</select> | ||
</div> | ||
</span> | ||
``` | ||
@@ -51,5 +53,5 @@ | ||
```html | ||
<div data-o-component="o-autocomplete" class="o-autocomplete"> | ||
<span data-o-component="o-autocomplete" class="o-autocomplete"> | ||
<input id="my-autocomplete" type="text" > | ||
</div> | ||
</span> | ||
``` | ||
@@ -68,3 +70,3 @@ | ||
<span class="o-forms-input o-forms-input--select"> | ||
<div data-o-component="o-autocomplete" class="o-autocomplete"> | ||
<span data-o-component="o-autocomplete" class="o-autocomplete"> | ||
<select id="my-autocomplete"> | ||
@@ -74,3 +76,3 @@ <option value=""></option> | ||
</select> | ||
</div> | ||
</span> | ||
</span> | ||
@@ -77,0 +79,0 @@ </label> |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
113804
282
0
11
22
3187