@neovici/cosmoz-utils 5.2.0 → 5.5.0

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.
@@ -1 +1 @@
1
- export declare const useImperativeApi: <A, D extends unknown[] = unknown[]>(api: A, values: D[]) => void;
1
+ export declare const useImperativeApi: <A, D = unknown>(api: A, values: D[]) => void;
@@ -1,2 +1,2 @@
1
- declare const notifyProperty: <T extends HTMLElement, K extends Extract<keyof T, string>, V extends T[K]>(host: T, name: K, value: V) => void, useNotifyProperty: <T extends HTMLElement, K extends Extract<keyof T, string>, V extends T[K]>(name: K, value: V) => void;
1
+ declare const notifyProperty: <K extends string, T extends HTMLElement & { [key in K]?: unknown; }>(host: T, name: K, value: T[K]) => void, useNotifyProperty: <T extends HTMLElement, K extends Extract<keyof T, string>, V extends T[K]>(name: K, value: V) => void;
2
2
  export { notifyProperty, useNotifyProperty };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@neovici/cosmoz-utils",
3
- "version": "5.2.0",
3
+ "version": "5.5.0",
4
4
  "description": "Date, money and template management functions commonly needed in Cosmoz views.",
5
5
  "keywords": [
6
6
  "polymer",
@@ -57,6 +57,7 @@
57
57
  "./array": "./dist/array.js",
58
58
  "./promise": "./dist/promise.js",
59
59
  "./tag": "./dist/tag.js",
60
+ "./template": "./dist/template.js",
60
61
  "./reduce": "./dist/reduce/index.js",
61
62
  "./elements": "./dist/elements/index.js",
62
63
  "./elements/*": "./dist/elements/*.js",