@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 rotating {
57
- 100% {
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: rotating 1.2s infinite cubic-bezier(0.785, 0.135, 0.15, 0.86);
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,6 +1,6 @@
1
1
  export declare const useOverflow: <I>({ value, active, wrap, limit, }: {
2
2
  value: I[];
3
- active?: boolean | undefined;
4
- wrap?: boolean | undefined;
5
- limit?: number | undefined;
3
+ active?: boolean;
4
+ wrap?: boolean;
5
+ limit?: number;
6
6
  }) => void;
@@ -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) | undefined, name: string) => (val: 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;
@@ -1,4 +1,4 @@
1
1
  import { Props } from './use-listbox';
2
2
  export declare const listbox: <I>({ multi, ...thru }: Props<I> & {
3
- multi?: boolean | undefined;
3
+ multi?: boolean;
4
4
  }) => import("lit-html").TemplateResult<1>;
@@ -1,7 +1,7 @@
1
1
  declare const style: string;
2
2
  export default style;
3
3
  export declare const styles: ({ index, height, itemHeight, }: {
4
- index?: number | undefined;
4
+ index?: number;
5
5
  height: number;
6
6
  itemHeight: number;
7
7
  }) => string;
@@ -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> | undefined;
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.1",
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.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.20.2",
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": "^23.0.0",
103
- "sinon": "^17.0.0",
104
- "storybook": "^7.6.17",
105
- "typescript": "^5.0.0"
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
  }