@creative-web-solution/front-library 7.1.31 → 7.1.33
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/CHANGELOG.md +8 -0
- package/Modules/Autocomplete.ts +2 -2
- package/Modules/DragSlider.ts +3 -0
- package/README.md +1 -1
- package/Types/Autocomplete.d.ts +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
package/Modules/Autocomplete.ts
CHANGED
|
@@ -163,6 +163,8 @@ export default class Autocomplete {
|
|
|
163
163
|
|
|
164
164
|
const wrapperStyle = this.#$layer.style;
|
|
165
165
|
|
|
166
|
+
wrapperStyle.display = 'block';
|
|
167
|
+
|
|
166
168
|
if ( !this.#options.cssPositionning ) {
|
|
167
169
|
parentFieldOffset = offset( this.#$field.parentNode );
|
|
168
170
|
wrapperHeight = height( this.#$layer );
|
|
@@ -179,8 +181,6 @@ export default class Autocomplete {
|
|
|
179
181
|
wrapperStyle.width = `${ outerWidth( this.#$field ) }px`;
|
|
180
182
|
}
|
|
181
183
|
|
|
182
|
-
wrapperStyle.display = 'block';
|
|
183
|
-
|
|
184
184
|
this.#$layer.scrollTop = 0;
|
|
185
185
|
|
|
186
186
|
setTimeout( () => {
|
package/Modules/DragSlider.ts
CHANGED
package/README.md
CHANGED
package/Types/Autocomplete.d.ts
CHANGED
|
@@ -31,7 +31,7 @@ declare namespace FLib {
|
|
|
31
31
|
*/
|
|
32
32
|
updateOnSelect: boolean;
|
|
33
33
|
onSelect: ({ item, query, resultsList }) => void;
|
|
34
|
-
queryParams: ( query: string ) =>
|
|
34
|
+
queryParams: ( query: string ) => Record<string, any>;
|
|
35
35
|
normalize: ( data: any ) => { success: boolean, results: Item[] };
|
|
36
36
|
/**
|
|
37
37
|
* Allow to manipulate the displayed value of items
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@creative-web-solution/front-library",
|
|
3
3
|
"title": "Frontend library",
|
|
4
4
|
"description": "Frontend functions and modules",
|
|
5
|
-
"version": "7.1.
|
|
5
|
+
"version": "7.1.33",
|
|
6
6
|
"homepage": "https://github.com/creative-web-solution/front-library",
|
|
7
7
|
"author": "Creative Web Solution <contact@cws-studio.com> (https://www.cws-studio.com)",
|
|
8
8
|
"keywords": [],
|