sprintify-ui 0.0.46 → 0.0.47
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sprintify-ui.es.js +1467 -1462
- package/dist/types/src/components/BaseAutocomplete.vue.d.ts +1 -0
- package/dist/types/src/components/BaseAutocompleteFetch.vue.d.ts +1 -0
- package/dist/types/src/components/BaseBelongsTo.vue.d.ts +1 -0
- package/package.json +1 -1
- package/src/components/BaseAutocomplete.vue +5 -1
- package/src/components/BaseCard.vue +2 -1
package/package.json
CHANGED
|
@@ -98,6 +98,7 @@
|
|
|
98
98
|
<slot
|
|
99
99
|
:options="filteredNormalizedOptions"
|
|
100
100
|
:keywords="keywords"
|
|
101
|
+
:hide-dropdown="hideDropdown"
|
|
101
102
|
name="footer"
|
|
102
103
|
/>
|
|
103
104
|
</div>
|
|
@@ -367,9 +368,12 @@ const clear = () => {
|
|
|
367
368
|
|
|
368
369
|
const onSelect = (normalizedModelValue: Option | null | undefined) => {
|
|
369
370
|
update(normalizedModelValue);
|
|
370
|
-
inputElement.value?.blur();
|
|
371
371
|
};
|
|
372
372
|
|
|
373
|
+
function hideDropdown() {
|
|
374
|
+
inputElement.value?.blur();
|
|
375
|
+
}
|
|
376
|
+
|
|
373
377
|
const update = (normalizedSelection: Option | null | undefined) => {
|
|
374
378
|
const selection = normalizedSelection ? normalizedSelection.option : null;
|
|
375
379
|
if (normalizedSelection) {
|