@neovici/cosmoz-autocomplete 8.9.1 → 8.9.2
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.
|
@@ -52,19 +52,24 @@ export default css `
|
|
|
52
52
|
slot {
|
|
53
53
|
display: contents !important;
|
|
54
54
|
}
|
|
55
|
-
|
|
56
|
-
@keyframes
|
|
57
|
-
|
|
55
|
+
|
|
56
|
+
@keyframes rotateAnimation {
|
|
57
|
+
from {
|
|
58
|
+
transform: rotate(0deg);
|
|
59
|
+
}
|
|
60
|
+
to {
|
|
58
61
|
transform: rotate(360deg);
|
|
59
62
|
}
|
|
60
63
|
}
|
|
64
|
+
|
|
61
65
|
.spinner {
|
|
62
66
|
border-radius: 50%;
|
|
63
67
|
width: 22px;
|
|
64
68
|
height: 22px;
|
|
65
69
|
border: 2px solid rgba(0, 0, 0, 0.1);
|
|
66
70
|
border-top: 2px solid #5f5a92;
|
|
67
|
-
animation:
|
|
71
|
+
animation: rotateAnimation 1.2s infinite
|
|
72
|
+
cubic-bezier(0.785, 0.135, 0.15, 0.86);
|
|
68
73
|
box-sizing: border-box;
|
|
69
74
|
margin-top: -3px;
|
|
70
75
|
flex: none;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const search: <I>(source: I[], query: string, textual: (i: I) => string) => I[];
|
|
2
2
|
export declare const normalize: <I>(source: I[] | false | null) => I[];
|
|
3
3
|
export declare const notify: <T>(host: EventTarget, name: string, detail: T) => boolean;
|
|
4
|
-
export declare const useNotify: <V>(host: EventTarget, fn: ((v: V) => void)
|
|
4
|
+
export declare const useNotify: <V>(host: EventTarget, fn: undefined | ((v: V) => void), name: string) => (val: V) => void;
|
|
5
5
|
export declare const EMPTY: never[], EMPTY$: Promise<never[]>;
|
|
6
6
|
type Arr = unknown[];
|
|
7
7
|
type ArrFn<T extends Arr> = (...args: T) => void;
|
package/dist/listbox/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ItemRenderer, Opts } from './item-renderer';
|
|
2
2
|
export declare const useRenderItem: <I>({ itemRenderer, ...meta }: Opts<I> & {
|
|
3
|
-
itemRenderer?: ItemRenderer<I
|
|
3
|
+
itemRenderer?: ItemRenderer<I>;
|
|
4
4
|
}) => (item: I, i: number) => import("lit-html").TemplateResult;
|
|
5
5
|
export type { ItemRenderer };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@neovici/cosmoz-autocomplete",
|
|
3
|
-
"version": "8.9.
|
|
3
|
+
"version": "8.9.2",
|
|
4
4
|
"description": "A autocomplete input web component",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lit-html",
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
"dependencies": {
|
|
73
73
|
"@lit-labs/virtualizer": "^2.0.0",
|
|
74
74
|
"@neovici/cosmoz-dropdown": "^4.4.0",
|
|
75
|
-
"@neovici/cosmoz-input": "^5.0.
|
|
75
|
+
"@neovici/cosmoz-input": "^5.0.2",
|
|
76
76
|
"@neovici/cosmoz-utils": "^6.0.0",
|
|
77
77
|
"@pionjs/pion": "^2.0.0",
|
|
78
78
|
"lit-html": "^2.0.0 || ^3.0.0"
|
|
@@ -94,14 +94,16 @@
|
|
|
94
94
|
"@types/node": "^20.12.7",
|
|
95
95
|
"@web/storybook-builder": "^0.1.9",
|
|
96
96
|
"@web/storybook-framework-web-components": "^0.1.1",
|
|
97
|
-
"esbuild": "^0.
|
|
97
|
+
"esbuild": "^0.21.0",
|
|
98
98
|
"http-server": "^14.1.1",
|
|
99
99
|
"husky": "^9.0.0",
|
|
100
100
|
"rollup-plugin-esbuild": "^6.1.1",
|
|
101
101
|
"rollup-plugin-terser": "^7.0.2",
|
|
102
|
-
"semantic-release": "^
|
|
103
|
-
"sinon": "^
|
|
104
|
-
"storybook": "^7.6.17"
|
|
105
|
-
|
|
102
|
+
"semantic-release": "^24.0.0",
|
|
103
|
+
"sinon": "^18.0.0",
|
|
104
|
+
"storybook": "^7.6.17"
|
|
105
|
+
},
|
|
106
|
+
"overrides": {
|
|
107
|
+
"conventional-changelog-conventionalcommits": ">= 8.0.0"
|
|
106
108
|
}
|
|
107
109
|
}
|